emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-capture-template suspicious behaviour of expansion elements
@ 2012-09-11 14:37 Myles English
  2012-09-22  9:08 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Myles English @ 2012-09-11 14:37 UTC (permalink / raw)
  To: Emacs-orgmode


Hi,

Using the git repo, I am fairly sure that one of my capture templates
stopped working sometime in the last few weeks, no so much as to warrant
a bug report but thought I would point it out as it may be unintended or
part of a bigger picture:

#+begin_src elisp
(setq org-capture-templates (quote (
          ("t" "  - test" entry
          (file "test.org") "* %? \n%^t%U"))))
#+end_src elisp
                                  \n%^t %U
                                       ^
                that space is important now, otherwise the %^t is not
                                       expanded.

Myles

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

* Re: org-capture-template suspicious behaviour of expansion elements
  2012-09-11 14:37 org-capture-template suspicious behaviour of expansion elements Myles English
@ 2012-09-22  9:08 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-09-22  9:08 UTC (permalink / raw)
  To: Myles English; +Cc: Emacs-orgmode

Hi Myles,

"Myles English" <mylesenglish@gmail.com> writes:

> Using the git repo, I am fairly sure that one of my capture templates
> stopped working sometime in the last few weeks, no so much as to warrant
> a bug report but thought I would point it out as it may be unintended or
> part of a bigger picture:
>
> #+begin_src elisp
> (setq org-capture-templates (quote (
>           ("t" "  - test" entry
>           (file "test.org") "* %? \n%^t%U"))))
> #+end_src elisp
>                                   \n%^t %U
>                                        ^
>                 that space is important now, otherwise the %^t is not
>                                        expanded.

This is now fixed, thanks.

-- 
 Bastien

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

end of thread, other threads:[~2012-09-22  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11 14:37 org-capture-template suspicious behaviour of expansion elements Myles English
2012-09-22  9:08 ` Bastien

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