Closed sw9 closed 7 years ago
Thanks for the bug report! I can reproduce this on the latest version.
According to bisection, this bug was always there ever since I've introduced window-state-get
and window-state-put
as the new backend. My problem is that inspecting its workings in the debugger appears to undo the bug...
It appears that in Emacs 25.1, the update of the region overlay is implemented as a redisplay function that fetches its previous state from the current window and operates on it. As switching out window configurations the current way (as opposed to the old way which was more "atomic") makes it malfunction, I guess only a workaround will do...
I am using Emacs 25.1. If I have a region active and switch between window configurations, when I switch back, the region is permanently highlighted. The only way to reset the highlighting is to kill the buffer and reopen it. As a work around, I added (deactivate-mark) to the eyebrowse-pre hook, but maybe there should be some update made to the package itself.