GNU bug report logs - #34476
fluffy whitespace in the mode-line, despite it running off the screen

Previous Next

Packages: emacs, gnus;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Thu, 14 Feb 2019 13:53:01 UTC

Severity: wishlist

Tags: fixed

Found in version 5.13

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: contovob <at> tcd.ie, Eli Zaretskii <eliz <at> gnu.org>, 34476 <at> debbugs.gnu.org
Subject: bug#34476: fluffy whitespace in the mode-line, despite it running off the screen
Date: Wed, 30 Dec 2020 03:36:30 +0100
martin rudalics <rudalics <at> gmx.at> writes:

>> The function display_mode_line doesn't produce the updated mode-line
>> contents for the selected window, it produces it for the window passed
>> as its first argument W.  So instead of this:
>>
>> 	  && window_body_width (XWINDOW (selected_window), false) >=
>>
>> I think you should use this:
>>
>> 	  && window_body_width (w, false) >=
>
> Better
>
>           && WINDOW_TOTAL_COLS (w) >=
>
> because the mode line covers the entire width of the window (think of
> those people using extra large margins).

Good point; I've now made both these adjustments.

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




This bug report was last modified 4 years and 140 days ago.

Previous Next


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