> > I don't understand. Use it for what? > > For flyspell-auto-correct-word
I believe M-TAB can be used in the same buffer for both `flyspell-auto-correct-word' and `lisp-complete-symbol' by making it context-sensitive: when point is on the word marked as misspelled, M-TAB could call `flyspell-auto-correct-word', in any other part of the buffer call `lisp-complete-symbol'. This can be easily achieved by moving the M-TAB keybinding from `flyspell-mode-map' to `flyspell-mouse-map'. However, this has one problem: it will correct the word only to the first variant. But anyway using the same key to loop over all successive corrections is not very convenient. I think it's better to bind M-TAB on the misspelled word to a command that creates the *Completion* buffer with a list of corrections, in the same way as `lisp-complete-symbol' works. Alternatively, it could provide the ispell interface for selecting the word with a digit offered in the *Choices* buffer. -- Juri Linkov http://www.jurta.org/emacs/ _______________________________________________ Emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
