all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Subject: Re: fixing for search.c
Date: Fri, 1 Apr 2005 10:25:34 +0900 (JST)	[thread overview]
Message-ID: <200504010125.KAA07232@etlken.m17n.org> (raw)
In-Reply-To: <200503210254.LAA27289@etlken.m17n.org> (message from Kenichi Handa on Mon, 21 Mar 2005 11:54:08 +0900 (JST))

In article <200503210254.LAA27289@etlken.m17n.org>, Kenichi Handa <handa@m17n.org> 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  <handa@m17n.org>

	* 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
handa@m17n.org

           reply	other threads:[~2005-04-01  1:25 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200503210254.LAA27289@etlken.m17n.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200504010125.KAA07232@etlken.m17n.org \
    --to=handa@m17n.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.