[-- Attachment #1: Type: text/plain, Size: 941 bytes --] I set up my capture template as follows: (setq org-capture-templates '(("t" "Todo" entry (file+headline "~/repo/org/refile.org" "Task") "* TODO %?\n %i%T\n %i%U\n %a\n" :clock-in t :clock-resume t) ("n" "Note" entry (file "~/repo/org/refile.org") "* %?\n %U\n %a\n :CLOCK:\n :END:" :clock-in t :clock-resume t) ("r" "Routine" entry (file+datetree+prompt "~/repo/org/x.org") "* Content ommited") )) and I expect it prompt out an inbox for me to select date after I recall org-capture and choose "r". But it turns out "file+datetree+prompt" is not a valid value for target. Emacs simple returns an error message: "Invalid time specification". Did I miss something? Or did I just found a bug? Thank you guys in advance :) Emacs : GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.22.1) of 2011-03-06 on zzz-laptop Package: Org-mode version 7.4 -- Best Regards, Zhang Zhizhong Department of Computer Science Sun Yat-sen University [-- Attachment #2: Type: text/html, Size: 2113 bytes --]
Zhang Zhizhong <i@zzzcn.info> wrote:
> I set up my capture template as follows:
> (setq org-capture-templates
> '(("t" "Todo" entry (file+headline "~/repo/org/refile.org" "Task")
> "* TODO %?\n %i%T\n %i%U\n %a\n" :clock-in t :clock-resume t)
> ("n" "Note" entry (file "~/repo/org/refile.org")
> "* %?\n %U\n %a\n :CLOCK:\n :END:" :clock-in t :clock-resume t)
> ("r" "Routine" entry (file+datetree+prompt "~/repo/org/x.org")
> "* Content ommited")
> ))
> and I expect it prompt out an inbox for me to select date after I recall
> org-capture and choose "r". But it turns out "file+datetree+prompt" is
> not a valid value for target. Emacs simple returns an error message:
> "Invalid time specification".
>
> Did I miss something? Or did I just found a bug?
>
> Thank you guys in advance :)
>
> Emacs : GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.22.1)
> of 2011-03-06 on zzz-laptop
> Package: Org-mode version 7.4
>
Works fine for me.
Org-mode version 7.5 (release_7.5.7.g4090.dirty)
GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2010-11-17 on alphaville
Nick
Hi Zhang, Zhang Zhizhong <i@zzzcn.info> writes: > Did I miss something? Or did I just found a bug? Please send a backtrace, it will help understand the error you have: http://orgmode.org/manual/Feedback.html Thanks! -- Bastien