Subject: bug#13041: 24.2; diacritic-fold-search

From: Eli Zaretskii <[email-masked]>
Date: Thu, 06 Dec 2012 19:53:20 +0200

> Date: Thu, 06 Dec 2012 11:28:05 +0100
> From: martin rudalics <[email-masked]>
> CC: 'Eli Zaretskii' <[email-masked]>, [email-masked], 
>  [email-masked], [email-masked]
> 
>  >> `ignore-diacritics' is misleading.  The variable would have
>  >> to be called `observe-decompositions' or something the like.
>  >
>  >
>  > 1. "Observe decompositions" doesn't mean anything to me.  The verb should
>  > probably be more active - what does it mean to observe the char decompositions
>  > here?
>  >
>  > BTW, if we use "decomposition" in the name and description then we should
>  > probably also use "char" - this is not about decomposing strings in some way
>  > (whatever that might mean); it involves decomposing Unicode characters.
> 
> `ignore-diacritics' is misleading because when we, for example,
> sort/match ligatures we already do more than ignore diacritics.  A
> variable using the term `observe-decompositions' would express what the
> underlying algorithm does - observe the decomposition properties
> provided by `get-char-code-property'.

I would suggest something like equivalence-search or maybe
loose-match-search.  The latter is slightly less suitable, since loose
matches include not just decompositions, see the Unicode Regular
Expressions report.