Re: Cancel minibuffer when clicking another window
Michael Heerdegen <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
Joost Kremers <[email protected]> writes: > When Emacs reads input in the minibuffer (i.e., with > `read-from-minibuffer` or `completing-read`, etc.) and you click some > other window with the mouse, that window is selected, but the > minibuffer input isn't cancelled. > > Is there a way to automatically cancel the minibuffer input when clicking > another window? You should keep in mind that you sometimes might want to leave the minibuffer and keep it. To look up something, grab something to paste into the minibuffer, to select a candidate from the completion list, etc etc. If you realize that later, unlearning your new habit will probably not be a nice experience. Michael.