emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fixing for search.c


From: Kenichi Handa
Subject: Re: fixing for search.c
Date: Fri, 1 Apr 2005 10:25:34 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Kenichi Handa <address@hidden> writes:

> As I wrote before, currently these codes are commented out:
>   ;;(set-downcase-syntax  ?İ ?i tbl)
>   ;;(set-upcase-syntax    ?I ?ı tbl)

> because search and regex don't handle these cases correclty.

I've just installed the following changes to fix the above
problem.  As Richard asked me to test them locally for a
while, I've used them for about 10 days and found no
problem.  But, if you find some case-related problem in
search/regexp, perhaps these changes should be doubted at
first.

2005-04-01  Kenichi Handa  <address@hidden>

        * lisp.h (Vascii_upcase_table, Vascii_canon_table,
        Vascii_eqv_table): Extern them.

        * casetab.c (set_case_table): If standard is nonzero, setup
        Vascii_upcase_table, Vascii_canon_table, and Vascii_eqv_table.

        * search.c (looking_at_1): Use current_buffer->case_canon_table,
        not DOWNCASE_TABLE.
        (string_match_1): Likewise.
        (fast_c_string_match_ignore_case): Use Vascii_canon_table, not
        Vascii_downcase_table.
        (fast_string_match_ignore_case): Likewise.
        (search_buffer): Fix checking of boyer-moore usability.
        (boyer_moore): Calculate translate_prev_byte1/2/3 in advance.  No
        need of tranlating characters in PAT.  Fix calculation of
        simple_translate.

---
Ken'ichi HANDA
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]