Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 6 down vote accepted

Try M-x abort-recursive-edit.

share|improve this answer
Normally bound to Ctrl+]. Another command that gets you out of recursive edits is ESC ESC ESC (keyboard-escape-quit). – Gilles Mar 12 '11 at 16:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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