From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Hetzner Subject: Re: org-capture-templates file+datetree+prompt question Date: Tue, 06 Dec 2011 00:23:21 -0800 Message-ID: <8762hunm6e.wl%egh@e6h.org> References: <87d3c2nslq.wl%egh@e6h.org> <1109C5C3-535E-4F5E-AE11-76B3B9AD1FF2@gmail.com> Reply-To: Erik Hetzner Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Tue_Dec__6_00:23:20_2011-1" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXqJC-0007Qy-Tc for emacs-orgmode@gnu.org; Tue, 06 Dec 2011 03:23:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXqJB-0002R9-Jl for emacs-orgmode@gnu.org; Tue, 06 Dec 2011 03:23:26 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:65038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXqJB-0002Qj-Ag for emacs-orgmode@gnu.org; Tue, 06 Dec 2011 03:23:25 -0500 Received: by iapp10 with SMTP id p10so8214431iap.0 for ; Tue, 06 Dec 2011 00:23:24 -0800 (PST) In-Reply-To: <1109C5C3-535E-4F5E-AE11-76B3B9AD1FF2@gmail.com> 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: emacs-orgmode --Multipart_Tue_Dec__6_00:23:20_2011-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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. > > [=E2=80=A6] > > 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? Hi Carsten, 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: * 2011 ** 2011-12 December *** 2011-12-08 Thursday **** Test <2011-12-08 Thursday> the idea being that I am entering a scheduled event. I can=E2=80=99t figure a template replacement string (%-something) to make this work. Thanks for your help! best, Erik --Multipart_Tue_Dec__6_00:23:20_2011-1 Content-Type: text/plain; charset=US-ASCII Sent from my free software system . --Multipart_Tue_Dec__6_00:23:20_2011-1--