emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* can't get org-mode/remember integration working right
@ 2008-04-11 21:20 Daniel Goldin
  2008-04-11 22:23 ` Bernt Hansen
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel Goldin @ 2008-04-11 21:20 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 922 bytes --]

I'm running org 5.23a, on emacs 22.0.90.1 -- Ubuntu 7.04

Here is the relevant code I use to enable org/remember integration.

(setq org-directory "~/orgfiles/")
(setq org-default-notes-file "~/.notes")
(setq remember-annotation-functions '(org-remember-annotation))
(setq remember-handler-functions '(org-remember-handler))
(add-hook 'remember-mode-hook 'org-remember-apply-template)
(setq org-remember-store-without-prompt t)

When I run M-x remember, I get an org buffer that looks right and lets
me add notes.
But when I run c-c C-c, I get a prompt asking me where to save file,
instead of just going
to me org-default file. If I put into the prompt "~/notes," the file
saves but when I run remember again,
the same prompt comes up in the mini-buffer asking where I want to
save the file, and If plug in "/notes," I
I am forced to overwright what I previously saved in that file.

Any help gratefully appreciated.

d.

[-- Attachment #1.2: Type: text/html, Size: 1112 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: can't get org-mode/remember integration working right
  2008-04-11 21:20 can't get org-mode/remember integration working right Daniel Goldin
@ 2008-04-11 22:23 ` Bernt Hansen
  2008-04-11 22:59   ` Daniel Goldin
  0 siblings, 1 reply; 10+ messages in thread
From: Bernt Hansen @ 2008-04-11 22:23 UTC (permalink / raw)
  To: emacs-orgmode

"Daniel Goldin" <danielgoldin@gmail.com> writes:

> I'm running org 5.23a, on emacs 22.0.90.1 -- Ubuntu 7.04
>
> Here is the relevant code I use to enable org/remember integration.
>
> (setq org-directory "~/orgfiles/")
>
> (setq org-default-notes-file "~/.notes")
> (setq remember-annotation-functions '(org-remember-annotation))
> (setq remember-handler-functions '(org-remember-handler))
> (add-hook 'remember-mode-hook 'org-remember-apply-template)
>
> (setq org-remember-store-without-prompt t)
>
> When I run M-x remember, I get an org buffer that looks right and lets
> me add notes.  But when I run c-c C-c, I get a prompt asking me where
> to save file, instead of just going
>
> to me org-default file. If I put into the prompt "~/notes," the file
> saves but when I run remember again, the same prompt comes up in the
> mini-buffer asking where I want to save the file, and If plug in
> "/notes," I
>
> I am forced to overwright what I previously saved in that file.
>
> Any help gratefully appreciated.

Try M-x org-remember instead of M-x remember

-Bernt

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Re: can't get org-mode/remember integration working right
  2008-04-11 22:23 ` Bernt Hansen
@ 2008-04-11 22:59   ` Daniel Goldin
  2008-04-12  3:46     ` Shelagh Manton
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel Goldin @ 2008-04-11 22:59 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1505 bytes --]

Yes, I've tried org-remember: same results.

d.

On Fri, Apr 11, 2008 at 3:23 PM, Bernt Hansen <bernt@norang.ca> wrote:

> "Daniel Goldin" <danielgoldin@gmail.com> writes:
>
> > I'm running org 5.23a, on emacs 22.0.90.1 -- Ubuntu 7.04
> >
> > Here is the relevant code I use to enable org/remember integration.
> >
> > (setq org-directory "~/orgfiles/")
> >
> > (setq org-default-notes-file "~/.notes")
> > (setq remember-annotation-functions '(org-remember-annotation))
> > (setq remember-handler-functions '(org-remember-handler))
> > (add-hook 'remember-mode-hook 'org-remember-apply-template)
> >
> > (setq org-remember-store-without-prompt t)
> >
> > When I run M-x remember, I get an org buffer that looks right and lets
> > me add notes.  But when I run c-c C-c, I get a prompt asking me where
> > to save file, instead of just going
> >
> > to me org-default file. If I put into the prompt "~/notes," the file
> > saves but when I run remember again, the same prompt comes up in the
> > mini-buffer asking where I want to save the file, and If plug in
> > "/notes," I
> >
> > I am forced to overwright what I previously saved in that file.
> >
> > Any help gratefully appreciated.
>
> Try M-x org-remember instead of M-x remember
>
> -Bernt
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>



-- 
Daniel Goldin
626-795-9526

[-- Attachment #1.2: Type: text/html, Size: 2273 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: can't get org-mode/remember integration working right
  2008-04-11 22:59   ` Daniel Goldin
@ 2008-04-12  3:46     ` Shelagh Manton
  2008-04-12  4:44       ` Daniel Goldin
  0 siblings, 1 reply; 10+ messages in thread
From: Shelagh Manton @ 2008-04-12  3:46 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, 11 Apr 2008 15:59:22 -0700
"Daniel Goldin" <danielgoldin@gmail.com> wrote:

> Yes, I've tried org-remember: same results.
> 
> d.

I wonder if you have templates set up?

Something like the following?

(setq org-remember-templates
           '((?t "** TODO %?\n  %u" "~/.org/planner.org" "Tasks")
             (?j "* %u %?" "~/.org/notes.org" "Notes")
	     (?f "** TODO %?\n %u" "~/.org/planner.org" "Financial")
	     (?c "** TODO %?\n %u" "~/.org/planner.org" "Computer")
	     (?h "** TODO %?\n %u" "~/.org/planner.org" "Household")
	     (?b "** TODO %?\n %u" "~/.org/planner.org" "Bowen")
	     (?o "*** TODO %?\n %u" "~/.org/planner.org" "Job")))

Shelagh
> 
> On Fri, Apr 11, 2008 at 3:23 PM, Bernt Hansen <bernt@norang.ca> wrote:
> 
> > "Daniel Goldin" <danielgoldin@gmail.com> writes:
> >
> > > I'm running org 5.23a, on emacs 22.0.90.1 -- Ubuntu 7.04
> > >
> > > Here is the relevant code I use to enable org/remember
> > > integration.
> > >
> > > (setq org-directory "~/orgfiles/")
> > >
> > > (setq org-default-notes-file "~/.notes")
> > > (setq remember-annotation-functions '(org-remember-annotation))
> > > (setq remember-handler-functions '(org-remember-handler))
> > > (add-hook 'remember-mode-hook 'org-remember-apply-template)
> > >
> > > (setq org-remember-store-without-prompt t)
> > >
> > > When I run M-x remember, I get an org buffer that looks right and
> > > lets me add notes.  But when I run c-c C-c, I get a prompt asking
> > > me where to save file, instead of just going
> > >
> > > to me org-default file. If I put into the prompt "~/notes," the
> > > file saves but when I run remember again, the same prompt comes
> > > up in the mini-buffer asking where I want to save the file, and
> > > If plug in "/notes," I
> > >
> > > I am forced to overwright what I previously saved in that file.
> > >
> > > Any help gratefully appreciated.
> >
> > Try M-x org-remember instead of M-x remember
> >
> > -Bernt
> >
> >
> >
> > _______________________________________________
> > Emacs-orgmode mailing list
> > Remember: use `Reply All' to send replies to the list.
> > Emacs-orgmode@gnu.org
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> >
> 
> 
> 


-- 

----------------------------------------------------------------
Jabber: shelagh.manton@gmail.com
----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Re: can't get org-mode/remember integration working right
  2008-04-12  3:46     ` Shelagh Manton
@ 2008-04-12  4:44       ` Daniel Goldin
  2008-04-12  4:49         ` Shelagh Manton
  2008-04-12  4:55         ` Carsten Dominik
  0 siblings, 2 replies; 10+ messages in thread
From: Daniel Goldin @ 2008-04-12  4:44 UTC (permalink / raw)
  To: Shelagh Manton; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 3206 bytes --]

I'm afraid so. I have the following in my defaul init file.

(setq org-remember-templates
      '(("Todo" ?t "* TODO %?\n  %i\n  %a" "~/orgfiles/NotesTodo.org"
"Tasks")
        ("Journal" ?j "* %U %?\n\n  %i\n  %a" "~/orgfiles/NotesJournal.org")
        ("Idea" ?i "* %^{Title}\n  %i\n  %a" "~/orgfiles/NotesIdeas.org"
"New Ideas")))

d.

On Fri, Apr 11, 2008 at 8:46 PM, Shelagh Manton <shelagh.manton@gmail.com>
wrote:

> On Fri, 11 Apr 2008 15:59:22 -0700
> "Daniel Goldin" <danielgoldin@gmail.com> wrote:
>
> > Yes, I've tried org-remember: same results.
> >
> > d.
>
> I wonder if you have templates set up?
>
> Something like the following?
>
> (setq org-remember-templates
>           '((?t "** TODO %?\n  %u" "~/.org/planner.org" "Tasks")
>             (?j "* %u %?" "~/.org/notes.org" "Notes")
>             (?f "** TODO %?\n %u" "~/.org/planner.org" "Financial")
>             (?c "** TODO %?\n %u" "~/.org/planner.org" "Computer")
>             (?h "** TODO %?\n %u" "~/.org/planner.org" "Household")
>             (?b "** TODO %?\n %u" "~/.org/planner.org" "Bowen")
>             (?o "*** TODO %?\n %u" "~/.org/planner.org" "Job")))
>
> Shelagh
> >
> > On Fri, Apr 11, 2008 at 3:23 PM, Bernt Hansen <bernt@norang.ca> wrote:
> >
> > > "Daniel Goldin" <danielgoldin@gmail.com> writes:
> > >
> > > > I'm running org 5.23a, on emacs 22.0.90.1 -- Ubuntu 7.04
> > > >
> > > > Here is the relevant code I use to enable org/remember
> > > > integration.
> > > >
> > > > (setq org-directory "~/orgfiles/")
> > > >
> > > > (setq org-default-notes-file "~/.notes")
> > > > (setq remember-annotation-functions '(org-remember-annotation))
> > > > (setq remember-handler-functions '(org-remember-handler))
> > > > (add-hook 'remember-mode-hook 'org-remember-apply-template)
> > > >
> > > > (setq org-remember-store-without-prompt t)
> > > >
> > > > When I run M-x remember, I get an org buffer that looks right and
> > > > lets me add notes.  But when I run c-c C-c, I get a prompt asking
> > > > me where to save file, instead of just going
> > > >
> > > > to me org-default file. If I put into the prompt "~/notes," the
> > > > file saves but when I run remember again, the same prompt comes
> > > > up in the mini-buffer asking where I want to save the file, and
> > > > If plug in "/notes," I
> > > >
> > > > I am forced to overwright what I previously saved in that file.
> > > >
> > > > Any help gratefully appreciated.
> > >
> > > Try M-x org-remember instead of M-x remember
> > >
> > > -Bernt
> > >
> > >
> > >
> > > _______________________________________________
> > > Emacs-orgmode mailing list
> > > Remember: use `Reply All' to send replies to the list.
> > > Emacs-orgmode@gnu.org
> > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> > >
> >
> >
> >
>
>
> --
>
> ----------------------------------------------------------------
> Jabber: shelagh.manton@gmail.com
> ----------------------------------------------------------------
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>



-- 
Daniel Goldin
626-795-9526

[-- Attachment #1.2: Type: text/html, Size: 5736 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: can't get org-mode/remember integration working right
  2008-04-12  4:44       ` Daniel Goldin
@ 2008-04-12  4:49         ` Shelagh Manton
  2008-04-12  4:55         ` Carsten Dominik
  1 sibling, 0 replies; 10+ messages in thread
From: Shelagh Manton @ 2008-04-12  4:49 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, 11 Apr 2008 21:44:37 -0700
"Daniel Goldin" <danielgoldin@gmail.com> wrote:

> I'm afraid so. I have the following in my defaul init file.
> 
> (setq org-remember-templates
>       '(("Todo" ?t "* TODO %?\n  %i\n  %a" "~/orgfiles/NotesTodo.org"
> "Tasks")
>         ("Journal" ?j "* %U %?\n\n  %i\n  %a"
> "~/orgfiles/NotesJournal.org") ("Idea" ?i "* %^{Title}\n  %i\n  %a"
> "~/orgfiles/NotesIdeas.org" "New Ideas")))
> 

Ah well, I leave it in the hands of folk more knowledgeable than me.

Shelagh

> > _______________________________________________
> > Emacs-orgmode mailing list
> > Remember: use `Reply All' to send replies to the list.
> > Emacs-orgmode@gnu.org
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> >
> 
> 
> 


-- 

----------------------------------------------------------------
Jabber: shelagh.manton@gmail.com
----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Re: can't get org-mode/remember integration working right
  2008-04-12  4:44       ` Daniel Goldin
  2008-04-12  4:49         ` Shelagh Manton
@ 2008-04-12  4:55         ` Carsten Dominik
  2008-04-12  7:59           ` Daniel Goldin
  1 sibling, 1 reply; 10+ messages in thread
From: Carsten Dominik @ 2008-04-12  4:55 UTC (permalink / raw)
  To: Daniel Goldin; +Cc: emacs-orgmode, Shelagh Manton


[-- Attachment #1.1: Type: text/plain, Size: 3740 bytes --]


On Apr 12, 2008, at 6:44 AM, Daniel Goldin wrote:

> I'm afraid so. I have the following in my defaul init file.
>
> (setq org-remember-templates
>       '(("Todo" ?t "* TODO %?\n  %i\n  %a" "~/orgfiles/ 
> NotesTodo.org" "Tasks")
>         ("Journal" ?j "* %U %?\n\n  %i\n  %a" "~/orgfiles/ 
> NotesJournal.org")
>         ("Idea" ?i "* %^{Title}\n  %i\n  %a" "~/orgfiles/ 
> NotesIdeas.org" "New Ideas")))
>
> d.

Which means that you have not listed your complete setup in your first  
mail.

Can you please make a minimal case, with minimal but complete setup?
Because I tried and could not reproduce your problem.

- Carsten

>
>
> On Fri, Apr 11, 2008 at 8:46 PM, Shelagh Manton <shelagh.manton@gmail.com 
> > wrote:
> On Fri, 11 Apr 2008 15:59:22 -0700
> "Daniel Goldin" <danielgoldin@gmail.com> wrote:
>
> > Yes, I've tried org-remember: same results.
> >
> > d.
>
> I wonder if you have templates set up?
>
> Something like the following?
>
> (setq org-remember-templates
>           '((?t "** TODO %?\n  %u" "~/.org/planner.org" "Tasks")
>             (?j "* %u %?" "~/.org/notes.org" "Notes")
>             (?f "** TODO %?\n %u" "~/.org/planner.org" "Financial")
>             (?c "** TODO %?\n %u" "~/.org/planner.org" "Computer")
>             (?h "** TODO %?\n %u" "~/.org/planner.org" "Household")
>             (?b "** TODO %?\n %u" "~/.org/planner.org" "Bowen")
>             (?o "*** TODO %?\n %u" "~/.org/planner.org" "Job")))
>
> Shelagh
> >
> > On Fri, Apr 11, 2008 at 3:23 PM, Bernt Hansen <bernt@norang.ca>  
> wrote:
> >
> > > "Daniel Goldin" <danielgoldin@gmail.com> writes:
> > >
> > > > I'm running org 5.23a, on emacs 22.0.90.1 -- Ubuntu 7.04
> > > >
> > > > Here is the relevant code I use to enable org/remember
> > > > integration.
> > > >
> > > > (setq org-directory "~/orgfiles/")
> > > >
> > > > (setq org-default-notes-file "~/.notes")
> > > > (setq remember-annotation-functions '(org-remember-annotation))
> > > > (setq remember-handler-functions '(org-remember-handler))
> > > > (add-hook 'remember-mode-hook 'org-remember-apply-template)
> > > >
> > > > (setq org-remember-store-without-prompt t)
> > > >
> > > > When I run M-x remember, I get an org buffer that looks right  
> and
> > > > lets me add notes.  But when I run c-c C-c, I get a prompt  
> asking
> > > > me where to save file, instead of just going
> > > >
> > > > to me org-default file. If I put into the prompt "~/notes," the
> > > > file saves but when I run remember again, the same prompt comes
> > > > up in the mini-buffer asking where I want to save the file, and
> > > > If plug in "/notes," I
> > > >
> > > > I am forced to overwright what I previously saved in that file.
> > > >
> > > > Any help gratefully appreciated.
> > >
> > > Try M-x org-remember instead of M-x remember
> > >
> > > -Bernt
> > >
> > >
> > >
> > > _______________________________________________
> > > Emacs-orgmode mailing list
> > > Remember: use `Reply All' to send replies to the list.
> > > Emacs-orgmode@gnu.org
> > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> > >
> >
> >
> >
>
>
> --
>
> ----------------------------------------------------------------
> Jabber: shelagh.manton@gmail.com
> ----------------------------------------------------------------
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>
> -- 
> Daniel Goldin
> 626-795-9526 _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[-- Attachment #1.2: Type: text/html, Size: 5885 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Re: can't get org-mode/remember integration working right
  2008-04-12  4:55         ` Carsten Dominik
@ 2008-04-12  7:59           ` Daniel Goldin
  2008-04-12 13:30             ` Bernt Hansen
  2008-04-12 13:40             ` Carsten Dominik
  0 siblings, 2 replies; 10+ messages in thread
From: Daniel Goldin @ 2008-04-12  7:59 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode, Shelagh Manton


[-- Attachment #1.1: Type: text/plain, Size: 5753 bytes --]

These are all the configs I have for org and remember. Your help is greatly
appreciated.

d.

(require 'org)
(require 'remember)

(setq org-directory "~/orgfiles/")
(setq org-default-notes-file "~/.notes")
(setq org-return-follows-link t)
(setq org-agenda-ndays 31)
(setq org-agenda-show-all-dates t)
(setq org-reverse-note-order t)
(setq org-fontify-done-headline t)
(setq org-log-done t)
(setq org-deadline-warning-days 14)
(setq org-agenda-skip-deadline-if-done t)
(setq org-agenda-skip-scheduled-if-done t)

(setq remember-annotation-functions '(org-remember-annotation))
(setq remember-handler-functions '(org-remember-handler))
(add-hook 'remember-mode-hook 'org-remember-apply-template)
(setq org-remember-store-without-prompt t)

(setq org-remember-templates
      '(("Todo" ?t "* TODO %?\n  %i\n  %a" "~/orgfiles/NotesTodo.org"
"Tasks")
        ("Journal" ?j "* %U %?\n\n  %i\n  %a" "~/orgfiles/NotesJournal.org")
        ("Idea" ?i "* %^{Title}\n  %i\n  %a" "~/orgfiles/NotesIdeas.org"
"New Ideas")))

(setq org-agenda-files
      (list "~/orgfiles/gtd.org"
        "~/orgfiles/work.org"
        "~/orgfiles/general.org"
        "~/orgfiles/main.org"
        "~/orgfiles/bhs.org"
        "~/orgfiles/career.org"
        "~/orgfiles/personal.org"
        "~/orgfiles/AddictionPaper.org"
        "~/orgfiles/PsychCareer.org"
        "~/orgfiles/WritingCareer.org"
        "~/orgfiles/WritingIdeas.org"
        "~/orgfiles/repeat.org"
        "~/orgfiles/PsychIdeas.org"
))

(require 'org-annotate-file)
;;
;; To change the location of the annotation file:
;;
(setq org-annotate-file-storage-file "~/annotated.org")

(setq org-annotate-file-add-search t)

(setq org-todo-keywords '("TODO" "NEXT" "WAITING" "DONE"))


On Fri, Apr 11, 2008 at 9:55 PM, Carsten Dominik <dominik@science.uva.nl>
wrote:

>
> On Apr 12, 2008, at 6:44 AM, Daniel Goldin wrote:
>
> I'm afraid so. I have the following in my defaul init file.
>
> (setq org-remember-templates
>       '(("Todo" ?t "* TODO %?\n  %i\n  %a" "~/orgfiles/NotesTodo.org"
> "Tasks")
>         ("Journal" ?j "* %U %?\n\n  %i\n  %a"
> "~/orgfiles/NotesJournal.org")
>         ("Idea" ?i "* %^{Title}\n  %i\n  %a" "~/orgfiles/NotesIdeas.org"
> "New Ideas")))
>
> d.
>
>
> Which means that you have not listed your complete setup in your first
> mail.
>
> Can you please make a minimal case, with minimal but complete setup?
> Because I tried and could not reproduce your problem.
>
> - Carsten
>
>
>
> On Fri, Apr 11, 2008 at 8:46 PM, Shelagh Manton <shelagh.manton@gmail.com>
> wrote:
>
> > On Fri, 11 Apr 2008 15:59:22 -0700
> > "Daniel Goldin" <danielgoldin@gmail.com> wrote:
> >
> > > Yes, I've tried org-remember: same results.
> > >
> > > d.
> >
> > I wonder if you have templates set up?
> >
> > Something like the following?
> >
> > (setq org-remember-templates
> >           '((?t "** TODO %?\n  %u" "~/.org/planner.org" "Tasks")
> >             (?j "* %u %?" "~/.org/notes.org" "Notes")
> >             (?f "** TODO %?\n %u" "~/.org/planner.org" "Financial")
> >             (?c "** TODO %?\n %u" "~/.org/planner.org" "Computer")
> >             (?h "** TODO %?\n %u" "~/.org/planner.org" "Household")
> >             (?b "** TODO %?\n %u" "~/.org/planner.org" "Bowen")
> >             (?o "*** TODO %?\n %u" "~/.org/planner.org" "Job")))
> >
> > Shelagh
> > >
> > > On Fri, Apr 11, 2008 at 3:23 PM, Bernt Hansen <bernt@norang.ca> wrote:
> > >
> > > > "Daniel Goldin" <danielgoldin@gmail.com> writes:
> > > >
> > > > > I'm running org 5.23a, on emacs 22.0.90.1 -- Ubuntu 7.04
> > > > >
> > > > > Here is the relevant code I use to enable org/remember
> > > > > integration.
> > > > >
> > > > > (setq org-directory "~/orgfiles/")
> > > > >
> > > > > (setq org-default-notes-file "~/.notes")
> > > > > (setq remember-annotation-functions '(org-remember-annotation))
> > > > > (setq remember-handler-functions '(org-remember-handler))
> > > > > (add-hook 'remember-mode-hook 'org-remember-apply-template)
> > > > >
> > > > > (setq org-remember-store-without-prompt t)
> > > > >
> > > > > When I run M-x remember, I get an org buffer that looks right and
> > > > > lets me add notes.  But when I run c-c C-c, I get a prompt asking
> > > > > me where to save file, instead of just going
> > > > >
> > > > > to me org-default file. If I put into the prompt "~/notes," the
> > > > > file saves but when I run remember again, the same prompt comes
> > > > > up in the mini-buffer asking where I want to save the file, and
> > > > > If plug in "/notes," I
> > > > >
> > > > > I am forced to overwright what I previously saved in that file.
> > > > >
> > > > > Any help gratefully appreciated.
> > > >
> > > > Try M-x org-remember instead of M-x remember
> > > >
> > > > -Bernt
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Emacs-orgmode mailing list
> > > > Remember: use `Reply All' to send replies to the list.
> > > > Emacs-orgmode@gnu.org
> > > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> > > >
> > >
> > >
> > >
> >
> >
> > --
> >
> > ----------------------------------------------------------------
> > Jabber: shelagh.manton@gmail.com
> > ----------------------------------------------------------------
> >
> >
> >
> > _______________________________________________
> > Emacs-orgmode mailing list
> > Remember: use `Reply All' to send replies to the list.
> > Emacs-orgmode@gnu.org
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> >
>
>
>
> --
> Daniel Goldin
> 626-795-9526 _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>


-- 
Daniel Goldin
626-795-9526

[-- Attachment #1.2: Type: text/html, Size: 10162 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: can't get org-mode/remember integration working right
  2008-04-12  7:59           ` Daniel Goldin
@ 2008-04-12 13:30             ` Bernt Hansen
  2008-04-12 13:40             ` Carsten Dominik
  1 sibling, 0 replies; 10+ messages in thread
From: Bernt Hansen @ 2008-04-12 13:30 UTC (permalink / raw)
  To: Daniel Goldin; +Cc: Shelagh Manton, emacs-orgmode

"Daniel Goldin" <danielgoldin@gmail.com> writes:

> These are all the configs I have for org and remember. Your help is greatly
> appreciated.
>
> d.
>
> (require 'org)
> (require 'remember)

I think you need to

  (require 'org-install)

if Org is not part of your X/Emacs distribution.

Maybe that will help.

-Bernt

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Re: can't get org-mode/remember integration working right
  2008-04-12  7:59           ` Daniel Goldin
  2008-04-12 13:30             ` Bernt Hansen
@ 2008-04-12 13:40             ` Carsten Dominik
  1 sibling, 0 replies; 10+ messages in thread
From: Carsten Dominik @ 2008-04-12 13:40 UTC (permalink / raw)
  To: Daniel Goldin; +Cc: emacs-orgmode, Shelagh Manton


[-- Attachment #1.1: Type: text/plain, Size: 6888 bytes --]

More questions:

- What is the exact prompt that is asking you "where to save" the  
"file"?
   We need to find out who is prompting you.

- Which template did you selected when you get this problem?
   Because all 3 templates point to some org file, but you are talking  
about ~/.notes

- Are you sure that org-remember-store-without-prompt is t?  Check it  
in the running
   Emacs.

- Your default notes file, does it open in org-mode?  That is required  
for all
   targets of the r-g - remember process.  If you need to call  
it .notes,
   add a line like

      - *- mode:org -*-

   as the first line in the file.

- If you want to make org-remember-store-without-prompt work truely  
without any
   prompt, than you need to specify file *and* Headline with the  
corresponding
   varaiables.  In the templates, I see that you have no headline for  
Journal entries,
   so you can expect to be prompted for the location in the file where  
you would like
   to put the note.

Carsten

On Apr 12, 2008, at 9:59 AM, Daniel Goldin wrote:

> These are all the configs I have for org and remember. Your help is  
> greatly appreciated.
>
> d.
>
> (require 'org)
> (require 'remember)
>
> (setq org-directory "~/orgfiles/")
> (setq org-default-notes-file "~/.notes")
> (setq org-return-follows-link t)
> (setq org-agenda-ndays 31)
> (setq org-agenda-show-all-dates t)
> (setq org-reverse-note-order t)
> (setq org-fontify-done-headline t)
> (setq org-log-done t)
> (setq org-deadline-warning-days 14)
> (setq org-agenda-skip-deadline-if-done t)
> (setq org-agenda-skip-scheduled-if-done t)
>
> (setq remember-annotation-functions '(org-remember-annotation))
> (setq remember-handler-functions '(org-remember-handler))
> (add-hook 'remember-mode-hook 'org-remember-apply-template)
> (setq org-remember-store-without-prompt t)
>
> (setq org-remember-templates
>       '(("Todo" ?t "* TODO %?\n  %i\n  %a" "~/orgfiles/ 
> NotesTodo.org" "Tasks")
>         ("Journal" ?j "* %U %?\n\n  %i\n  %a" "~/orgfiles/ 
> NotesJournal.org")
>         ("Idea" ?i "* %^{Title}\n  %i\n  %a" "~/orgfiles/ 
> NotesIdeas.org" "New Ideas")))
>
> (setq org-agenda-files
>       (list "~/orgfiles/gtd.org"
>         "~/orgfiles/work.org"
>         "~/orgfiles/general.org"
>         "~/orgfiles/main.org"
>         "~/orgfiles/bhs.org"
>         "~/orgfiles/career.org"
>         "~/orgfiles/personal.org"
>         "~/orgfiles/AddictionPaper.org"
>         "~/orgfiles/PsychCareer.org"
>         "~/orgfiles/WritingCareer.org"
>         "~/orgfiles/WritingIdeas.org"
>         "~/orgfiles/repeat.org"
>         "~/orgfiles/PsychIdeas.org"
> ))
>
> (require 'org-annotate-file)
> ;;
> ;; To change the location of the annotation file:
> ;;
> (setq org-annotate-file-storage-file "~/annotated.org")
>
> (setq org-annotate-file-add-search t)
>
> (setq org-todo-keywords '("TODO" "NEXT" "WAITING" "DONE"))
>
>
> On Fri, Apr 11, 2008 at 9:55 PM, Carsten Dominik <dominik@science.uva.nl 
> > wrote:
>
> On Apr 12, 2008, at 6:44 AM, Daniel Goldin wrote:
>> I'm afraid so. I have the following in my defaul init file.
>>
>> (setq org-remember-templates
>>       '(("Todo" ?t "* TODO %?\n  %i\n  %a" "~/orgfiles/ 
>> NotesTodo.org" "Tasks")
>>         ("Journal" ?j "* %U %?\n\n  %i\n  %a" "~/orgfiles/ 
>> NotesJournal.org")
>>         ("Idea" ?i "* %^{Title}\n  %i\n  %a" "~/orgfiles/ 
>> NotesIdeas.org" "New Ideas")))
>>
>> d.
>
> Which means that you have not listed your complete setup in your  
> first mail.
>
> Can you please make a minimal case, with minimal but complete setup?
> Because I tried and could not reproduce your problem.
>
> - Carsten
>
>>
>>
>> On Fri, Apr 11, 2008 at 8:46 PM, Shelagh Manton <shelagh.manton@gmail.com 
>> > wrote:
>> On Fri, 11 Apr 2008 15:59:22 -0700
>> "Daniel Goldin" <danielgoldin@gmail.com> wrote:
>>
>> > Yes, I've tried org-remember: same results.
>> >
>> > d.
>>
>> I wonder if you have templates set up?
>>
>> Something like the following?
>>
>> (setq org-remember-templates
>>           '((?t "** TODO %?\n  %u" "~/.org/planner.org" "Tasks")
>>             (?j "* %u %?" "~/.org/notes.org" "Notes")
>>             (?f "** TODO %?\n %u" "~/.org/planner.org" "Financial")
>>             (?c "** TODO %?\n %u" "~/.org/planner.org" "Computer")
>>             (?h "** TODO %?\n %u" "~/.org/planner.org" "Household")
>>             (?b "** TODO %?\n %u" "~/.org/planner.org" "Bowen")
>>             (?o "*** TODO %?\n %u" "~/.org/planner.org" "Job")))
>>
>> Shelagh
>> >
>> > On Fri, Apr 11, 2008 at 3:23 PM, Bernt Hansen <bernt@norang.ca>  
>> wrote:
>> >
>> > > "Daniel Goldin" <danielgoldin@gmail.com> writes:
>> > >
>> > > > I'm running org 5.23a, on emacs 22.0.90.1 -- Ubuntu 7.04
>> > > >
>> > > > Here is the relevant code I use to enable org/remember
>> > > > integration.
>> > > >
>> > > > (setq org-directory "~/orgfiles/")
>> > > >
>> > > > (setq org-default-notes-file "~/.notes")
>> > > > (setq remember-annotation-functions '(org-remember-annotation))
>> > > > (setq remember-handler-functions '(org-remember-handler))
>> > > > (add-hook 'remember-mode-hook 'org-remember-apply-template)
>> > > >
>> > > > (setq org-remember-store-without-prompt t)
>> > > >
>> > > > When I run M-x remember, I get an org buffer that looks right  
>> and
>> > > > lets me add notes.  But when I run c-c C-c, I get a prompt  
>> asking
>> > > > me where to save file, instead of just going
>> > > >
>> > > > to me org-default file. If I put into the prompt "~/notes," the
>> > > > file saves but when I run remember again, the same prompt comes
>> > > > up in the mini-buffer asking where I want to save the file, and
>> > > > If plug in "/notes," I
>> > > >
>> > > > I am forced to overwright what I previously saved in that file.
>> > > >
>> > > > Any help gratefully appreciated.
>> > >
>> > > Try M-x org-remember instead of M-x remember
>> > >
>> > > -Bernt
>> > >
>> > >
>> > >
>> > > _______________________________________________
>> > > Emacs-orgmode mailing list
>> > > Remember: use `Reply All' to send replies to the list.
>> > > Emacs-orgmode@gnu.org
>> > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>> > >
>> >
>> >
>> >
>>
>>
>> --
>>
>> ----------------------------------------------------------------
>> Jabber: shelagh.manton@gmail.com
>> ----------------------------------------------------------------
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>>
>> -- 
>> Daniel Goldin
>> 626-795-9526 _______________________________________________
>>
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>
>
> -- 
> Daniel Goldin
> 626-795-9526


[-- Attachment #1.2: Type: text/html, Size: 10684 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-04-12 13:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-11 21:20 can't get org-mode/remember integration working right Daniel Goldin
2008-04-11 22:23 ` Bernt Hansen
2008-04-11 22:59   ` Daniel Goldin
2008-04-12  3:46     ` Shelagh Manton
2008-04-12  4:44       ` Daniel Goldin
2008-04-12  4:49         ` Shelagh Manton
2008-04-12  4:55         ` Carsten Dominik
2008-04-12  7:59           ` Daniel Goldin
2008-04-12 13:30             ` Bernt Hansen
2008-04-12 13:40             ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).