emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Erik Hetzner <egh@e6h.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-capture-templates file+datetree+prompt question
Date: Tue, 6 Dec 2011 09:26:03 +0100	[thread overview]
Message-ID: <154F9A3F-34CA-4123-B15A-9B4F416BC221@gmail.com> (raw)
In-Reply-To: <8762hunm6e.wl%egh@e6h.org>

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:
>> 
>> 
>> 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	other threads:[~2011-12-06  8:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-06  6:04 org-capture-templates file+datetree+prompt question Erik Hetzner
2011-12-06  6:05 ` Erik Hetzner
2011-12-06  7:43 ` Carsten Dominik
2011-12-06  8:23   ` Erik Hetzner
2011-12-06  8:26     ` Carsten Dominik [this message]
2011-12-06 16:31       ` Erik Hetzner
2011-12-11 19:45       ` Erik Hetzner
2011-12-11 20:37         ` Carsten Dominik
2011-12-11 23:18         ` Bastien
2011-12-12  0:06           ` Erik Hetzner
2011-12-12  7:05             ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=154F9A3F-34CA-4123-B15A-9B4F416BC221@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=egh@e6h.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).