From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Bug 130397 Date: Wed, 19 Jan 2005 09:34:09 +0200 Organization: JURTA Message-ID: <87sm4yt0o6.fsf@jurta.org> References: <20040517120658.GA6919@agmartin.aq.upm.es> <20041217121515.GA2270@agmartin.aq.upm.es> <200412221237.VAA07262@etlken.m17n.org> <20041222171306.GA4462@agmartin.aq.upm.es> <200501041250.VAA10883@etlken.m17n.org> <200501050200.LAA12589@etlken.m17n.org> <873bxgjxrp.fsf-monnier+emacs@gnu.org> <200501050550.OAA13142@etlken.m17n.org> <20050107153618.GA1508@agmartin.aq.upm.es> <878y7553qd.fsf@jurta.org> <200501130559.OAA12786@etlken.m17n.org> <878y6rnhd3.fsf@jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1106123174 32519 80.91.229.6 (19 Jan 2005 08:26:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Jan 2005 08:26:14 +0000 (UTC) Cc: agustin.martin@hispalinux.es, emacs-devel@gnu.org, k.stevens@ieee.org, 130397@bugs.debian.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 19 09:26:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CrBAE-0004gw-00 for ; Wed, 19 Jan 2005 09:26:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CrBMA-0004UU-Tw for ged-emacs-devel@m.gmane.org; Wed, 19 Jan 2005 03:38:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CrBM2-0004Tz-CE for emacs-devel@gnu.org; Wed, 19 Jan 2005 03:38:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CrBHD-0003Le-JG for emacs-devel@gnu.org; Wed, 19 Jan 2005 03:33:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CrBH7-0003Fv-MX for emacs-devel@gnu.org; Wed, 19 Jan 2005 03:33:14 -0500 Original-Received: from [194.126.101.111] (helo=MXR-1.estpak.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CrAq4-00063r-C7 for emacs-devel@gnu.org; Wed, 19 Jan 2005 03:05:16 -0500 Original-Received: from mail.neti.ee (80-235-33-91-dsl.mus.estpak.ee [80.235.33.91]) by MXR-1.estpak.ee (Postfix) with ESMTP id 6946B14CDC0; Wed, 19 Jan 2005 10:05:05 +0200 (EET) Original-To: Geoff Kuenning In-Reply-To: (Geoff Kuenning's message of "18 Jan 2005 14:57:05 +0100") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.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: main.gmane.org gmane.emacs.devel:32367 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32367 Geoff Kuenning writes: > Just brainstorming, it probably wouldn't be too hard to write a > postprocessing script for -a mode that turned the output of ispell -a > into something suitable for another ispell. This approach is quite promising, but it doesn't work sufficiently well for non-English languages. It loses all characters that don't belong to the alphabet specified in .aff file. For example, it turns the line: I do not want to acept my bda espa=F1ol into: acept bda espa ol One solution is to add the -w flag to specify additional characters: ispell -a -w =F1 -d american | fixispell-a | ispell -a -d spanish Perhaps, ispell.el is able to find such a set of additional characters automatically as a subtraction between two alphabets. But there is another problem. fixispell-a returns a list of near misses only for the last language in the pipe. It would be better if it accumulated a list of near misses from all ispell commands in the pipe. --=20 Juri Linkov http://www.jurta.org/emacs/