GNU bug report logs - #25208
24.5; man output uses wrong width

Previous Next

Package: emacs;

Reported by: Olaf Dietsche <olaf--mail.bug-gnu-emacs <at> olafdietsche.de>

Date: Thu, 15 Dec 2016 16:26:02 UTC

Severity: minor

Found in version 24.5

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Olaf Dietsche <olaf--mail.bug-gnu-emacs <at> olafdietsche.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 25208 <at> debbugs.gnu.org
Subject: Re: bug#25208: 24.5; man output uses wrong width
Date: Thu, 15 Dec 2016 22:31:30 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Olaf Dietsche <olaf--mail.bug-gnu-emacs <at> olafdietsche.de>
>> Cc: 25208 <at> debbugs.gnu.org
>> Date: Thu, 15 Dec 2016 18:20:39 +0100
>> 
>> > This is the intended behavior.  What would you like to see instead?
>> 
>> Sorry for the incomplete bug report. I would expect to see the man
>> page's lines properly wrapped in the target window, so I can read it
>> without the need for scrolling horizontally.
>
> I think if you set truncate-partial-width-windows to nil, you will
> have what you want.

Setting truncate-partial-width-windows to nil (and truncate-lines to t)
doesn't change the observed behaviour.

This is not a general problem with line truncation. In this case it
isn't Emacs doing the formatting, but the external program `man`. Emacs
does so by setting the COLUMNS environment variable before calling man.

Man will then format according to the given width, which is the width of
the current window before being split in half.

> But Mark says this was fixed, so maybe I don't understand the issue
> well enough.

Whatever might have been fixed more than two years ago (#17831), it
doesn't show up in my Emacs (24.5.1, Ubuntu 16.04).




This bug report was last modified 8 years and 154 days ago.

Previous Next


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