emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-capture-templates file+datetree+prompt question


From: Erik Hetzner
Subject: Re: [O] org-capture-templates file+datetree+prompt question
Date: Tue, 06 Dec 2011 00:23:21 -0800
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Tue, 6 Dec 2011 08:43:34 +0100,
Carsten Dominik wrote:
> 
> 
> On 6.12.2011, at 07:04, Erik Hetzner wrote:
> 
> > Hi all,
> > 
> > I would like to use a capture template to capture calendar entries &
> > file them to a date tree organized calendar.org file.
>
> […]
>
> I tried to reproduce this.  When I do this and enter the date two
> days into the future (8 December), I get
> 
> * 2011
> ** 2011-12 Dezember
> *** 2011-12-08 Donnerstag
> **** Test
>      <2011-12-06 Di>
> 
> 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?
> 
> 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’t figure a template replacement string (%-something) to make
this work.

Thanks for your help!

best, Erik
Sent from my free software system <http://fsf.org/>.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]