-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
which-key configuration causes bug when using embark-completing-read-prompter on regular buffer #234
Comments
Weird one! The only problem is that the cursor stays in the minibuffer, right? When I tried it, I could use |
Yes, that seems to be it.
This is what I (and probably hugonobrega and iyefrat) get for using evil-mode haha. I didn't even think of using |
Yeah, coupled with the fact that only |
According to my tests this fixes it, and I don't believe it introduces any new problems (famous last words, of course): (setq embark-action-indicator
(lambda (map _target)
(which-key--show-keymap "Embark" map nil nil 'no-paging)
(lambda ()
(kill-buffer which-key--buffer)))) |
Yes, when I originally saw this issue, I thought it is a duplicate of #154. But I didn't look closer since I've stopped using which-key. |
I incorporated the |
Thanks! |
When using the default which-key configuration, using
emark-act
in a regular buffer, callingembark-completing-read-prompter
and then quitting it withC-g
causes the cursor to stay on the inactive minibuffer, causing most keybindings to not work unless you click on another window with your mouse.To reproduce, open
emacs -Q
and eval the following:Then on some regular buffer do
C-S-a C-h C-g
, the cursor should be on theCanceled
minibuffer and most keybindings won't work. Alternatively you can do(setq embark-prompter #'embark-completing-read-prompter)
and then just doC-S-a C-g
. This does not occur without thewhich-key
configuration.cc: @Zetagon @hugonobrega
The text was updated successfully, but these errors were encountered: