From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: flyspell bug Date: Wed, 25 May 2005 19:48:11 +0300 Organization: JURTA Message-ID: <8764x7dyis.fsf@jurta.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117043786 16880 80.91.229.2 (25 May 2005 17:56:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 May 2005 17:56:26 +0000 (UTC) Cc: kevina@gnu.org, public@heslin.eclipse.co.uk, 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 19:56:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Db06T-00080P-L0 for ged-emacs-devel@m.gmane.org; Wed, 25 May 2005 19:55:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Db0AN-0002oT-Gv for ged-emacs-devel@m.gmane.org; Wed, 25 May 2005 13:59:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Db04q-00062a-Tc for emacs-devel@gnu.org; Wed, 25 May 2005 13:53:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Db04n-00060j-PT for emacs-devel@gnu.org; Wed, 25 May 2005 13:53:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Db04k-0005vi-G3 for emacs-devel@gnu.org; Wed, 25 May 2005 13:53:50 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Db00y-0001uD-9W; Wed, 25 May 2005 13:49:56 -0400 Original-Received: from mail.neti.ee (80-235-43-6-dsl.mus.estpak.ee [80.235.43.6]) by Relayhost2.neti.ee (Postfix) with ESMTP id 03B1A3FB4; Wed, 25 May 2005 20:50:16 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 24 May 2005 21:18:04 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:37630 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37630 > 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. -- Juri Linkov http://www.jurta.org/emacs/