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

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

bug#36283: 27.0.50; hl-line-mode updates the wrong window after clone-in


From: Noam Postavsky
Subject: bug#36283: 27.0.50; hl-line-mode updates the wrong window after clone-indirect-buffer
Date: Thu, 04 Jul 2019 17:16:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt)

found 36283 24.5
tags 36283 + confirmed
severity 36283 minor
quit

Matthew Newton <address@hidden> writes:

> In GUI Emacs on MacOS:
>
> emacs -Q
> M-x hl-line-mode
> C-p
> M-x clone-indirect-buffer
> C-p
>
> The highlighted line moves in the inactive window and does not move in the 
> active window.
>
> I tested this on Emacs 24.5 from https://emacsformacosx.com/ so it doesn’t 
> appear to be recent or specific to my build.
>
> Note that if global-hl-line-mode is active, it works as expected, 
> highlighting the line in the active window. 

I guess hl-line-mode needs to add an entry to clone-indirect-buffer-hook
(and clone-buffer-hook; clone-buffer seems to have the same problem)
to handle copying of hl-line-overlay.






reply via email to

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