Subject: bug#36940: tests slowness and failure after recent Tramp changes

From: Eli Zaretskii <[email-masked]>
Date: Sun, 25 Aug 2019 13:07:51 +0300

> Date: Sun, 25 Aug 2019 12:51:05 +0300
> From: Eli Zaretskii <[email-masked]>
> Cc: [email-masked], [email-masked], [email-masked]
> 
> I think you should run the strings through
> ucs-normalize-HFS-NFD-string before comparing them, when the
> en/decoding is done with utf-8-hfs.  Alternatively, use the facilities
> in char-fold.el to generate a more lax regexp for your search in
> tramp--test-check-files.

As yet another possibility, avoid decomposable characters in the
strings you use altogether.  You can find out whether a given
character CH can be decomposed like this:

  (get-char-code-property CH 'decomposition)

For characters that have no decomposition, this should return a list
with a single element equal to CH.