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, 13 Jan 2005 14:59:21 +0900 (JST) Message-ID: <200501130559.OAA12786@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> <20050107153618.GA1508@agmartin.aq.upm.es> <878y7553qd.fsf@jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1105597168 21106 80.91.229.6 (13 Jan 2005 06:19:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Jan 2005 06:19:28 +0000 (UTC) Cc: agustin.martin@hispalinux.es, emacs-devel@gnu.org, k.stevens@ieee.org, ispell-el-bugs@itcorp.com, 130397@bugs.debian.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 13 07:19:20 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 1CoyKF-0006JS-00 for ; Thu, 13 Jan 2005 07:19:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CoyVt-0003tF-HL for ged-emacs-devel@m.gmane.org; Thu, 13 Jan 2005 01:31:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CoyVA-0003lL-5m for emacs-devel@gnu.org; Thu, 13 Jan 2005 01:30:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CoyV3-0003gX-HD for emacs-devel@gnu.org; Thu, 13 Jan 2005 01:30:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CoyV1-0003ck-Rp for emacs-devel@gnu.org; Thu, 13 Jan 2005 01:30:27 -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 1Coy1V-0003Gx-W4 for emacs-devel@gnu.org; Thu, 13 Jan 2005 00:59:58 -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 j0D5xMBG020011; Thu, 13 Jan 2005 14:59:22 +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 j0D5xLt21040; Thu, 13 Jan 2005 14:59:21 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id OAA12786; Thu, 13 Jan 2005 14:59:21 +0900 (JST) Original-To: Juri Linkov In-reply-to: <878y7553qd.fsf@jurta.org> (message from Juri Linkov on Fri, 07 Jan 2005 23:27:54 +0200) 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:32188 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32188 In article <878y7553qd.fsf@jurta.org>, Juri Linkov writes: > Agustin Martin writes: >> *Ken*, since you are being cc'ed I vaguely remembered some info I somewhere >> read about this misalignements. I finally found it, >> >> http://lists.gnu.org/archive/html/emacs-devel/2002-09/msg01007.html > The bug reported on this URL occurs only in Emacs 21.3, not in Emacs CVS. > It seems something was fixed already. > However, with a strange coincidence I got the same error in Emacs CVS just > today for the first time. So I can describe how this bug can be reproduced > in Emacs CVS: when the first part of a word was copied from an external > application and got encoded in the buffer in mule-unicode-0100-24ff, > and the second part of the word typed with an input method and gets encoded > in cyrillic-iso8859-5, then calling ispell-buffer on a buffer with the word > composed with different encodings with `russian' dictionary signals the > error "Ispell misalignment". Please try the latest ispell.el. I think at least this misalignment error is fixed now. > And while on this topic, I want to remind that many Emacs users suffer > from the inability of ispell.el to simultaneously check mixed multi-language > texts. So, whoever fixes ispell.el, please take that into account. > Such combining is quite easily doable for any disjoint alphabets, as well > as for alphabets where one alphabet is a superset of another, like e.g. > English and some other Latin-based alphabets. Even for overlapping > alphabets it would be possible with using the `w' syntax to get a word > and to feed it to different ispell instances for each dictionary. As for this, I agree with the following statement. Geoff Kuenning writes: > I'm not entirely sure what you mean here. For disjoint alphabets, > it's certainly relatively easy to figure out which word should go to > which ispell instance. For identical, superset, or overlapping > alphabets, the problem is basically insoluable. For example, "fra" is > a misspelling in English but legal in Italian. If it appears in a > mixed passage, which dictionary should it be fed to? The only > solution would seem to be to require the user to mark passages in some > way, as is done in HTML. --- Ken'ichi HANDA handa@m17n.org