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


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 1169 <at> debbugs.gnu.org
Subject: bug#1169: 23.0.60; (substitute-command-keys "\\{...}") adds extra newline
Date: Thu, 07 Jul 2011 19:32:56 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

>> I'd rather get rid of the ^L characters, though.
>> Do they have any purpose any more?
>
> No, no, no.
> Yes, of course they serve a purpose - more than one purpose.
> See `(emacs) Pages', to start with.

I know what they do, but is there any point in actually inserting
something as visually distracting as ^L into the buffer people are
looking at?

If one, for instance, just made the ^L invisible, it'd look nicer, and
there would be minimal code change.

A better solution would probably to get rid of it altogether and instead
insert a `form-feed' text property that the `C-x [' (and friends)
command would use instead.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




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.