GNU bug report logs - #24169
25.1.50; Line numbers disappear when horizontally scrolled

Previous Next

Package: emacs;

Reported by: ivan <ivan.brennan <at> gmail.com>

Date: Sat, 6 Aug 2016 17:00:02 UTC

Severity: minor

Tags: wontfix

Found in version 25.1.50

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: Eli Zaretskii <eliz <at> gnu.org>
To: ivan <ivan.brennan <at> gmail.com>
Cc: 24169 <at> debbugs.gnu.org
Subject: bug#24169: 25.1.50; Line numbers disappear when horizontally scrolled
Date: Sat, 06 Aug 2016 20:47:57 +0300
> From: ivan <ivan.brennan <at> gmail.com>
> Date: Sat, 6 Aug 2016 12:02:09 -0400
> 
> Using linum-mode displays line numbers to the left of the left fringe. I would expect them to remain visible
> regardless of any horizontal scrolling, since that's how the left fringe behaves (not to mention numerous other
> editors and applications). However, when using line-truncation, the line numbers disappear when the text is
> horizontally scrolled. I think this is worth fixing, because it would be more useful and look better (the dead
> space takes up screen real-estate and makes me sad).

It's a bug in the design of linum-mode: it puts the overlay that
displays the line numbers on the first character of each line.  So
when that first character is not displayed, the overlay is not shown
either.

A possible fix would be to move the overlay to the first visible
character after the horizontal scroll.  Patches welcome.

Thanks.




This bug report was last modified 3 years and 175 days ago.

Previous Next


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