This is about GNU Emacs 29.1 (build 8, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0):
The keybinding C-M-i
, equivalent to <escape><tab>
or to M-Tab
(the latter often intercepted by OSs) is bound to complete-symbol
in the global map, and very useful especially in org-mode.
This seems to be a built-in behaviour, because I'm not touching that keybinding in my init file, and the behaviour also appears starting Emacs with the -q
option.
It turns out that Flyspell rebinds this to flyspell-auto-correct-word
, which is also bound to C-.
. This is very inconvenient, also because flyspell is called by many major modes in my configuration: I would have to redefine that keybinding in all of them.
How can I avoid this key rebinding by Flyspell? I checked some questions such as this, this, this, but they don't address this specific issue.
flyspell
do that if you start emacs withemacs -q
? It does not in my case, so you are probably rebinding it in your init file(s). – NickD Jan 02 '24 at 16:11flyspell
does that even starting emacs withemacs -q
(then opening an org file and activating flyspell withM-x flyspell-mode
). Indeed I'm not touching that keybinding anywhere in my init file. Edit: My Emacs is 29.1 (added this to the OP). – pglpm Jan 02 '24 at 18:14emacs -Q
: it may be that your distro is doing it in itssite-init
file. – NickD Jan 02 '24 at 18:23-Q
– but your answer solved it :) – pglpm Jan 02 '24 at 19:42