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
(Note: the workaround below has already been added to the Rigpa Emacs config in the README. It will be removed once we have a fix.)
As a result of a recent change in Symex, entering View mode or Window mode momentarily (to e.g. adjust the zoom level) and then returning to Symex mode loses the symex keybindings. The bindings are restored upon re-entering Symex state once again.
(Scroll to the bottom for a workaround)
Explanation
This happens because the fix in the symex package involved adding a hook to disable the editing minor mode in case rigpa isn't present, to ensure that the bindings are disabled upon exiting symex state. This behavior conflicts with Rigpa's handling of the same functionality. They ordinarily should not interfere since symex defers to Rigpa's handling if it knows rigpa is installed.
But at the moment, Rigpa (via init.el configuration) loads after symex (I don't recall exactly why at the moment), so at the time Symex loads on emacs init, rigpa isn't available and the hook to disable the minor mode within Symex gets initialized, causing it to interfere with Rigpa later on.
Workaround
The workaround for now is to evaluate this expression sometime after Emacs loads:
understand why Rigpa disables minor modes on the entry hooks to other states rather than on the exit hook of the concerned state (I think there was a reason, but it would be nice if we could do it on the latter, since that's cleaner and it's what Symex does now)
avoid dependence of these packages on one another at load time. Or at least, have Symex load after Rigpa
Ideally make the behavior here compatible across the two packages whether the other package is installed or not
Worst case, explicitly disable third-party (i.e. Symex) hooks in Rigpa that may interfere with its functionality
The text was updated successfully, but these errors were encountered:
This streamlines these actions so they're taken at the appropriate
points in the mode transition lifecycle. Currently, some of these are
no longer functioning correctly (e.g. keybindings no longer active in
Symex state, #9), but we'll hopefully restore their functioning in a
proper way as we go.
(Note: the workaround below has already been added to the Rigpa Emacs config in the README. It will be removed once we have a fix.)
As a result of a recent change in Symex, entering View mode or Window mode momentarily (to e.g. adjust the zoom level) and then returning to Symex mode loses the symex keybindings. The bindings are restored upon re-entering Symex state once again.
(Scroll to the bottom for a workaround)
Explanation
This happens because the fix in the symex package involved adding a hook to disable the editing minor mode in case rigpa isn't present, to ensure that the bindings are disabled upon exiting symex state. This behavior conflicts with Rigpa's handling of the same functionality. They ordinarily should not interfere since symex defers to Rigpa's handling if it knows rigpa is installed.
But at the moment, Rigpa (via init.el configuration) loads after symex (I don't recall exactly why at the moment), so at the time Symex loads on emacs init, rigpa isn't available and the hook to disable the minor mode within Symex gets initialized, causing it to interfere with Rigpa later on.
Workaround
The workaround for now is to evaluate this expression sometime after Emacs loads:
(remove-hook 'evil-symex-state-exit-hook #'symex-disable-editing-minor-mode)
Possible Fixes
A proper fix would be to:
The text was updated successfully, but these errors were encountered: