From: Juri Linkov <juri@jurta.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 13084@debbugs.gnu.org
Subject: bug#13084: boyer_moore crashes with certain characters in the case table
Date: Wed, 12 Dec 2012 11:27:50 +0200 [thread overview]
Message-ID: <871uevsknt.fsf@mail.jurta.org> (raw)
In-Reply-To: <83lid39b6v.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 12 Dec 2012 05:55:04 +0200")
>> Does this mean there are no more obstacles to filling a translation table
>> for ignoring equivalence with all character mappings according to the
>> `decomposition' property? This would be the first step in this direction.
>
> I'm not sure I understand what you are asking. Please show more details.
There is confusion with the word `equivalence'. Currently there
exists the case equivalence table in the case table (`case_eqv_table').
Implementing a diacritic search in bug#13041 requires adding a new
similar table. I don't know what would be a good name:
`decomposition_eqv_table' or `normalization_eqv_table' or something better.
I'm unfamiliar with the details of `search_buffer', but in principle
using two tables in the macro `TRANSLATE' could implement a diacritic
search where at the first step the character will be translated using
`decomposition_eqv_table', and after that the resulting character
will be translated using `case_eqv_table'.
So the dataflow to get the canonical character will be Á -> A -> a.
If `case-fold-search' is nil, then Á -> A. If a new variable
`decomposition-search' (or `normalized-search') is nil then Á -> á.
next prev parent reply other threads:[~2012-12-12 9:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-05 0:34 bug#13084: boyer_moore crashes with certain characters in the case table Juri Linkov
2012-12-11 15:37 ` Eli Zaretskii
2012-12-11 23:17 ` Juri Linkov
2012-12-12 3:55 ` Eli Zaretskii
2012-12-12 9:27 ` Juri Linkov [this message]
2012-12-12 10:21 ` martin rudalics
2012-12-12 10:31 ` Juri Linkov
2012-12-12 12:43 ` martin rudalics
2012-12-12 16:47 ` Eli Zaretskii
2012-12-12 23:05 ` Juri Linkov
2012-12-13 13:39 ` Kenichi Handa
2012-12-13 17:32 ` Eli Zaretskii
2012-12-15 13:17 ` Kenichi Handa
2012-12-15 13:55 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871uevsknt.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=13084@debbugs.gnu.org \
--cc=eliz@gnu.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 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).