GNU bug report logs -
#24169
25.1.50; Line numbers disappear when horizontally scrolled
Previous Next
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
Message #11 received at 24169 <at> debbugs.gnu.org (full text, mbox):
On Sat, Aug 6, 2016 at 1:47 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> 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.
Wouldn't it be simpler to put the overlay over the whole line, so it
doesn't need to be moved?
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.