From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Stevens Newsgroups: gmane.emacs.devel Subject: Re: flyspell bug Date: Fri, 13 May 2005 13:09:48 -0700 Message-ID: <924.1116014988@ichips.intel.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1116016742 12523 80.91.229.2 (13 May 2005 20:39:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 May 2005 20:39:02 +0000 (UTC) Cc: public@heslin.eclipse.co.uk, mange@freemail.hu, s.j.eglen@damtp.cam.ac.uk, emacs-devel@gnu.org, juri@jurta.org, eliz@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 13 22:38:58 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DWgv9-00073X-Kp for ged-emacs-devel@m.gmane.org; Fri, 13 May 2005 22:38:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DWh4B-0001wL-CV for ged-emacs-devel@m.gmane.org; Fri, 13 May 2005 16:47:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DWge1-0006aA-8K for emacs-devel@gnu.org; Fri, 13 May 2005 16:20:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DWge0-0006Zl-Jw for emacs-devel@gnu.org; Fri, 13 May 2005 16:20:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DWge0-0006Mv-Ao for emacs-devel@gnu.org; Fri, 13 May 2005 16:20:24 -0400 Original-Received: from [134.134.136.17] (helo=orsfmr003.jf.intel.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DWgbc-0002Z9-4f; Fri, 13 May 2005 16:17:57 -0400 Original-Received: from orsfmr101.jf.intel.com (orsfmr101.jf.intel.com [10.7.209.17]) by orsfmr003.jf.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id j4DK9ncL001242; Fri, 13 May 2005 20:09:49 GMT Original-Received: from ichips-ra.pdx.intel.com (ichips-ra-hme8.intel.com [10.7.13.35]) by orsfmr101.jf.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with ESMTP id j4DK9n8B000338; Fri, 13 May 2005 20:09:49 GMT Original-Received: from dttlx129.pdx.intel.com (dttlx129.pdx.intel.com [10.7.45.141]) by ichips-ra.pdx.intel.com (8.12.10/8.12.9/MailSET/Hub) with ESMTP id j4DK9mv9006226; Fri, 13 May 2005 13:09:49 -0700 (PDT) Original-Received: from ichips.intel.com (localhost [127.0.0.1]) by dttlx129.pdx.intel.com (8.12.10/8.12.8/MailSET/client) with ESMTP id j4DK9m2x000925; Fri, 13 May 2005 13:09:48 -0700 Original-To: rms@gnu.org In-Reply-To: Your message of "Fri, 13 May 2005 12:09:51 EDT." X-Scanned-By: MIMEDefang 2.44 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:37096 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37096 Richard Stallman writes: > I have a version that doesn't use exec-installed-p, but have not > put it out for testing. > > Could you email it to us? We can look at the differences from your > previous version, and also test it. The current version I have does not try to enforce a particular speller - both ispell and aspell are supported. The choice is determined by the setting of the customized variable `ispell-prefer-aspell' when both ispell and aspell exist on the system. I had used the function `exec-installed-p' which had it's roots in APEL (A Portable Emacs Library). In digging deeper, it appears that this is not necessary as the standard emacs function `executable-find' appears to have the same desired functionality. Here are the variables: (defcustom ispell-prefer-aspell nil "*Select preference between using the `ispell' or `aspell' program. `ispell' is used by default. When this variable is set, `aspell' is used if it is installed on the system." :type 'boolean :group 'ispell) (defcustom ispell-program-name (or (and (executable-find "aspell") (or ispell-prefer-aspell (not (executable-find "ispell"))) "aspell") "ispell") "Program invoked by \\[ispell-word] and \\[ispell-region] commands." :type 'string :group 'ispell) I'm sure you'll argue to make `ispell-prefer-aspell' set by default ;-) It is only used in the above location in the code. I have several other patches, improvements to integrate into the current version of ispell as well. regards -Ken