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
This causes the problem that when xah-fly-keys mode is enabled in init - although the mode is activated - none of the logic of the command mode is active - neither keybindings nor visual indication in the cursor
For the set-transient-map to work - hooking onto server-after-make-frame-hook is essential. Additionally for frame-parameters to take action - not only the frame need to be active - the function call must be made "asynchronously" which can be done by running a timer with zero seconds delay.
Combining and taking into consideration of not running this on new frame creation when insert-mode is currently active
the following is suggested
The 'server-after-make-frame-hook should remove the previous set-transient-map -- otherwise there is an extra post-command-hook that is redundant that will be running.
Will disable the previous transient-map since set-transient-map returns an exit function that we bind to this variable in the xah-fly-command-mode-init.
The Function definition is as follows:
The following three lines fail to work appropriately when this function is being called during emacs daemon startup due to some race condition.
This causes the problem that when
xah-fly-keys
mode is enabled in init - although the mode is activated - none of the logic of the command mode is active - neither keybindings nor visual indication in the cursorFor the
set-transient-map
to work - hooking ontoserver-after-make-frame-hook
is essential. Additionally for frame-parameters to take action - not only the frame need to be active - the function call must be made "asynchronously" which can be done by running a timer with zero seconds delay.Combining and taking into consideration of not running this on new frame creation when insert-mode is currently active
the following is suggested
see additionally #103
The text was updated successfully, but these errors were encountered: