emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] is it possible to reuse a capture template expansion?


From: Stig Brautaset
Subject: Re: [O] is it possible to reuse a capture template expansion?
Date: Tue, 04 Oct 2016 21:12:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin)

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> Stig Brautaset <address@hidden> writes:
>
>> 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. 

[...]

> You can use %1, %2... to reuse the first string, the second one...

Thanks! I now managed to get it to work, but had to add more
backslashes: %\1, %\2 etc, not %1, %2. BTW, the manual[1] actually says
%\\n, so adds _too many_ backslashes :-)

[1] http://orgmode.org/manual/Template-expansion.html#Template-expansion 


Stig

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]