emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Markus Heller <hellerm2@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-capture: active timestamp in template doesn't seem to work
Date: Wed, 30 Jun 2010 11:45:25 -0700	[thread overview]
Message-ID: <i0g3c6$l88$1@dough.gmane.org> (raw)
In-Reply-To: <i0g2f0$i3q$1@dough.gmane.org>

On 6/30/2010 11:29 AM, Markus Heller wrote:
> Hello all,
>
> the following 2 templates yield identical results, although the second
> should give date + time according to my understanding.

Of course, I need to correct myself:  the *first* template (using %^T) 
should give date + time, not the second.

> (setq org-capture-templates
> '(("m" "Meeting" entry (file "h:/org/refile.org")
> "* Subject: %^{Subject} \t\t\t:MEETING:\n :PROPERTIES:\n :Created: %U\n
> :END:\n When: %^{When}T\n%?"
> ;; the above template has %^T which should give date + time
> ;; but it only yields the date
> :clock-in t :clock-resume t)
> ("n" "Meeting" entry (file "h:/org/refile.org")
> "* Subject: %^{Subject} \t\t\t:MEETING:\n :PROPERTIES:\n :Created: %U\n
> :END:\n When: %^{When}t\n%?"
> :clock-in t :clock-resume t)))
>
> Any idea as to why? Or is this a bug?
>
> Thanks
> Markus

  reply	other threads:[~2010-06-30 18:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-30 18:29 org-capture: active timestamp in template doesn't seem to work Markus Heller
2010-06-30 18:45 ` Markus Heller [this message]
2010-07-02  7:08 ` Carsten Dominik

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='i0g3c6$l88$1@dough.gmane.org' \
    --to=hellerm2@gmail.com \
    --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).