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

From: "Drew Adams" <[email-masked]>
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?