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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Carlos Pita <carlosjosepita <at> gmail.com>
Cc: rms <at> gnu.org, 32337 <at> debbugs.gnu.org
Subject: Re: bug#32337: 26.1; display-line-numbers-mode makes cursor
 ill-aligned when number face is changed
Date: Sat, 04 Aug 2018 09:29:36 +0300
> From: Carlos Pita <carlosjosepita <at> gmail.com>
> Date: Fri, 3 Aug 2018 20:14:29 -0300
> Cc: rms <at> gnu.org, 32337 <at> debbugs.gnu.org
> 
> Eli, it ocurred to me that the line-number indicator could be extended all the way down to the bottom of the
> window so it doesn't look weird when empty, since one of your objections was about having that hanging
> empty last line indicator. What do you think about that option?

That looked weird (a.k.a. "bug-like") in my experiments, when the face
defines colors.  Moreover, currently we draw nothing at all beyond
EOB, we just clear the rest of the window.  So this would need special
tricky code that will complicate the display engine, something I'd
like to avoid.

> Btw, people in reddit seems to mostly prefer ~ as the ASCII char since it's the vim empty line indicator.

Fine with me ('$' might be confusing anyway, because it's the default
for the left truncation glyph on TTY frames).




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.