From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-capture-templates file+datetree+prompt question Date: Tue, 6 Dec 2011 09:26:03 +0100 Message-ID: <154F9A3F-34CA-4123-B15A-9B4F416BC221@gmail.com> References: <87d3c2nslq.wl%egh@e6h.org> <1109C5C3-535E-4F5E-AE11-76B3B9AD1FF2@gmail.com> <8762hunm6e.wl%egh@e6h.org> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXqLp-00081M-3Y for emacs-orgmode@gnu.org; Tue, 06 Dec 2011 03:26:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXqLn-00030D-Vu for emacs-orgmode@gnu.org; Tue, 06 Dec 2011 03:26:09 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:60729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXqLn-000303-Jz for emacs-orgmode@gnu.org; Tue, 06 Dec 2011 03:26:07 -0500 Received: by eaah1 with SMTP id h1so5717544eaa.0 for ; Tue, 06 Dec 2011 00:26:06 -0800 (PST) In-Reply-To: <8762hunm6e.wl%egh@e6h.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Erik Hetzner Cc: emacs-orgmode Hi Erik, if yout get the latest git version, this is how it is working now. I agree that it is more consistent this way. - Carsten On 6.12.2011, at 09:23, Erik Hetzner wrote: > At Tue, 6 Dec 2011 08:43:34 +0100, > Carsten Dominik wrote: >>=20 >>=20 >> On 6.12.2011, at 07:04, Erik Hetzner wrote: >>=20 >>> Hi all, >>>=20 >>> I would like to use a capture template to capture calendar entries & >>> file them to a date tree organized calendar.org file. >>=20 >> [=85] >>=20 >> I tried to reproduce this. When I do this and enter the date two >> days into the future (8 December), I get >>=20 >> * 2011 >> ** 2011-12 Dezember >> *** 2011-12-08 Donnerstag >> **** Test >> <2011-12-06 Di> >>=20 >> So the headline uses in fact the date that was entered at the prompt, >> only the %t is replaced by the current date. I would think this >> all works as expected. Maybe I am missing something? >>=20 >> I see that when I do "k c" from the agenda, then indeed also the %t >> is replaced with the cursor date. So indeed, this is a bit >> inconsistent. What would be the right behavior? >=20 > Hi Carsten, >=20 > Maybe it does work as expected (although it should probably be > consistent, as you say). What I am looking for is some way to get the > date I was prompted for to use in the timestamp, so I get: >=20 > * 2011 > ** 2011-12 December > *** 2011-12-08 Thursday > **** Test > <2011-12-08 Thursday> >=20 > the idea being that I am entering a scheduled event. >=20 > I can=92t figure a template replacement string (%-something) to make > this work. >=20 > Thanks for your help! >=20 > best, Erik > Sent from my free software system .