emacs-devel
[Top][All Lists]
Advanced

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

Re: char equivalence classes in search - why not symmetric?


From: David Kastrup
Subject: Re: char equivalence classes in search - why not symmetric?
Date: Thu, 10 Sep 2015 08:57:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Drew Adams <address@hidden> writes:

>>   > They are equivalence classes.  The chars are equivalent when searched
>>   > for (with char folding turned on).
>> 
>> No, they aren't.  For instance, A and Á are not equivalent in search.
>> Searching for A will match Á, but searching for Á will not match A.
>
> Please read what I said: "The chars are equivalent when searched for."
>                                                    ^^^^^^^^^^^^^^^^^

They aren't.  Searching with the search string "Á" will find "Á" but not
"A".

> I did *not* say, as you say, that they are "equivalent in search."
> I tried to carefully distinguish the two uses of the chars: when used
> as search targets (they are currently equivalent) vs when used in the
> search string (they are not equivalent, currently).

Yes, there is a distinction between search targets and search spec.  But
they are different in either category.

-- 
David Kastrup



reply via email to

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