>> However, this has one problem: it will correct the word only to
>> the first variant.
>>
>> Is that because the text property keymap will go away when the word
>> becomes correctly spelled?
> Yes, the overlay with the keymap will go away after the word is
> fixed with first M-TAB.
>> It should be easy to fix the command to read the next event, and if
>> the next event is another M-TAB, it would repeat.
> I think this would work. Dan, what do you think?
All solutions based on reading the next event have the usual problems that
they interact poorly with post-command-hooks, input methods,
key-translation-map, function-key-map, ...
Better would be a hack that sets a transient minor mode (with M-TAB bound
appropriately) and adds a pre-command-hook which disables the minor mode as
soon as we use something else than M-TAB.
Stefan
_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug