You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating from 20210108.1841 to 20210715.1416 I've noticed that the default range was switched from whole buffer to display area. But what's worse that after using ahs-change-range to switch to a different range, ahs stops working: whatever was highlighted stays highlighted, even if I move my cursor around.
As far as I can see, ahs-init is only called when the mode is turned on, and ahs-init puts ahs-start-timer in post-command-hook and after-change-functions.
However, ahs-clear is called when disabling the mode or from ahs-change-range, and ahs-clear removes ahs-start-timer from both post-command-hook and after-change-functions.
Maybe ahs-change-range wants to call something other than ahs-clear? I can't immediately see why it needs to call ahs-clear.
dsedivec
added a commit
to dsedivec/dot-emacs-d
that referenced
this issue
Dec 7, 2022
After updating from 20210108.1841 to 20210715.1416 I've noticed that the default range was switched from whole buffer to display area. But what's worse that after using
ahs-change-range
to switch to a different range, ahs stops working: whatever was highlighted stays highlighted, even if I move my cursor around.I've reproduced it with this tiny config:
After typing
C-x C-'
, the highlight stops updating.Using Emacs 27.2 on Linux.
The text was updated successfully, but these errors were encountered: