Yes, you're correct, Aaron, thanks. Apparently the secondary substitutions only get processed after all the questions are asked and the template is written out to the temp buffer. So the backslash has to be escaped to survive the first round of substitutions.
I kind of feel that this should be stated more explicitly in the manual. IN BOLD TYPE. maabaum On Thu, Dec 6, 2012 at 6:34 PM, Aaron Ecay <aarone...@gmail.com> wrote: > You need to escape the backslash inside the string, I think. "\1" is > interpreted as a string consisting of one character, the ASCII character > with hex code 0x01, which happens to be C-a. "\\1" is a 2-character > string: backslash, then one. > > -- > Aaron Ecay > -- ==================================== Michael Baum <maab...@gmail.com> You should never have your best trousers on when you go out to fight for freedom and truth. - Ibsen