Re: [O] Problem with template expansion of previous prompts.

2012-12-23 Thread Bastien
Hi Michael, Michael Baum maab...@gmail.com writes: 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

Re: [O] Problem with template expansion of previous prompts.

2012-12-07 Thread Michael Baum
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

Re: [O] Problem with template expansion of previous prompts.

2012-12-06 Thread Aaron Ecay
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