GNU bug report logs - #37848
27.0.50; hl-line and line-numbers out of sync

Previous Next

Package: emacs;

Reported by: Andrey Orst <andreyorst <at> gmail.com>

Date: Mon, 21 Oct 2019 08:29:02 UTC

Severity: normal

Found in version 27.0.50

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrey Orst <andreyorst <at> gmail.com>
Cc: 37848 <at> debbugs.gnu.org
Subject: Re: bug#37848: 27.0.50; hl-line and line-numbers out of sync
Date: Mon, 21 Oct 2019 13:49:43 +0300
> From: Andrey Orst <andreyorst <at> gmail.com>
> Date: Mon, 21 Oct 2019 13:24:11 +0300
> Cc: 37848 <at> debbugs.gnu.org
> 
> > The line-number display has nothing to do with this, it works
> > correctly in this case.
> 
> It may work correctly, but I the issue is with the fact that line
> number and hl-line are out of sync.

More accurately, hl-line's overlay is out of sync with the window-point.

> Can I prevent this?

It's a bug in hl-line that needs to be fixed.

The display engine runs pre-redisplay-function for the window in this
case, so perhaps hl-line could install its hook there and fix its
overlay when it is called.

Patches are welcome.




This bug report was last modified 5 years and 241 days ago.

Previous Next


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