From: harven <harven@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: Flyspell and mouse-2
Date: Fri, 26 Sep 2008 19:48:26 +0200 [thread overview]
Message-ID: <m2wsgydcid.fsf@free.fr> (raw)
In-Reply-To: mailman.20000.1222437149.18990.help-gnu-emacs@gnu.org
CJHoughton <houghton@maths.tcd.ie> writes:
> I am sure that there is an obvious way to find this out that I am missing
> and I am sorry if that is true but it is driving me crazy; how do you open
> the list of suggested spellings in flyspell-mode without using the mouse, at
> the moment mouse-2 on the incorrect word does this.
>
> Thanks a million, Conor
You are probably looking for the M-x flyspell-auto-correct-word command,
which is bound by default to M-TAB.
M-TAB is not a very good shortcut, since it is often intercepted by
the window-manager. So, let us assume that the command has been bound
to F4 by putting the following in your init-file:
(global-set-key (kbd "<f4>") 'flyspell-auto-correct-word)
Press F4 one time to correct the word under the cursor ; if several
spellings are possible, they appear in the minibuffer. Now just keep
hitting F4 ; this will replace the word under the cursor with the
successive suggestions.
You may also want to look at the command
flyspell-auto-correct-previous-word, which is not bound by default.
Note that there is also the ispell utility, which is called with
M-$, if it is installed. The different suggestions are numbered
at the top of the window ; you choose one by typing the right number.
If there are a lot of suggestions, this may be faster than the
flyspell cycling.
next parent reply other threads:[~2008-09-26 17:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.20000.1222437149.18990.help-gnu-emacs@gnu.org>
2008-09-26 17:48 ` harven [this message]
2008-09-26 9:46 Flyspell and mouse-2 CJHoughton
2008-09-26 16:56 ` Nikolaj Schumacher
2008-09-27 0:47 ` CJHoughton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2wsgydcid.fsf@free.fr \
--to=harven@free.fr \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).