From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhang Zhizhong Subject: Bug: capture template target file+datetree+prompt not valid. [7.4] Date: Wed, 9 Mar 2011 17:27:10 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e64612105e6e89049e095569 Return-path: Received: from [140.186.70.92] (port=34733 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxFfm-0000jb-Am for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 04:27:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxFfk-0002Cf-Iw for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 04:27:14 -0500 Received: from mail-iw0-f169.google.com ([209.85.214.169]:50088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxFfk-0002CV-Fo for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 04:27:12 -0500 Received: by iwl42 with SMTP id 42so450850iwl.0 for ; Wed, 09 Mar 2011 01:27:11 -0800 (PST) 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: emacs-orgmode@gnu.org --0016e64612105e6e89049e095569 Content-Type: text/plain; charset=ISO-8859-1 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 --0016e64612105e6e89049e095569 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I set up my capture temp= late as follows:
(setq org-capture-templates
=A0'(("t&q= uot; "Todo" entry (file+headline "~/repo/org/refile.org" "Task")
&qu= ot;* TODO %?\n %i%T\n %i%U\n %a\n" :clock-in t :clock-resume t)
<= div> (&quo= t;n" "Note" entry (file "~/repo/org/refile.org")
&qu= ot;* %?\n %U\n %a\n :CLOCK:\n :END:" :clock-in t :clock-resume t)
(&q= uot;r" "Routine" entry (file+datetree+prompt "~/repo/or= g/x.org")
&qu= ot;* Content ommited")
))
and I expect it prompt out an in= box for me to select date after I recall
org-capture and choose "r". But it turns out "file+date= tree+prompt" is
not a valid value for target. Emacs simple r= eturns an error message:
"Invalid time specification".<= /div>

Did I miss something? Or did I just found a bug?
<= div>
Thank you guys in advance :)

Em= acs =A0: GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.22.1)
=A0of 2011-03-06 on zzz-laptop
Package: Org-mode version 7.4
--
Best Regards,<= /font>
Zhang Zhizhong
<= div> Department of Computer Science
Sun Yat-sen University
--0016e64612105e6e89049e095569--