GNU bug report logs - #1169
23.0.60; (substitute-command-keys "\\{...}") adds extra newline

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Tue, 14 Oct 2008 22:55:04 UTC

Severity: minor

Tags: fixed

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #46 received at 1169 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 'Lars Magne Ingebrigtsen' <larsi <at> gnus.org>, 1169 <at> debbugs.gnu.org
Subject: Re: bug#1169: 23.0.60;
	(substitute-command-keys "\\{...}") adds extra newline
Date: Thu, 31 May 2012 00:40:57 +0800
"Drew Adams" <drew.adams <at> oracle.com> writes:

> Huh?  Two newlines is the wrong thing.  It is the point of this bug
> report.
>
> If some other fix is needed than the one that you made, fine.  Just
> DTRT.  Sounds like `help-make-xrefs' needs to be fixed - dunno.

Two newlines does not seem obviously wrong to me.  It is a way of
denoting the end of the key summary, just like the "key" and "binding"
column headers that are also inserted to denote the start.  We could
probably do something fancy like using a text property to mark the
extent of the key summary, but that seems like overengineering, and
anyway it might break third-party code that relies on the old behavior.

Feel free to submit a patch for consideration, if you care a lot about
replacing those two newlines, though.




This bug report was last modified 13 years and 50 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.