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: Mon, 26 Aug 2019 12:59:33 +0300 Message-ID: <83lfvgfdru.fsf@gnu.org> References: <57e233fe-19e9-6eac-7fd5-7e181879d4df@cs.ucla.edu> <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> <83pnkth8ty.fsf@gnu.org> <83mufxh820.fsf@gnu.org> <87ftlpxz89.fsf@gmx.de> <83imqlh3st.fsf@gnu.org> <877e71xyax.fsf@gmx.de> <83ftlph2wx.fsf@gnu.org> <87blwcwabb.fsf@gmx.de> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="242540"; 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 Mon Aug 26 12:00:16 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 1i2BnK-0010s9-PQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Aug 2019 12:00:14 +0200 Original-Received: from localhost ([::1]:51346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2BnI-0001wD-Oz for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Aug 2019 06:00:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33069) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2BnA-0001w3-Uq for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2019 06:00:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2Bn9-0006TN-RO for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2019 06:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36803) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2Bn9-0006TD-OH for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2019 06:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i2Bn9-0006bQ-LI for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2019 06:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Aug 2019 10:00:03 +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.156681358525314 (code B ref 36940); Mon, 26 Aug 2019 10:00:03 +0000 Original-Received: (at 36940) by debbugs.gnu.org; 26 Aug 2019 09:59:45 +0000 Original-Received: from localhost ([127.0.0.1]:45623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2Bmo-0006aA-G1 for submit@debbugs.gnu.org; Mon, 26 Aug 2019 05:59:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2Bmk-0006Zk-MW for 36940@debbugs.gnu.org; Mon, 26 Aug 2019 05:59:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i2Bme-0006B8-J3; Mon, 26 Aug 2019 05:59:32 -0400 Original-Received: from [176.228.60.248] (port=4034 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i2Bmd-0007V2-V2; Mon, 26 Aug 2019 05:59:32 -0400 In-reply-to: <87blwcwabb.fsf@gmx.de> (message from Michael Albinus on Mon, 26 Aug 2019 11:22:16 +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:165896 Archived-At: > From: Michael Albinus > Cc: eggert@cs.ucla.edu, stefan@marxist.se, 36940@debbugs.gnu.org > Date: Mon, 26 Aug 2019 11:22:16 +0200 > > > Are the strings returned by the remote compared as unibyte strings? > > If not, maybe there's a subtle bug in the comparison that does fail. > > For example, could it be that you decode those strings as utf-8, not > > as utf-8-hfs? The latter should produce back the composed characters, > > I think. > > The error happens while searching in a process buffer, which is set properly: > > 14:40:39.573073 tramp-open-connection-setup-interactive-shell (5) # Setting coding system to `utf-8-hfs' and `utf-8-hfs-mac' > > But the search string needs to be normalized as proposed by you. Will do. Sorry for bothering you, but now I am confused. If the process buffer's contents is decoded with utf-8-hfs, then decoding should have composed the characters back, I believe. So the text to be searched in the buffer should use the precomposed character U+03AF GREEK SMALL LETTER IOTA WITH TONOS. Is that so? And if so, is the problem with the regexp you pass to re-search-forward? Then where did that regexp come from -- maybe the problem happens while you produce that regexp? Feel free to ignore my questions if they are just a distraction, due to my unfamiliarity with the text internals.