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:43:16 +0200 Organization: JURTA Message-ID: <87r7kit0nz.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> <200501182324.IAA10189@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1106122948 32006 80.91.229.6 (19 Jan 2005 08:22:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Jan 2005 08:22:28 +0000 (UTC) Cc: agustin.martin@hispalinux.es, 130397@bugs.debian.org, k.stevens@ieee.org, ispell-el-bugs@itcorp.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 19 09:22: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 1CrB6a-0004Si-00 for ; Wed, 19 Jan 2005 09:22:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CrBIW-0003YX-K9 for ged-emacs-devel@m.gmane.org; Wed, 19 Jan 2005 03:34:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CrBHV-0003R8-F7 for emacs-devel@gnu.org; Wed, 19 Jan 2005 03:33:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CrBHD-0003LQ-Rr for emacs-devel@gnu.org; Wed, 19 Jan 2005 03:33:26 -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-Ge for emacs-devel@gnu.org; Wed, 19 Jan 2005 03:33:13 -0500 Original-Received: from [194.126.101.111] (helo=MXR-1.estpak.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CrAqC-00064T-3D for emacs-devel@gnu.org; Wed, 19 Jan 2005 03:05:24 -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 15D1114CE6F; Wed, 19 Jan 2005 10:05:12 +0200 (EET) Original-To: Kenichi Handa In-Reply-To: <200501182324.IAA10189@etlken.m17n.org> (Kenichi Handa's message of "Wed, 19 Jan 2005 08:24:31 +0900 (JST)") 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:32365 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32365 Kenichi Handa writes: > In article <878y6rnhd3.fsf@jurta.org>, Juri Linkov writes: >> The cause of the error is the following: a line sent by ispell.el >> to the ispell process is converted from mule-unicode charset to the >> process charset, and the accepted output gets converted from process >> coding to the internal Emacs charset iso8859. So `search-forward' in >> `ispell-process-line' fails to find a string in iso8859 charset >> in the buffer with the same string in mule-unicode charset. > > Ah! I see. I've just installed the attached change which > should fix that misalignment error. ispell-looking-at is > not that tuned yet, and there will be a better way to > implemente it. I tried your fix, and the misalignment error doesn't occur anymore. Thanks. Now a new problem was uncovered: after selecting a correct word from a list of near misses returned from ispell, ispell.el replaces the misspelled word with a selected word, and inserts it into the buffer not in its original mule-unicode charset, but in iso8859. -- Juri Linkov http://www.jurta.org/emacs/