emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Zhang Zhizhong <i@zzzcn.info>
To: emacs-orgmode@gnu.org
Subject: Bug: capture template target file+datetree+prompt not valid. [7.4]
Date: Wed, 9 Mar 2011 17:27:10 +0800	[thread overview]
Message-ID: <AANLkTikAH5F9TsPyvXWeJr7uTQSenrgWACncf0DyOfAA@mail.gmail.com> (raw)

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

             reply	other threads:[~2011-03-09  9:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09  9:27 Zhang Zhizhong [this message]
2011-03-09 19:50 ` Bug: capture template target file+datetree+prompt not valid. [7.4] Nick Dokos
2011-03-10  9:30 ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikAH5F9TsPyvXWeJr7uTQSenrgWACncf0DyOfAA@mail.gmail.com \
    --to=i@zzzcn.info \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).