[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: key bindings for flyspell-mode that work on terminals
From: |
Juri Linkov |
Subject: |
Re: key bindings for flyspell-mode that work on terminals |
Date: |
Sat, 05 Nov 2005 14:32:07 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
> > 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/
- Re: key bindings for flyspell-mode that work on terminals, Dan Nicolaescu, 2005/11/03
- Re: key bindings for flyspell-mode that work on terminals, Richard M. Stallman, 2005/11/03
- Re: key bindings for flyspell-mode that work on terminals, Dan Nicolaescu, 2005/11/03
- Re: key bindings for flyspell-mode that work on terminals, Richard M. Stallman, 2005/11/04
- Re: key bindings for flyspell-mode that work on terminals, Dan Nicolaescu, 2005/11/04
- Re: key bindings for flyspell-mode that work on terminals,
Juri Linkov <=
- Re: key bindings for flyspell-mode that work on terminals, Richard M. Stallman, 2005/11/05
- Re: key bindings for flyspell-mode that work on terminals, Juri Linkov, 2005/11/07
- Re: key bindings for flyspell-mode that work on terminals, Stefan Monnier, 2005/11/07
- Re: key bindings for flyspell-mode that work on terminals, Juri Linkov, 2005/11/08
- Re: key bindings for flyspell-mode that work on terminals, Dan Nicolaescu, 2005/11/07
- Re: key bindings for flyspell-mode that work on terminals, Richard M. Stallman, 2005/11/07
- Re: key bindings for flyspell-mode that work on terminals, Glenn Morris, 2005/11/08
- Re: key bindings for flyspell-mode that work on terminals, Juri Linkov, 2005/11/08