unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nathan Trapuzzano <nbtrap@nbtrap.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 17130@debbugs.gnu.org
Subject: bug#17130: 24.4.50; Deficient Unicode case folding
Date: Sat, 29 Mar 2014 16:15:34 -0400	[thread overview]
Message-ID: <87siq0sqvt.fsf@nbtrap.com> (raw)
In-Reply-To: <83txagdbrb.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Mar 2014 22:51:20 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Nathan Trapuzzano <nbtrap@nbtrap.com>
>> Cc: 17130@debbugs.gnu.org
>> Date: Sat, 29 Mar 2014 14:36:42 -0400
>> 
>> Er, let me rephrase.  Case _conversion_ (such as in case-preserving
>> replace) and case _folding_ (such as ought be used in case-insensitive
>> searching) are orthogonal.
>
> But they can very well use the same database.

It's not clear what you mean.

We already have a place to store upper- and lower- case variants.  What
I'm proposing is to use the CANONICALIZE slot as a place to store the
case-folding mapping.  If this would mess up Emacs' case-preserving
replace, then I think that would just mean that case-preserving replace
is broken.  There is no such case as "canonicalize"--you can't say, "Oh,
this string is in the canonical case, so when I want to replace it with
this other string in canonical case".  A case-preserving replace should
only consult the upper- and lower-case slots (and perhaps the title-case
slot if it existed).





  reply	other threads:[~2014-03-29 20:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-28 12:07 bug#17130: 24.4.50; Deficient Unicode case folding Nathan Trapuzzano
2014-03-28 15:51 ` Eli Zaretskii
2014-03-28 19:31   ` nbtrap
2014-03-29  6:45     ` Eli Zaretskii
     [not found]       ` <87ob0pnptc.fsf@nbtrap.com>
2014-03-29 13:15         ` Eli Zaretskii
2014-03-29 14:03           ` Nathan Trapuzzano
2014-03-29 14:45             ` Eli Zaretskii
2014-03-29 15:29               ` Nathan Trapuzzano
2014-03-29 17:37                 ` Eli Zaretskii
2014-03-29 18:31                   ` Nathan Trapuzzano
2014-03-29 18:36                     ` Nathan Trapuzzano
2014-03-29 19:51                       ` Eli Zaretskii
2014-03-29 20:15                         ` Nathan Trapuzzano [this message]
2014-03-30  2:45                           ` Eli Zaretskii
2014-03-29 19:50                     ` Eli Zaretskii
2014-03-29 20:01                       ` Nathan Trapuzzano
2019-09-29 14:23 ` Lars Ingebrigtsen

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=87siq0sqvt.fsf@nbtrap.com \
    --to=nbtrap@nbtrap.com \
    --cc=17130@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).