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 (Was: Emacs - Ispell problem with i[no]german dictionary) Date: Thu, 13 Jan 2005 14:53:00 +0900 (JST) Message-ID: <200501130553.OAA12756@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> <20050110130641.GB13663@tofu.mamane.lu> <20050110171611.GA10357@agmartin.aq.upm.es> <200501110516.OAA03606@etlken.m17n.org> <20050111195623.GA4031@agmartin.aq.upm.es> <200501120737.QAA08464@etlken.m17n.org> <20050112191716.GA19198@agmartin.aq.upm.es> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1105595761 18571 80.91.229.6 (13 Jan 2005 05:56:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Jan 2005 05:56:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 13 06:55:54 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 1Coxxa-0005TW-00 for ; Thu, 13 Jan 2005 06:55:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Coy9D-0006j9-I4 for ged-emacs-devel@m.gmane.org; Thu, 13 Jan 2005 01:07:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Coy8K-0006KL-2z for emacs-devel@gnu.org; Thu, 13 Jan 2005 01:07:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Coy8H-0006J9-MR for emacs-devel@gnu.org; Thu, 13 Jan 2005 01:06:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Coy8H-0006If-Fz for emacs-devel@gnu.org; Thu, 13 Jan 2005 01:06:57 -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 1Coxup-0002fL-Ll for emacs-devel@gnu.org; Thu, 13 Jan 2005 00:53:04 -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 j0D5r0BG019918; Thu, 13 Jan 2005 14:53:01 +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 j0D5r0t20935; Thu, 13 Jan 2005 14:53:00 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id OAA12756; Thu, 13 Jan 2005 14:53:00 +0900 (JST) Original-To: Agustin Martin In-reply-to: <20050112191716.GA19198@agmartin.aq.upm.es> (message from Agustin Martin on Wed, 12 Jan 2005 20:17:16 +0100) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3.50 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) 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:32187 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32187 In article <20050112191716.GA19198@agmartin.aq.upm.es>, Agustin Martin writes: >> Should I install my >> patch for CVS Emacs. Or, is it better to wait for you or >> some other maintainer work on it? > I have retested your patch and my workaround with a good ifrench dict > (it was indeed buggy), and both give reasonable results for > iso-8859-{1,15} dict/buffer combinations, with some of the expected > misalignments due to iso-8859-15 chars, but your patch does the good > work for an utf-8 buffer with iso-8859-15 only chars and an > iso-8859-15 dict emacs entry, while my workaround does nothing there. > I suggest you to install your patch for CVS Emacs, so it can have a wider > testing.=20 Ok, I've just installed it. > I will try to adapt both systems for use in dictionaries-common ispell.el, > with your patch as primary choice and the workaround as a fallback. I see. Thank you. The remaining problem is that a character sequence recognized as a single word by Emacs won't be recognized as a word by ispell-get-word because of an existence of character that can't be encoded by a coding system specified for the current ispell dictionary. For instance, if we check a buffer containing "espa=F1ol" by american dictionary, "espa" and "ol" are cheched separately. This problem is not that serious as the misalignment error, but is better to be fixed somehow. Stephen suggested that such a word should be skipped or marked as "uncheckable". I think the latter is better because '=F1' in the above case may be a typo. This kind of situation can be detected by checking if the the first and last characters of a word detected by ispell-get-word is surely at word-boundary. But, I don't know where to check it nor how to mark something "uncheckable" or "unknown word". It requires a work by someone who knows ispell.el well. --- Ken'ichi HANDA handa@m17n.org