-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keypad fails on leader map with Which-Key popup visible #694
Comments
I can reproduce this issue. It's broken with which-key, but works with the builtin popup. |
I think it's because how keymap leader is handled. The leader can either be a keymap or a key sequences. When it's a keymap, we used to raise the priority of that keymap by setting it as Try the latest commit. |
Now a remaining problem is I disabled the C-h binding in which-key in |
Yep, seems to be fixed on or before f74017c. |
After 8ae8b2c, pressing any key under the leader keymap (as defined in
meow-keymap-alist
,mode-specific-map
by default) when the Which-Key popup is showing will result in '<key> is undefined'.Reproducing
my-setup.el
in the repo directory:Now run
emacs -q -L . -l my-setup.el
.Try
SPC e
, it will always executeemacs-version
, as expected.Now, do
M-x package-install which-key RET
,M-x which-key-mode RET
.Press
SPC
, wait for which-key popup to show, then presse
. You will get 'e is undefined' error.Press
SPC e
quickly, without waiting for the popup to show.emacs-version
is executed.Workaround(?!)
For some reason, setting
meow-keypad-leader-dispatch
to"C-c"
seems to fix the issue. But I have no idea how or why this works or what the side effects of it might be.Possibly related
#691 - note that same workaround seemed to work
#686 (comment) - again, same workaround
The text was updated successfully, but these errors were encountered: