From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Bug: capture template target file+datetree+prompt not valid. [7.4] Date: Wed, 09 Mar 2011 14:50:19 -0500 Message-ID: <11443.1299700219@alphaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=52323 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxPP6-0006Wk-6a for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 14:50:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxPP4-0008UP-Rh for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 14:50:40 -0500 Received: from vms173005pub.verizon.net ([206.46.173.5]:51111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxPP4-0008UE-ME for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 14:50:38 -0500 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LHT0072H33VBIE0@vms173005.mailsrvcs.net> for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 13:50:27 -0600 (CST) In-reply-to: Message from Zhang Zhizhong of "Wed\, 09 Mar 2011 17\:27\:10 +0800." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Zhang Zhizhong Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Zhang Zhizhong wrote: > I set up my capture template as follows: > (setq org-capture-templates > =C2=A0'(("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". >=20 > Did I miss something? Or did I just found a bug? >=20 > Thank you guys in advance :) >=20 > Emacs =C2=A0: GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.22.1) > =C2=A0of 2011-03-06 on zzz-laptop > Package: Org-mode version 7.4 >=20 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