bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#40216: 28.0.50; Misinformation in isearch char-fold


From: Eli Zaretskii
Subject: bug#40216: 28.0.50; Misinformation in isearch char-fold
Date: Fri, 27 Mar 2020 10:24:27 +0300

> From: Juri Linkov <juri@linkov.net>
> Cc: Eli Zaretskii <eliz@gnu.org>,  40216@debbugs.gnu.org
> Date: Fri, 27 Mar 2020 01:04:12 +0200
> 
> I tried to find Røbert by typing Robert, but char-fold fails to find it.
> A bug in char-fold?

I don't think it's a bug, because ø doesn't have a decomposition in
the Unicode character database:

   (get-char-code-property ?ø 'decomposition) => (248)

(i.e. the character "decomposes" into itself).  By contrast:

   (get-char-code-property ?á 'decomposition) => (97 769)

(i.e. á decomposes into a followed by U+0301 COMBINING ACUTE ACCENT).

So if one wants to support the kind of folding you expected, one would
have to customize char-fold-include to add those additional rules.





reply via email to

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