emacs-orgmode
[Top][All Lists]
Advanced

[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: Toby Cubitt
Subject: Re: [O] [PATCH] Allow %<num> escapes to capture templates, expanded to text entered in <num>'th prompt
Date: Tue, 24 Apr 2012 13:05:58 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

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.

Toby
-- 
Dr T. S. Cubitt
Mathematics and Quantum Information group
Department of Mathematics
Complutense University
Madrid, Spain

email: address@hidden
web:   www.dr-qubit.org



reply via email to

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