Subject: bug#540 closed by Chong Yidong <[email-masked]> (Re: bug#540: 23.0.60; Unicode search bug)

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#540: 23.0.60; Unicode search bug

It has been closed by Chong Yidong <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <[email-masked]> by
replying to this email.

-- 
540: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=540
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Wed Aug 27 07:32:55 2008
To: Andreas Schwab <[email-masked]>
Cc: [email-masked], Kenichi Handa <[email-masked]>
Subject: Re: bug#540: 23.0.60; Unicode search bug
From: Chong Yidong <[email-masked]>
Date: Wed, 27 Aug 2008 10:34:40 -0400

Andreas Schwab <[email-masked]> writes:

> Should be fixed now.

Thanks!

>From [email-masked] Sun Jul  6 11:45:35 2008
From: Juri Linkov <[email-masked]>
To: [email-masked]
Subject: 23.0.60; Unicode search bug
Organization: JURTA
Date: Sun, 06 Jul 2008 21:43:23 +0300

There is a weird bug in searching Unicode text.  The search function
fails on Cyrillic letters between codepoints #x0400 and #x041f, but
successfully finds a Cyrillic letter between #x0420 and #x042f.

I tried to debug this and see that in case of failure
it calls `boyer_moore', and in case of successful search
it calls `simple_search'.  I checked the Unicode properties,
but everything seems correct.

This bug didn't exist before the Unicode merge.

The easiest way to reproduce it: run `emacs -Q',
put in the *scratch* buffer the following 4 lines
(note the leading space):

(search-forward " ð" nil t)
(search-forward " ò" nil t)
 ð
 ò

and type `C-x C-e' after each of first two lines.

In GNU Emacs 23.0.60 (x86_64-pc-linux-gnu)
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

-- 
Juri Linkov
http://www.jurta.org/emacs/