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-- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: capture template target file+datetree+prompt not valid. [7.4] Date: Thu, 10 Mar 2011 10:30:01 +0100 Message-ID: <87zkp3fhly.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=55781 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxcCM-0002j6-6D for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 04:30:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxcCL-0007ld-0w for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 04:30:21 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:60013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxcCK-0007lO-Sp for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 04:30:20 -0500 Received: by wyf19 with SMTP id 19so1495145wyf.0 for ; Thu, 10 Mar 2011 01:30:20 -0800 (PST) In-Reply-To: (Zhang Zhizhong's message of "Wed, 9 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: emacs-orgmode@gnu.org Hi Zhang, Zhang Zhizhong 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