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: Drew Adams
Subject: RE: char equivalence classes in search - why not symmetric?
Date: Sat, 12 Sep 2015 08:59:12 -0700 (PDT)

> > Correct.  We are agreeing about the facts, which is good.  Per
> > proposal:
> >
> > With char folding ON:
> >
> > (1) Search for A with or without any accent.
> > (2) Search for "each accented variant of A that exists in
> >     Unicode", with or without any accent.
> 
> That seems to be a description of how it works now.

No, it is not meant to.

#2 means use any of the variants (in the search string) to
search for any of the variants (in the text being searched).
It is the proposal of this thread.

(#2 was admittedly expressed not so well (I tried to reuse
your two expressions, and the result of combining them was
clumsy.)

Currently, to search for all of the variants (any of them,
indifferently), you must use the base character in the
search string.  You cannot use any of the variants in the
search string, to get the same effect.  Only the base char
lets you search for the class, i.e., use char folding.

(But I think you already realized this.)



reply via email to

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