[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Allow %<num> escapes to capture templates, expanded to t
From: |
Bastien |
Subject: |
Re: [O] [PATCH] Allow %<num> escapes to capture templates, expanded to text entered in <num>'th prompt |
Date: |
Tue, 24 Apr 2012 14:51:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Toby Cubitt <address@hidden> 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
- [O] [PATCH] Allow %<num> escapes to capture templates, expanded to text entered in <num>'th prompt, Toby Cubitt, 2012/04/22
- Re: [O] [PATCH] Allow %<num> escapes to capture templates, expanded to text entered in <num>'th prompt, Bastien, 2012/04/23
- Re: [O] [PATCH] Allow %<num> escapes to capture templates, expanded to text entered in <num>'th prompt, Toby Cubitt, 2012/04/23
- Re: [O] [PATCH] Allow %<num> escapes to capture templates, expanded to text entered in <num>'th prompt, Bastien, 2012/04/23
- Re: [O] [PATCH] Allow %<num> escapes to capture templates, expanded to text entered in <num>'th prompt, Toby Cubitt, 2012/04/23
- Re: [O] [PATCH] Allow %<num> escapes to capture templates, expanded to text entered in <num>'th prompt, Bastien, 2012/04/23
- Re: [O] [PATCH] Allow %<num> escapes to capture templates, expanded to text entered in <num>'th prompt, Bastien, 2012/04/24
- Re: [O] [PATCH] Allow %<num> escapes to capture templates, expanded to text entered in <num>'th prompt, Toby Cubitt, 2012/04/24
- Re: [O] [PATCH] Allow %<num> escapes to capture templates, expanded to text entered in <num>'th prompt,
Bastien <=
- Re: [O] [PATCH] Allow %<num> escapes to capture templates, expanded to text entered in <num>'th prompt, Toby Cubitt, 2012/04/24