emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* is it possible to reuse a capture template expansion?
@ 2016-10-04 15:52 Stig Brautaset
  2016-10-04 17:10 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Stig Brautaset @ 2016-10-04 15:52 UTC (permalink / raw)
  To: emacs-orgmode

 
I've got a capture template where I want to prompt for a string and use
it in two places, but I end up being prompted twice. I want a template
something like the below, and be prompted only once each for Title and
Abstract. Is that possible somehow? Any help appreciated.


: * TODO Write %^{Title} Blog post
: #+begin_html
: ---
: title: %^{Title}
: layout: post
: abstract: %^{Abstract}
: ---
: #+end_html
:
: %^{Abstract}
:
: %?

Stig

-- 
: Stig Brautaset, GNU Emacs 25.1.1, Org-mode version 8.3.6

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

end of thread, other threads:[~2016-10-04 20:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-04 15:52 is it possible to reuse a capture template expansion? Stig Brautaset
2016-10-04 17:10 ` Nicolas Goaziou
2016-10-04 20:12   ` Stig Brautaset

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