emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-capture: active timestamp in template doesn't seem to work
@ 2010-06-30 18:29 Markus Heller
  2010-06-30 18:45 ` Markus Heller
  2010-07-02  7:08 ` Carsten Dominik
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Heller @ 2010-06-30 18:29 UTC (permalink / raw)
  To: emacs-orgmode

Hello all,

the following 2 templates yield identical results, although the second 
should give date + time according to my understanding.

(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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-capture: active timestamp in template doesn't seem to work
  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
  2010-07-02  7:08 ` Carsten Dominik
  1 sibling, 0 replies; 3+ messages in thread
From: Markus Heller @ 2010-06-30 18:45 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-capture: active timestamp in template doesn't seem to work
  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
@ 2010-07-02  7:08 ` Carsten Dominik
  1 sibling, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2010-07-02  7:08 UTC (permalink / raw)
  To: Markus Heller; +Cc: emacs-orgmode

Fixed, thanks.

- Carsten

On Jun 30, 2010, at 8:29 PM, Markus Heller wrote:

> Hello all,
>
> the following 2 templates yield identical results, although the  
> second should give date + time according to my understanding.
>
> (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
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-02  7:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2010-07-02  7:08 ` Carsten Dominik

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).