[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Custom escapes & the evaluation order in fill-template
From: |
Sebastian Fischmeister |
Subject: |
[O] Custom escapes & the evaluation order in fill-template |
Date: |
Sat, 23 Jun 2012 20:57:11 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] Custom escapes & the evaluation order in fill-template,
Sebastian Fischmeister <=