From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Atkinson Newsgroups: gmane.emacs.devel Subject: Re: flyspell bug Date: Wed, 25 May 2005 12:11:32 -0600 (MDT) Message-ID: References: <8764x7dyis.fsf@jurta.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 1117044767 20112 80.91.229.2 (25 May 2005 18:12:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 May 2005 18:12:47 +0000 (UTC) Cc: public@heslin.eclipse.co.uk, rms@gnu.org, mange@freemail.hu, s.j.eglen@damtp.cam.ac.uk, emacs-devel@gnu.org, eliz@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 25 20:12:42 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Db0M5-0001qw-Rn for ged-emacs-devel@m.gmane.org; Wed, 25 May 2005 20:11:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Db0Pz-0001n5-Qw for ged-emacs-devel@m.gmane.org; Wed, 25 May 2005 14:15:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Db0Pa-0001kb-2T for emacs-devel@gnu.org; Wed, 25 May 2005 14:15:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Db0PW-0001iL-Ss for emacs-devel@gnu.org; Wed, 25 May 2005 14:15:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Db0PW-0001dF-AU for emacs-devel@gnu.org; Wed, 25 May 2005 14:15:18 -0400 Original-Received: from [155.99.1.104] (helo=jav.cc.utah.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Db0MO-0006bq-Ql; Wed, 25 May 2005 14:12:05 -0400 Original-Received: from kevin-p3.atkinson.dhs.org (dhcp-192-161.housing.utah.edu [155.97.192.161]) by jav.cc.utah.edu (SMTP Mailer) with ESMTP id <0IH200G5A57DXN@jav.cc.utah.edu>; Wed, 25 May 2005 12:11:38 -0600 (MDT) Original-Received: by kevin-p3.atkinson.dhs.org (Postfix, from userid 501) id 6D92A394AC; Wed, 25 May 2005 14:11:32 -0400 (EDT) Original-Received: from localhost (localhost [127.0.0.1]) by kevin-p3.atkinson.dhs.org (Postfix) with ESMTP id 647EDBCA8; Wed, 25 May 2005 12:11:32 -0600 (MDT) In-reply-to: <8764x7dyis.fsf@jurta.org> X-X-Sender: kevina@kevin-p3.atkinson.dhs.org Original-To: Juri Linkov 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:37633 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37633 On Wed, 25 May 2005, Juri Linkov wrote: > > If you use "-d DICT" where DICT does NOT end in ".hash" or is a complete > > path to an Ispell dictionary than it should work as you suggested. > > > > If this already works, how come the problem happens? > > Why doesn't this make everything work right already? > > Users may have different sets of dictionaries installed for Ispell > and Aspell. After replacing the default program name "ispell" by > "aspell", ispell.el may fail when a configured Ispell's dictionary > name doesn't match any of installed Aspell dictionary names. > > To avoid such failure, ispell.el could check the Aspell's exit code > and in case when Aspell can't find a dictionary name among its list > of available dictionaries, ispell.el could change the default program > name from "aspell" to "ispell" and try to run Ispell with the same > dictionary name. Most Aspell dictionaries are installed with names that the orignal Ispell dictionarys use. Just make sure it isn't a complete path or the name doesn't end if ".hash". -- http://kevin.atkinson.dhs.org