From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Bug 130397 Date: Thu, 6 Jan 2005 09:44:28 +0900 (JST) Message-ID: <200501060044.JAA15682@etlken.m17n.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> <87llb8htbf.fsf-monnier+emacs@gnu.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 1104972654 22483 80.91.229.6 (6 Jan 2005 00:50:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Jan 2005 00:50:54 +0000 (UTC) Cc: agustin.martin@hispalinux.es, lionel@mamane.lu, 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 Thu Jan 06 01:50:42 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 1CmLrO-0004XB-00 for ; Thu, 06 Jan 2005 01:50:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CmM2f-0005OR-LI for ged-emacs-devel@m.gmane.org; Wed, 05 Jan 2005 20:02:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CmM1Q-0004jh-Uq for emacs-devel@gnu.org; Wed, 05 Jan 2005 20:01:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CmM1M-0004hA-Lk for emacs-devel@gnu.org; Wed, 05 Jan 2005 20:01:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CmM1L-0004g9-VD for emacs-devel@gnu.org; Wed, 05 Jan 2005 20:01:00 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CmLm4-0005Q5-H4 for emacs-devel@gnu.org; Wed, 05 Jan 2005 19:45:13 -0500 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.12.3/8.12.3/Debian-7.1) with ESMTP id j060iYY7009149; Thu, 6 Jan 2005 09:44:36 +0900 Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6p2/8.11.6) with ESMTP id j060iSq25504; Thu, 6 Jan 2005 09:44:28 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id JAA15682; Thu, 6 Jan 2005 09:44:28 +0900 (JST) Original-To: Stefan Monnier In-reply-to: <87llb8htbf.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Wed, 05 Jan 2005 09:02:14 -0500) X-MIME-Autoconverted: from 8bit to quoted-printable by tsukuba.m17n.org id j060iYY7009149 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:31928 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31928 In article <87llb8htbf.fsf-monnier+emacs@gnu.org>, Stefan Monnier writes: >>> But ispell.el should be able to automatically check whether the char= s can 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 sho= uld >>> 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 use= d > 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 unchecka= ble. Although I have not yet understood the detail, "if some char is not in CASECHARS" is not enough. First of all, CASECHARS is a regular expression. And NOT-CASECHARS, OTHERCHARS, MANU-OTHERCHARS-P should also be checked somehow. If that is the way we are going to take, I'd like to ask maintainers of ispell.el to do such a change. --- Ken'ichi HANDA handa@m17n.org