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

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

bug#37848: Fwd: bug#37848: 27.0.50; hl-line and line-numbers out of sync


From: Andrey Orst
Subject: bug#37848: Fwd: bug#37848: 27.0.50; hl-line and line-numbers out of sync
Date: Mon, 21 Oct 2019 14:43:51 +0300

> 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.

Unfortunately adding these hooks doesn't fix issue:

(add-hook 'pre-redisplay-function #'hl-line-highlight nil t)
(add-hook 'pre-redisplay-function #'hl-line-maybe-unhighlight nil t)
(add-hook 'pre-redisplay-function #'global-hl-line-highlight)
(add-hook 'pre-redisplay-function #'global-hl-line-maybe-unhighlight)

These two functions are used in `hl-line.el'.
I've tried pre-redisplay-functions hook as well with no effect.

-- 
Best regards,
Andrey Orst

reply via email to

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