GNU bug report logs - #2588
23.0.90; Man buffer improperly formatted - wrong width

Previous Next

Package: emacs;

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

Date: Sat, 7 Mar 2009 00:30:02 UTC

Severity: normal

Merged with 9084, 17831

Found in version 24.0.50

Fixed in version 24.4.50

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: "'Eli Zaretskii'" <eliz <at> gnu.org>, <2588 <at> debbugs.gnu.org>
Subject: bug#2588: 23.0.90; Man buffer improperly formatted - wrong width
Date: Sun, 08 Mar 2009 15:06:02 -0400
"Drew Adams" <drew.adams <at> oracle.com> writes:

> Please do not set COLUMNS to any value that is designed for frames -
> that includes `default-frame-alist'. COLUMNS is about buffer text
> formatting, not about frame sizing.
>
> The formatting width for the `Man' buffer, like that of for the *Help*
> buffer or the *Apropos* buffer or others, should have *nothing to do*
> with the width of any window or frame parameter - existing or default.

The `man' facility is different from apropos or help---the text is
generated by an external formatter, not by Emacs.  If COLUMNS is
omitted, the formatter output is too long for the frame width, on at
least one (Debian) system.

Setting COLUMNS to the frame width does the right thing most of the
time, and covers more cases than a hardcoded value.  It's true that it
can fail for the pop-up-frames case, and we can work around that by
using default-frame-alist.  Certainly, it's always possible to come up
with a special setup that makes this heuristic fail.  But if you're
setup is so special, just set Man-width and be done with it.




This bug report was last modified 11 years and 19 days ago.

Previous Next


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