From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kester Clegg Newsgroups: gmane.emacs.help Subject: Re: Flyspell: correcting words Date: Mon, 19 Jan 2004 17:44:18 +0000 Organization: Rolls Royce UTC, Dept. of Computer Science, University of York, UK Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074534446 11598 80.91.224.253 (19 Jan 2004 17:47:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2004 17:47:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 19 18:47:17 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AidUa-0005Az-00 for ; Mon, 19 Jan 2004 18:47:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AidTT-000473-Oc for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Jan 2004 12:46:07 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!server1.netnews.ja.net!news.york.ac.uk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: pc310.cs.york.ac.uk Original-X-Trace: pump1.york.ac.uk 1074534256 18086 144.32.40.101 (19 Jan 2004 17:44:16 GMT) Original-X-Complaints-To: abuse@york.ac.uk Original-NNTP-Posting-Date: 19 Jan 2004 17:44:16 GMT User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:zgo35aU/DREb4LgKSkxMfi+ppSg= Original-Xref: shelby.stanford.edu gnu.emacs.help:120225 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16169 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16169 gebser@speakeasy.net writes: > When, in flyspell-mode, I "M-x flyspell-correct-word", emacs replies > "flyspell-correct-word must be bound to an event with parameters". Maybe you want to quickly auto-correct? If so, you can easily bind that function to a key press: ;; correct and expand last bad word (global-set-key (kbd "") 'flyspell-auto-correct-word) This works surprisingly well for simple typos. -- ************************************************************************ Kester Clegg Dept. of Computer Science, Research Assistant (UTC) University of York, Tel (01904) 43 27 49 email: kester at cs.york.ac.uk ************************************************************************