Toby Cubitt <ts...@cantab.net> writes:

> On Tue, Apr 24, 2012 at 11:57:02AM +0200, Bastien wrote:
>> I've pushed a change to this new feature: 
>> http://orgmode.org/w/?p=org-mode.git;a=commit;h=1666b9
>> 
>> Using %n is not good, because it will match many escaped 
>> strings that you don't want to match.  Using %\n looks
>> good to me as it resonates with \1 in replace-regexp.
>> 
>> Toby, let me know if you agree with this change.
>
> I'm fine with it. But I don't understand, what other escapes will it
> match? None of the other % escapes documented in org-capture-templates
> start with a digit, they all start with a letter or punctuation.

It is not the escapes from the capture template itself, but at the time
the capture buffer is prepared, links go to `org-make-link-string' which
calls `org-link-escape' which might in turn insert "%20" strings.

-- 
 Bastien

Reply via email to