Hello,
Jean-Christophe Helary writes:
> Sorry to send this question again:
>
>> Are there cases where %\1 ... %\N would be used *outside* of a string
>>in a template?
I don't think so.
Regards,
--
Nicolas Goaziou
Sorry to send this question again:
> Are there cases where %\1 ... %\N would be used *outside* of a string in a
> template?
Jean-Christophe
> On Jun 30, 2017, at 20:04, Jean-Christophe Helary
> wrote:
>
>>
>> On Jun 30, 2017, at 18:47, Nicolas Goaziou
> On Jun 30, 2017, at 18:47, Nicolas Goaziou wrote:
>
> Jean-Christophe Helary writes:
>
>> * TODO %^{prompt} [/]\n** TODO %\1 %^{prompt} %^t\n
>>
>> gives
>>
>> * TODO stuff [/]
Jean-Christophe Helary writes:
> * TODO %^{prompt} [/]\n** TODO %\1 %^{prompt} %^t\n
>
> gives
>
> * TODO stuff [/]
>
> ** TODO %^A stuff
>
> Why is that ?
In a
* TODO %^{prompt} [/]\n** TODO %\1 %^{prompt} %^t\n
gives
* TODO stuff [/]
** TODO %^A stuff
Why is that ?
Jean-Christophe
Ooops, yes, that was totally under my nose :)
Thank you very much.
Jean-Christophe
> On Jun 30, 2017, at 18:18, numbch...@gmail.com wrote:
>
> Check out the docstring of variable `org-capture-templates`.
> There is a doc like this:
> ```
> %\1 ... %\N Insert the text entered at the nth
Check out the docstring of variable `org-capture-templates`.
There is a doc like this:
```
%\1 ... %\N Insert the text entered at the nth %^{prompt}, where N
is a number, starting from 1.
```
Maybe this is what you want?
[stardiviner] GPG key ID: 47C32433