GNU bug report logs - #32337
26.1; display-line-numbers-mode makes cursor ill-aligned when number face is changed

Previous Next

Package: emacs;

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

Date: Tue, 31 Jul 2018 19:20:02 UTC

Severity: minor

Found in version 26.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Carlos Pita <carlosjosepita <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rms <at> gnu.org, 32337 <at> debbugs.gnu.org
Subject: bug#32337: 26.1; display-line-numbers-mode makes cursor ill-aligned when number face is changed
Date: Tue, 25 Sep 2018 16:40:43 -0300
> Isn't it possible to use the smaller font just
> for the beginning of the line, as it is for the lines above EOB?

I mean, you're already computing the width as if the numbers would go
down up to the bottom of the window and then filling them with spaces
instead of numbers when below EOB, it seems to me that treating
below-EOB lines the same way than above-EOB ones (in the sense of
limiting the display number face only to the first columns of the
buffer) isn't that removed from the current algorithm, although from a
cursory look I recognize I'm no quite following the code.




This bug report was last modified 6 years and 126 days ago.

Previous Next


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