GNU bug report logs - #64851
30.0.50; mode-line right align and vertical scroll-bars

Previous Next

Package: emacs;

Reported by: German Pacenza <germanp82 <at> hotmail.com>

Date: Tue, 25 Jul 2023 11:12:02 UTC

Severity: normal

Tags: notabug

Found in version 30.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: German Pacenza <germanp82 <at> hotmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Hugo Heagren <hugo <at> heagren.com>, 64851 <at> debbugs.gnu.org
Subject: Re: bug#64851: 30.0.50; mode-line right align and vertical scroll-bars
Date: Tue, 25 Jul 2023 12:16:21 -0300
Eli Zaretskii <eliz <at> gnu.org> writes:

> Personally, I think the only reasonable response to this report is
> "Don't do that".  The value of mode-line-position accounts only for 4
> digits in the line number (it uses min-width 5.0, with one character
> taken up by the leading "L"), and that is insufficient for buffers
> larger that 9999 lines.  So if this is what you want, i.e. you want
> mode-line-position to be the last part of the mode line, you need to
> redefine mode-line-position to support more digits in the line number.

Replacing mode-line-position with "%o   L%l" does the trick.
Thanks.

-- 
German Pacenza




This bug report was last modified 1 year and 267 days ago.

Previous Next


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