emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Custom escapes & the evaluation order in fill-template
@ 2012-06-24  0:57 Sebastian Fischmeister
  0 siblings, 0 replies; only message in thread
From: Sebastian Fischmeister @ 2012-06-24  0:57 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Will it break org-mode when changing the order in which templates are filled in
org-capture-fill-template? I want to create custom escapes in as part of the
template:

------------------------------

%(progn (plist-put org-store-link-plist :foo (read-from-minibuffer "foo: "))
"")
** %? doing %:foo
   %(plist-get org-store-link-plist :foo)
** following up on %:foo

-------------------------------

Currently %:foo doesn't work, because fill-template replaces properties before
it evaluates expressions.

Btw. it would be great to support this through a special syntax like

#^{prompt|variable}

which then enables :variable

  Sebastian

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-24  0:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-24  0:57 Custom escapes & the evaluation order in fill-template Sebastian Fischmeister

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