From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36940: tests slowness and failure after recent Tramp changes Date: Sun, 25 Aug 2019 12:51:05 +0300 Message-ID: <83pnkth8ty.fsf@gnu.org> References: <57e233fe-19e9-6eac-7fd5-7e181879d4df@cs.ucla.edu> <87h86uh2l6.fsf@gmx.de> <1bec46f5-01e7-5ea4-5562-501185d80ecf@cs.ucla.edu> <87v9vaf4sk.fsf@gmx.de> <87r25xf1dn.fsf@gmx.de> <8736ibkbne.fsf@gmx.de> <87mughfj96.fsf@gmx.de> <470b50ab-6658-e3cb-cd59-916c398c442f@cs.ucla.edu> <87h86of1tm.fsf@gmx.de> <87v9v0avhm.fsf@gmx.de> <8736hryoi1.fsf@gmx.de> <87lfvhy4qp.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="162649"; mail-complaints-to="usenet@blaine.gmane.org" Cc: eggert@cs.ucla.edu, stefan@marxist.se, 36940@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 25 11:52:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i1pC1-000gBr-KA for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Aug 2019 11:52:13 +0200 Original-Received: from localhost ([::1]:41532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1pC0-0001jP-1L for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Aug 2019 05:52:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46900) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1pBr-0001jH-Fo for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2019 05:52:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1pBq-0005if-Cx for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2019 05:52:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34760) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i1pBq-0005iM-88 for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2019 05:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i1pBq-00089k-2Z for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2019 05:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Aug 2019 09:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36940 X-GNU-PR-Package: emacs Original-Received: via spool by 36940-submit@debbugs.gnu.org id=B36940.156672667631282 (code B ref 36940); Sun, 25 Aug 2019 09:52:02 +0000 Original-Received: (at 36940) by debbugs.gnu.org; 25 Aug 2019 09:51:16 +0000 Original-Received: from localhost ([127.0.0.1]:43581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1pB5-00088T-Ro for submit@debbugs.gnu.org; Sun, 25 Aug 2019 05:51:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1pB4-00088F-Lo for 36940@debbugs.gnu.org; Sun, 25 Aug 2019 05:51:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i1pAy-0004zb-Fw; Sun, 25 Aug 2019 05:51:08 -0400 Original-Received: from [176.228.60.248] (port=3164 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i1pAx-0001XD-QA; Sun, 25 Aug 2019 05:51:08 -0400 In-reply-to: <87lfvhy4qp.fsf@gmx.de> (message from Michael Albinus on Sun, 25 Aug 2019 11:27:26 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:165817 Archived-At: > From: Michael Albinus > Date: Sun, 25 Aug 2019 11:27:26 +0200 > Cc: Paul Eggert , 36940@debbugs.gnu.org > > What I see is that the string to be searched for in the tests is > different from what the test should use. The test declares the string > > "Γυρίστε το Γαλαξία με Ώτο Στοπ" > > The fourth character is "ί", which is > > character: ί (displayed as ί) (codepoint 943, #o1657, #x3af) > name: GREEK SMALL LETTER IOTA WITH TONOS > > In your search, the following string is used instead > > "Γυρίστε το Γαλαξία με Ώτο Στοπ" > > The fourth character is replaced by the two characters "ί", which are > > character: ι (displayed as ι) (codepoint 953, #o1671, #x3b9) > name: GREEK SMALL LETTER IOTA > > character: ́ (displayed as ́) (codepoint 769, #o1401, #x301) > name: COMBINING ACUTE ACCENT > > I have no idea how and why the replacement happened. Could somebody with > UTF-8 background chime in, please? Or is it a font issue? Darwin filesystem under utf-8-hfs uses decomposed strings for file names. What you see is the result of that decomposition: ί was decomposed into ι followed by the acute accent, a combination that displays the same as the original precomposed letter, but is different when binary-compared. 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.