bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24169: 25.1.50; Line numbers disappear when horizontally scrolled


From: Eli Zaretskii
Subject: bug#24169: 25.1.50; Line numbers disappear when horizontally scrolled
Date: Sat, 06 Aug 2016 22:13:41 +0300

> From: Noam Postavsky <npostavs@users.sourceforge.net>
> Date: Sat, 6 Aug 2016 14:50:06 -0400
> Cc: ivan <ivan.brennan@gmail.com>, 24169@debbugs.gnu.org
> 
> On Sat, Aug 6, 2016 at 2:09 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > Am I missing something?
> 
> Nope, it was me who was missing something. I thought the problem was
> scrolling away from the character the overlay covered, but now I see
> it's about scrolling away from the character the overlay displays.

The linum-mode overlay has a before-string property, whose string has
a display property that displays in the margin.  So the before-string
itself is not displayed, but it must be a before-string, to avoid
affecting the display of buffer text.  The position where the overlay
is set must be visible for this to work.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]