unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5575: 23.1.92; Flyspell makes neighboring Chinese text turn red too
@ 2010-02-13 18:07 jidanni
  2010-02-16 14:55 ` Chong Yidong
  2021-06-03  9:19 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: jidanni @ 2010-02-13 18:07 UTC (permalink / raw)
  To: 5575; +Cc: handa

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

1. 晚上到Janet家打擾一晚
2. 晚上預計討論今年wronglyspelledword團體的工作--想豐富蝶園網站的內容

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.)







^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#5575: 23.1.92; Flyspell makes neighboring Chinese text turn red too
  2010-02-13 18:07 bug#5575: 23.1.92; Flyspell makes neighboring Chinese text turn red too jidanni
@ 2010-02-16 14:55 ` Chong Yidong
  2021-06-03  9:19 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: Chong Yidong @ 2010-02-16 14:55 UTC (permalink / raw)
  To: jidanni; +Cc: 5575

> 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.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#5575: 23.1.92; Flyspell makes neighboring Chinese text turn red too
  2010-02-13 18:07 bug#5575: 23.1.92; Flyspell makes neighboring Chinese text turn red too jidanni
  2010-02-16 14:55 ` Chong Yidong
@ 2021-06-03  9:19 ` Lars Ingebrigtsen
  2021-06-03 12:58   ` Eli Zaretskii
  1 sibling, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-06-03  9:19 UTC (permalink / raw)
  To: jidanni; +Cc: 5575, handa

[-- Attachment #1: Type: text/plain, Size: 566 bytes --]

jidanni@jidanni.org writes:

> Flyspell mode has a bug where all the UTF-8 characters connected to the
> misspelled word also turn red. E.g.,
>
> 1. 晚上到Janet家打擾一晚
> 2. 晚上預計討論今年wronglyspelledword團體的工作--想豐富蝶園網站的內容
>
> 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".

Chong fixed the leading part, but trailing characters are apparently
still mis-underlined:


[-- Attachment #2: Type: image/png, Size: 27496 bytes --]

[-- Attachment #3: Type: text/plain, Size: 128 bytes --]


(This is in Emacs 28.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#5575: 23.1.92; Flyspell makes neighboring Chinese text turn red too
  2021-06-03  9:19 ` Lars Ingebrigtsen
@ 2021-06-03 12:58   ` Eli Zaretskii
  2021-06-04  8:40     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2021-06-03 12:58 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 5575, handa, jidanni

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Thu, 03 Jun 2021 11:19:50 +0200
> Cc: 5575@debbugs.gnu.org, handa@etl.go.jp
> 
> jidanni@jidanni.org writes:
> 
> > Flyspell mode has a bug where all the UTF-8 characters connected to the
> > misspelled word also turn red. E.g.,
> >
> > 1. 晚上到Janet家打擾一晚
> > 2. 晚上預計討論今年wronglyspelledword團體的工作--想豐富蝶園網站的內容
> >
> > 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".
> 
> Chong fixed the leading part, but trailing characters are apparently
> still mis-underlined:

"We have the technology."  Should be fixed now, please test.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#5575: 23.1.92; Flyspell makes neighboring Chinese text turn red too
  2021-06-03 12:58   ` Eli Zaretskii
@ 2021-06-04  8:40     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-06-04  8:40 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 5575, handa, jidanni

Eli Zaretskii <eliz@gnu.org> writes:

> "We have the technology."  Should be fixed now, please test.

Yup; this works as expected now in the test case.

(Closing the bug report.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-04  8:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-13 18:07 bug#5575: 23.1.92; Flyspell makes neighboring Chinese text turn red too jidanni
2010-02-16 14:55 ` Chong Yidong
2021-06-03  9:19 ` Lars Ingebrigtsen
2021-06-03 12:58   ` Eli Zaretskii
2021-06-04  8:40     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).