From time to time Emacs gets into a state where it is constantly asking me questions on the mini-buffer. This is usually asking for a directory path for an error from compile-mode. However whenever I respond to the prompt it just prompts again for another file.

Killing the compilation-mode window doesn't stop the flow of annoying mini-buffer prompts. Is there any way to kill all outstanding mini-buffer prompts? I thought 3 C-g's would do it but apparently not.


Try M-x abort-recursive-edit.

  • 6
    Normally bound to Ctrl+]. Another command that gets you out of recursive edits is ESC ESC ESC (keyboard-escape-quit). – Gilles 'SO- stop being evil' Mar 12 '11 at 16:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.