emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] open at category bug?


From: Carsten Dominik
Subject: Re: [Orgmode] open at category bug?
Date: Thu, 20 Mar 2008 10:57:50 +0100

If your files are in non-default locations, how is org-mode supposed to find "todo.org" etc? I guess it would be better fo give absolute file paths in org-remember- templates.

Your trick of bringing up the agenda only woks by chance, if you are luck to be
in the right directory with Emacs.

- Carsten

On Mar 19, 2008, at 4:24 PM, Richard G Riley wrote:


Version 5.23a

When I try to open at a certain category

C-u C-M-r (prefix org-remember)

then I get

,----
| Select template: [t] [n] [f] [l] [d] [e] [v] [R] [b] [s] [w] [r] [j] [L] [x]
| org-go-to-remember-target: Target headline not found: Emacs
`----

the first time IF I havent brought up the agenda first - my files are in non default locations. If I bring up the agenda first then there are no
problems.

,----
|  (setq org-agenda-files (quote ("~/.emacs.d/.org-files")))
|  (setq org-default-notes-file "~/.emacs.d/.org-files/notes.org")

*snip*

|
|  (setq org-remember-templates
|    (quote (
|          (?t "* TODO %?\n  %u\n %i\n %a\n" "todo.org" "Tasks")
|            (?n "* %U %?" "notes.org" "Notes")
|            (?f "* %U %^{Title}\n %i\n %a\n" "todo.org" "FaceBook")
|            (?l "* %U %^{Title}\n %i\n %a\n" "todo.org" "Linux")
|            (?d "* %U %^{Title}\n %i\n %a\n" "todo.org" "Debian")
|            (?e "* %U %^{Title}\n %i\n %a\n" "todo.org" "Emacs")
|            (?v "* %U %^{Title}\n %i\n %a\n" "vocab.org" "Vocab")
| (?R "* %U %^{Title}\n %i\n %a\n" "register.org" "Register")
|            (?b "* %U %^{Title}\n %i\n %a\n" "blog.org" "Blog")
|            (?w "* %U %^{Title}\n %i\n %a\n" "webs.org" "Webs")
|            (?r "* %U %^{Title}\n %i\n %a\n" "todo.org" "Remember")
|          (?j "* %U %^{Title}\n %i\n %a\n" "todo.org" "Journal")
|          (?L "* %U %^{Title}\n %i\n %a\n" "todo.org" "Links")
|          (?x "* %^{Title}\n %i\n %a\n" "todo.org" "Links")
|          )
|         )
|    )
|
| (add-hook 'remember-mode-hook 'org-remember-apply-template)
|  (define-key global-map [(control meta ?r)] 'org-remember)
`----






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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]