bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1169: 23.0.60; (substitute-command-keys "\\{...}") adds extra newlin


From: Drew Adams
Subject: bug#1169: 23.0.60; (substitute-command-keys "\\{...}") adds extra newline
Date: Wed, 30 May 2012 13:21:39 -0700

> > The `}' character "denotes the end", perfectly.
> 
> Which '}' character?

Which double-newline?

There is a lot less (zero?) ambiguity in finding the `}' that corresponds to a
given `\{' than there is to trying to parse the _resulting_, substituted text
for \n\n to determine the end of the text that was substituted for `}'.  Try
(substiture-command-keys "\\{global-map}") and see how many \n\n there are.

Why rely on the content of the _resulting_ string, after substitution? 






reply via email to

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