From: Sebastian Fischmeister <sfischme@uwaterloo.ca>
To: emacs-orgmode@gnu.org
Subject: Custom escapes & the evaluation order in fill-template
Date: Sat, 23 Jun 2012 20:57:11 -0400 [thread overview]
Message-ID: <20120624005711.GA31416@muh> (raw)
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
reply other threads:[~2012-06-24 0:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20120624005711.GA31416@muh \
--to=sfischme@uwaterloo.ca \
--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).