GNU bug report logs - #5575
23.1.92; Flyspell makes neighboring Chinese text turn red too

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: jidanni@HIDDEN; dated Sat, 13 Feb 2010 18:09:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 5575 <at> debbugs.gnu.org:


Received: (at 5575) by debbugs.gnu.org; 16 Feb 2010 14:55:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 16 09:55:28 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1NhOpk-0004pX-2f
	for submit <at> debbugs.gnu.org; Tue, 16 Feb 2010 09:55:28 -0500
Received: from pantheon-po33.its.yale.edu ([130.132.50.94])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <cyd@HIDDEN>) id 1NhOpf-0004pD-Bs
	for 5575 <at> debbugs.gnu.org; Tue, 16 Feb 2010 09:55:26 -0500
Received: from furry (bb116-15-86-35.singnet.com.sg [116.15.86.35])
	(authenticated bits=0)
	by pantheon-po33.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id
	o1GEtFld030356
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Tue, 16 Feb 2010 09:55:18 -0500
Received: by furry (Postfix, from userid 1000)
	id E2FB9C05D; Tue, 16 Feb 2010 09:55:13 -0500 (EST)
From: Chong Yidong <cyd@HIDDEN>
To: jidanni@HIDDEN
Subject: Re: 23.1.92; Flyspell makes neighboring Chinese text turn red too
Date: Tue, 16 Feb 2010 09:55:13 -0500
Message-ID: <874olhqlgu.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed)
X-Spam-Score: -2.6 (--)
X-Debbugs-Envelope-To: 5575
Cc: 5575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

> Flyspell mode has a bug where all the UTF-8 characters connected to
> the misspelled word also turn red.

I have checked in a fix that avoids highlighting the characters in front
of the misspelled word, using the information provided by ispell.
However, it is not apparently possible to use the same approach to avoid
highlighting the character after.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#5575; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Feb 2010 18:08:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 13 13:08:07 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1NgMPW-0003KU-I0
	for submit <at> debbugs.gnu.org; Sat, 13 Feb 2010 13:08:06 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <jidanni@HIDDEN>) id 1NgMPU-0003K0-Vy
	for submit <at> debbugs.gnu.org; Sat, 13 Feb 2010 13:08:05 -0500
Received: from mx10.gnu.org ([199.232.76.166]:45933)
	by fencepost.gnu.org with esmtp (Exim 4.69)
	(envelope-from <jidanni@HIDDEN>) id 1NgMPQ-000343-JF
	for submit <at> debbugs.gnu.org; Sat, 13 Feb 2010 13:08:00 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim
	4.60) (envelope-from <jidanni@HIDDEN>) id 1NgMPP-0000Jn-9E
	for submit <at> debbugs.gnu.org; Sat, 13 Feb 2010 13:08:00 -0500
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,
	FORGED_RCVD_HELO,NO_REAL_NAME,UNPARSEABLE_RELAY autolearn=no 
	version=3.1.0
Received: from lists.gnu.org ([199.232.76.165]:43557)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <jidanni@HIDDEN>) id 1NgMPP-0000Jj-3W
	for submit <at> debbugs.gnu.org; Sat, 13 Feb 2010 13:07:59 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NgMPO-0006vp-Ga
	for bug-gnu-emacs@HIDDEN; Sat, 13 Feb 2010 13:07:58 -0500
Received: from [140.186.70.92] (port=56396 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1NgMPN-0006vb-I0
	for bug-gnu-emacs@HIDDEN; Sat, 13 Feb 2010 13:07:57 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <jidanni@HIDDEN>) id 1NgMPN-0001Vw-1B
	for bug-gnu-emacs@HIDDEN; Sat, 13 Feb 2010 13:07:57 -0500
Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177]:48327
	helo=homiemail-a14.g.dreamhost.com)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <jidanni@HIDDEN>) id 1NgMPM-0001Vp-QI
	for bug-gnu-emacs@HIDDEN; Sat, 13 Feb 2010 13:07:56 -0500
Received: from jidanni.org (218-163-4-10.dynamic.hinet.net [218.163.4.10])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by homiemail-a14.g.dreamhost.com (Postfix) with ESMTPSA id AA4858C071; 
	Sat, 13 Feb 2010 10:07:55 -0800 (PST)
From: jidanni@HIDDEN
To: bug-gnu-emacs@HIDDEN
Subject: 23.1.92; Flyspell makes neighboring Chinese text turn red too
Date: Sun, 14 Feb 2010 02:07:53 +0800
Message-ID: <87bpftovpi.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6,
	seldom 2.4 (older, 4)
X-Spam-Score: -3.8 (---)
X-Debbugs-Envelope-To: submit
Cc: handa@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.8 (---)

Flyspell mode has a bug where all the UTF-8 characters connected to the
misspelled word also turn red. E.g.,

1. =E6=99=9A=E4=B8=8A=E5=88=B0Janet=E5=AE=B6=E6=89=93=E6=93=BE=E4=B8=80=E6=
=99=9A
2. =E6=99=9A=E4=B8=8A=E9=A0=90=E8=A8=88=E8=A8=8E=E8=AB=96=E4=BB=8A=E5=B9=B4=
wronglyspelledword=E5=9C=98=E9=AB=94=E7=9A=84=E5=B7=A5=E4=BD=9C--=E6=83=B3=
=E8=B1=90=E5=AF=8C=E8=9D=B6=E5=9C=92=E7=B6=B2=E7=AB=99=E7=9A=84=E5=85=A7=E5=
=AE=B9

Line 1 is fine. Line 2 however has everything up until the two dashes
turn red. It should have only the wronglyspelledword turn red, and not
"set fire to innocent bystanders".

Seen at least with my http://jidanni.org/comp/configuration/.emacs
(without which one can't seem to even start Flyspell these days, as I
reported moments ago.)





Acknowledgement sent to jidanni@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#5575; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.