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: Thu, 12 May 2005 08:29:55 +0300 Organization: JURTA Message-ID: <87r7gdujwz.fsf@jurta.org> References: <01c5531e$Blat.v2.4$ea8d9a00@zahav.net.il> <87zmv3rg09.fsf_-_@jurta.org> <01c55511$Blat.v2.4$cb2c24c0@zahav.net.il> <87is1roent.fsf@jurta.org> <01c55599$Blat.v2.4$1fc21ee0@zahav.net.il> <873bsukw6j.fsf@jurta.org> <01c55626$Blat.v2.4$b81ecf20@zahav.net.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115875914 26932 80.91.229.2 (12 May 2005 05:31:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 May 2005 05:31:54 +0000 (UTC) Cc: public@heslin.eclipse.co.uk, mange@freemail.hu, s.j.eglen@damtp.cam.ac.uk, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 12 07:31:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DW6IS-00072J-0h for ged-emacs-devel@m.gmane.org; Thu, 12 May 2005 07:31:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DW6RJ-0006hj-Vg for ged-emacs-devel@m.gmane.org; Thu, 12 May 2005 01:40:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DW6R2-0006fA-PH for emacs-devel@gnu.org; Thu, 12 May 2005 01:40:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DW6R1-0006eQ-Ij for emacs-devel@gnu.org; Thu, 12 May 2005 01:40:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DW6R1-0006eN-Ea for emacs-devel@gnu.org; Thu, 12 May 2005 01:40:35 -0400 Original-Received: from [194.126.101.98] (helo=MXR-3.estpak.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DW6Qi-00016q-10; Thu, 12 May 2005 01:40:16 -0400 Original-Received: from mail.neti.ee (80-235-35-225-dsl.mus.estpak.ee [80.235.35.225]) by MXR-3.estpak.ee (Postfix) with ESMTP id 38453147B8C; Thu, 12 May 2005 08:33:27 +0300 (EEST) Original-To: Eli Zaretskii In-Reply-To: <01c55626$Blat.v2.4$b81ecf20@zahav.net.il> (Eli Zaretskii's message of "Wed, 11 May 2005 15:40:12 +0300") User-Agent: Gnus/5.110002 (No Gnus v0.2) 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:37009 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37009 > (1) user doesn't have aspell installed > (2) user has aspell installed, but configured it to use ispell's > dictionaries > (3) user has aspell installed and wants to use aspell's dictionaries There is also a fourth situation: (4) user has aspell installed, but uses ispell with ispell's dictionaries > I know how to detect (1) -- use locate-file or similar technique to > look for aspell. But how to distinguish between (2) and (3)? AFAIK, the situation (2) doesn't exist. There are the following situations instead: (2) user has aspell installed and uses the compatibility script `ispell' as a wrapper around aspell with aspell's dictionaries (3) user has aspell installed and uses `aspell' executable with aspell's dictionaries (2) is detected by checking the output of `ispell -v'. (3) is configured by users by changing ispell-program-name to "aspell". After the change in flyspell.el it doesn't work with the `ispell' compatibility script. Maybe ispell-really-aspell should have more values to distinguish between (2) and (3). (3) can be detected by matching ispell-program-name against the regexp "aspell$". -- Juri Linkov http://www.jurta.org/emacs/