If I goto correct a word with
flyspell-correct-at-point, a word suggestion box will appear, as expected. Unfortunately I cannot close this suggestion box with
escape I have to use
Any ideas on how to fix this behaviour ?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
First I'd like to discourage you from changing bindings of meta keys.
I found that setting different key bindings messes up my
M-x functionallity (for example). You will get funny behviours on all platforms. I am on Linux Manjaro, but I saw comments from Windows and Mac users getting similar issues on other posts in SO here and for others works perfectly, like here
I assume it has to do with specific emacs version and system specifications.
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
This is binding escape to the
keyboard-escape-quit which is one of the three functions that the
This is the second:
(global-set-key (kbd "<escape>") 'keyboard-quit)
And the third be :
M-x top-level , that is also a form of a quit (quiting this level to go to the one above)
Another option is:
(define-key key-translation-map (kbd "ESC") (kbd "C-g"))
for me it translated some functionality but not quitting a completion menu.
In most cases
C-g can be replaced with
esc (three escapes bound to
Get used to
C-g it is emacs for quit.