From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: harven Newsgroups: gmane.emacs.help Subject: Re: Flyspell and mouse-2 Date: Fri, 26 Sep 2008 19:48:26 +0200 Organization: Guest of ProXad - France Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222454518 16265 80.91.229.12 (26 Sep 2008 18:41:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2008 18:41:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 26 20:42:56 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KjIHD-0007JV-CM for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Sep 2008 20:42:51 +0200 Original-Received: from localhost ([127.0.0.1]:34197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjIGB-0005Ml-1a for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Sep 2008 14:41:47 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp3-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) Cancel-Lock: sha1:/uWiHOpp7NF0o6h69yGsSGKj19Q= Original-Lines: 35 Original-NNTP-Posting-Date: 26 Sep 2008 19:48:26 MEST Original-NNTP-Posting-Host: 82.240.200.149 Original-X-Trace: 1222451306 news-1.free.fr 3784 82.240.200.149:49499 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:162779 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58121 Archived-At: CJHoughton 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 "") '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.