emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: capture template target file+datetree+prompt not valid. [7.4]
@ 2011-03-09  9:27 Zhang Zhizhong
  2011-03-09 19:50 ` Nick Dokos
  2011-03-10  9:30 ` Bastien
  0 siblings, 2 replies; 3+ messages in thread
From: Zhang Zhizhong @ 2011-03-09  9:27 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

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

* Re: Bug: capture template target file+datetree+prompt not valid. [7.4]
  2011-03-09  9:27 Bug: capture template target file+datetree+prompt not valid. [7.4] Zhang Zhizhong
@ 2011-03-09 19:50 ` Nick Dokos
  2011-03-10  9:30 ` Bastien
  1 sibling, 0 replies; 3+ messages in thread
From: Nick Dokos @ 2011-03-09 19:50 UTC (permalink / raw)
  To: Zhang Zhizhong; +Cc: nicholas.dokos, emacs-orgmode

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

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

* Re: Bug: capture template target file+datetree+prompt not valid. [7.4]
  2011-03-09  9:27 Bug: capture template target file+datetree+prompt not valid. [7.4] Zhang Zhizhong
  2011-03-09 19:50 ` Nick Dokos
@ 2011-03-10  9:30 ` Bastien
  1 sibling, 0 replies; 3+ messages in thread
From: Bastien @ 2011-03-10  9:30 UTC (permalink / raw)
  To: Zhang Zhizhong; +Cc: emacs-orgmode

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

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

end of thread, other threads:[~2011-03-10  9:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-09  9:27 Bug: capture template target file+datetree+prompt not valid. [7.4] Zhang Zhizhong
2011-03-09 19:50 ` Nick Dokos
2011-03-10  9:30 ` Bastien

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).