GNU bug report logs - #31717
26.1; display-line-numbers-mode enlarges indicator without need

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita <at> gmail.com>

Date: Tue, 5 Jun 2018 02:36:01 UTC

Severity: normal

Tags: notabug

Found in version 26.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


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

From: Carlos Pita <carlosjosepita <at> gmail.com>
To: 31717 <at> debbugs.gnu.org
Date: Mon, 4 Jun 2018 23:54:44 -0300
Also, when the mode is visual or relative this is happening too.

In these cases, given that I assume you are assuming <= 69 is a safe
guess, it will be *always* safe to limit the indicator width to that
required by the current line.

So this would be an easy optimization: in visual and relative modes
never anticipate an additional digit.




This bug report was last modified 5 years and 235 days ago.

Previous Next


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