From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Eglen Newsgroups: gmane.emacs.devel Subject: Re: flyspell bug Date: Wed, 27 Apr 2005 17:01:47 +0100 Message-ID: <17007.46955.461923.14358@notch.amtp.cam.ac.uk> References: <87br80tiwy.fsf@zemdatav.stor.no-ip.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1114618098 5467 80.91.229.2 (27 Apr 2005 16:08:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2005 16:08:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 27 18:08:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQp31-0005f6-9P for ged-emacs-devel@m.gmane.org; Wed, 27 Apr 2005 18:06:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQp8v-0000ps-VN for ged-emacs-devel@m.gmane.org; Wed, 27 Apr 2005 12:12:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DQp8Z-0000oZ-HX for emacs-devel@gnu.org; Wed, 27 Apr 2005 12:11:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DQp8W-0000jk-Vn for emacs-devel@gnu.org; Wed, 27 Apr 2005 12:11:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQp8W-0007d2-LT for emacs-devel@gnu.org; Wed, 27 Apr 2005 12:11:40 -0400 Original-Received: from [131.111.8.139] (helo=ppsw-9.csi.cam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DQp2n-0001Eg-RG for emacs-devel@gnu.org; Wed, 27 Apr 2005 12:05:45 -0400 X-Cam-SpamDetails: Not scanned X-Cam-AntiVirus: No virus found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from smtp.damtp.cam.ac.uk ([131.111.18.84]:48953 helo=medulla.damtp.cam.ac.uk) by ppsw-9.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.139]:25) with esmtp id 1DQoyx-0006T5-VV (Exim 4.51) for emacs-devel@gnu.org (return-path ); Wed, 27 Apr 2005 17:01:47 +0100 Original-Received: from notch.amtp.cam.ac.uk ([131.111.16.112] ident=[GBCbT0QkeeJSa74CrtvVxtpWgRiRb6Fv]) by medulla.damtp.cam.ac.uk with esmtp (Exim 4.32) id 1DQoyx-0000C3-Hx; Wed, 27 Apr 2005 17:01:47 +0100 Original-Received: from sje30 by notch.amtp.cam.ac.uk with local (Exim 4.12) id 1DQoyx-00043a-00; Wed, 27 Apr 2005 17:01:47 +0100 Original-To: Magnus Henoch In-Reply-To: <87br80tiwy.fsf@zemdatav.stor.no-ip.org> X-Mailer: VM 7.17 under Emacs 22.0.50.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36454 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36454 hi Magnus, thanks for explaining the version differences in aspell's behaviour. > The following patch eliminates the middle case. The documentation of > aspell 0.50.5 claims that it supports the "list" command, but I > haven't tested it. > > --- orig/lisp/textmodes/ispell.el > +++ mod/lisp/textmodes/ispell.el > @@ -301,7 +301,8 @@ > :type 'integer > :group 'ispell) > > -(defcustom ispell-program-name "ispell" > +(defcustom ispell-program-name (or (executable-find "aspell") > + "ispell") > "Program invoked by \\[ispell-word] and \\[ispell-region] commands." > :type 'string > :group 'ispell) Sounds like a good way to solve this, thanks. Stephen