Sometime recently emacs started making me hit C-g
twice to quit a minibuffer prompt and I can't figure out how or why it's doing this.
What happens is I start a minibuffer command -- say, C-x C-f
-- and then hit C-g
to quit. Emacs then appends "[Quit]
to the end of the minibuffer prompt, and doing C-g
quits as expected.
It's the [Quit]
that strikes me. I think that's related to some package I tried, but I don't see anything in my configuration.
I'm using emacs 27.1 on Windows.
There are several seemingly-related questions to this --
- Why do some commands terminate when leaving the minibuffer (isearch) while others don't (find-file)?
- C-g has stopped breaking out of commands like `C-x C-f` and `M-x` in graphical emacs-25
- Need double c-g to quit from a minibuffer
...but they seem to be about Linux, or GTK, or something else.
What package or configuration might cause this behavior?
emacs -q
? If not, you can bisect your init file to find out who the culprit is. FWIW, I don't see that in the simple case, although it might happen with recursive edits in the minibuffer: you might have toC-g
out of each level of the recursive edit.emacs -Q
. Bisect your init file.emacs -Q
.