From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Bug 130397 Date: Wed, 05 Jan 2005 09:02:14 -0500 Message-ID: <87llb8htbf.fsf-monnier+emacs@gnu.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> 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 1104933808 10371 80.91.229.6 (5 Jan 2005 14:03:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Jan 2005 14:03:28 +0000 (UTC) Cc: 130397@bugs.debian.org, agustin.martin@hispalinux.es, lionel@mamane.lu, k.stevens@ieee.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 05 15:03:17 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 1CmBkr-000316-00 for ; Wed, 05 Jan 2005 15:03:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CmBw7-0008TK-9r for ged-emacs-devel@m.gmane.org; Wed, 05 Jan 2005 09:14:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CmBvV-0008G5-M9 for emacs-devel@gnu.org; Wed, 05 Jan 2005 09:14:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CmBvT-0008Ek-NV for emacs-devel@gnu.org; Wed, 05 Jan 2005 09:14:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CmBvS-0008Ee-VR for emacs-devel@gnu.org; Wed, 05 Jan 2005 09:14:15 -0500 Original-Received: from [209.226.175.74] (helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CmBjt-00006q-Tb for emacs-devel@gnu.org; Wed, 05 Jan 2005 09:02:18 -0500 Original-Received: from alfajor ([67.71.119.166]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050105140217.UWHL2034.tomts20-srv.bellnexxia.net@alfajor>; Wed, 5 Jan 2005 09:02:17 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id A70E42FD13; Wed, 5 Jan 2005 09:02:14 -0500 (EST) Original-To: Kenichi Handa In-Reply-To: <200501050550.OAA13142@etlken.m17n.org> (Kenichi Handa's message of "Wed, 5 Jan 2005 14:50:09 +0900 (JST)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) 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:31893 >> But ispell.el should be able to automatically check whether the chars ca= n be >> safely encoded with the coding-system and if not (as in your example), >> ispell.el will know that the word can't be checked by ispell and should >> just be skipped (and maybe marked as "uncheckable"). > That seems to be a good approach. But, just checking > whether the chars is encodable with the coding-system is not > enough. For instance, entry for "francais" dict doesn't > contain "=F1" in CASECHARS, but "espa=F1ol" is safely encodable > by iso-8859-1. So, the same error happens. For ispell.el > to know that "espa=F1ol" is uncheckable, we anyway need the > current database ispell-dictionary-alist. Aaaahhhh.... I'm beginning to understand, thank you. But I still think ispell.el should not try to check "espa" and "ol". So I now agree that the CASECHARS table is needed, but it should be used after encoding the word (rather than when determining what is a word), and if some char is not in CASECHARS the word should be flagged as uncheckable. > By the way, isn't it possible to make that database > automatically from *.aff? I wouldn't know. Stefan