emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Zhang Zhizhong <i@zzzcn.info>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Bug: capture template target file+datetree+prompt not valid. [7.4]
Date: Wed, 09 Mar 2011 14:50:19 -0500	[thread overview]
Message-ID: <11443.1299700219@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Zhang Zhizhong <i@zzzcn.info> of "Wed\, 09 Mar 2011 17\:27\:10 +0800." <AANLkTikAH5F9TsPyvXWeJr7uTQSenrgWACncf0DyOfAA@mail.gmail.com>

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

  reply	other threads:[~2011-03-09 19:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=11443.1299700219@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=i@zzzcn.info \
    /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).