From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler' Date: Mon, 12 Jun 2017 17:59:23 +0200 Message-ID: <87ink19oys.fsf@detlef> References: <88de418a-0e23-9ff7-5cea-cd2add2dab8c@Alexander.Shukaev.name> <87bmpusx8r.fsf@detlef> <248917d4-c8a7-a083-22d1-20ffe7f4fbe5@Alexander.Shukaev.name> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1497283289 452 195.159.176.226 (12 Jun 2017 16:01:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Jun 2017 16:01:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27315@debbugs.gnu.org To: Alexander Shukaev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 12 18:01:21 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKRmK-0007tG-7a for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jun 2017 18:01:20 +0200 Original-Received: from localhost ([::1]:38881 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKRmL-0001HR-M4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jun 2017 12:01:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKRl8-0000SQ-Cx for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2017 12:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKRl5-00077D-3l for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2017 12:00:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41007) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dKRl5-000777-0Q for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2017 12:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dKRl4-0000ig-NO for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2017 12:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Jun 2017 16:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27315 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27315-submit@debbugs.gnu.org id=B27315.14972831742678 (code B ref 27315); Mon, 12 Jun 2017 16:00:02 +0000 Original-Received: (at 27315) by debbugs.gnu.org; 12 Jun 2017 15:59:34 +0000 Original-Received: from localhost ([127.0.0.1]:43684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKRkb-0000h7-Md for submit@debbugs.gnu.org; Mon, 12 Jun 2017 11:59:34 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:57550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKRka-0000gq-Fo for 27315@debbugs.gnu.org; Mon, 12 Jun 2017 11:59:33 -0400 Original-Received: from detlef.gmx.de ([212.86.60.104]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LvDpe-1e1myU0qfa-010Ket; Mon, 12 Jun 2017 17:59:24 +0200 In-Reply-To: <248917d4-c8a7-a083-22d1-20ffe7f4fbe5@Alexander.Shukaev.name> (Alexander Shukaev's message of "Sun, 11 Jun 2017 13:30:14 +0200") X-Provags-ID: V03:K0:yDVOUFnwFj2/9pnY3y5Ps3+O8K+y8mcYDba7F7zV7e1PyvVjlCx T6+snbs+kqI8k12PMIInRUAEXmkXe1MawlQZ0xTsieuO7BlVywQSQYPc8IbdnrtMn7qcE/i EX0kqwws1iwNXl5J4U0hLZnsMl/V8L3BaasdvDDvtnZykUKtIA1p3l3iY9G5YnJKRYRkrAk I/ZVWtCSGKj1hQLLCUjpA== X-UI-Out-Filterresults: notjunk:1;V01:K0:DWPWTCJeYIo=:WuNheHis2KW5OKEMsvYF/z ey+VI2p+sh478nK3H2Se2fKpTbMZJ84l4W6u+PJieq1rIxyAz6jlw7abYuYBysv7by7e1lle6 cp1vDFoEPEp6Xr8/sxejfkbkeSWYcF/iExv6iSuFZVVs+EAxIrXNIv9TqOFr+Rico/6+2ybZ/ 6V1QkT4ORmwk+zBUyCbpiwSIdduwlAfiDE53aBTxT0oLGHg6bBE8tszzHVK5+4lINlGFT0C2a zqO4YM5xToUvhLA2Ts0Fne/kF3mIW3VlpK9rCNkrcwjm6XSg//rz74fr98O3+R8axiKxxAlmS fIa1jFaCfdeFyNAgMIcsCSn5QEDG2IyoiV9FpSWai8LdPpKl7I5yRfN0QVVpcu5wv/k42mINS BYezQHLvZnrEti6WBSHh3juobJfZRuLhewD45Ebul8mHBdHALggl5P0p574Np8fWmMsXvCtFv JQf8Wda26xEvItMsm5VYsAdFwFHk7d16eb1NwdL/u4KPYJrgbtxJQBpZiHTIVKkPZcXQBnJ9k GwBDpRDiwY8ErdN02QZiIRf1AllIklIlLfjmyiLtvjNjJkfYEISx5Ntc2RblWu/ZRRe0Io7xj RGII08IMTOAMvdDQhojh8vA56KkVQocyI0TpHEDPxUGCBkoq2FN+8K+YDor18uPraieTQlJym GHUjeL3Vb7UzUFP8nANC5BILjYjgd0ZZnKY3hP1Bt4dptjq+435H4Q0GALeC+6dLIbzcJ28PO WjA5XVPkfyak0LNRZKxODQGTLZxyt5NJJOL3vooaJJwcW3Z0Qjrq9gX593VhBgadukg2/Lx/ 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: 208.118.235.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:133513 Archived-At: Alexander Shukaev writes: Hi Alexander, >> If the problem persists, could you pls set tramp-verbose to 10, prior >> running your test? There will be a Tramp debug buffer then. > > For the previous test, I've built Emacs from 'master' just a few > commits before the one you referenced. So, I've just rebuilt it again > in order to capture your commit and the problem remains: I ran the same test, with same trace level. For a while, traces are identic= al. > ;; Emacs: 26.0.50 Tramp: 2.3.2-pre -*- mode: outline; -*- > ;; Location: /usr/share/emacs/26.0.50/lisp/net/tramp.elc Git: > 973322704adf11cf2ac442e4d0b35eac71ace972 > 13:20:14.493721 tramp-get-connection-property (7) # ~root undef > 13:20:14.493981 tramp-get-connection-property (7) # process-name nil > 13:20:14.494130 tramp-get-connection-property (7) # process-name nil > 13:20:14.494264 tramp-get-connection-property (7) # process-buffer nil > 13:20:14.494415 tramp-get-connection-property (7) # process-buffer nil > 13:20:14.494543 tramp-set-connection-property (7) # process-buffer nil > 13:20:14.495003 tramp-maybe-open-connection (3) # Opening connection > for root@host using sudo... > 13:20:14.495676 tramp-get-connection-property (7) # login-args undef > 13:20:14.495904 tramp-get-connection-property (7) # login-args undef > 13:20:14.496217 tramp-get-connection-property (7) # process-name nil > 13:20:14.496382 tramp-get-connection-property (7) # process-buffer nil > 13:20:14.497168 tramp-set-connection-property (7) # vector > (tramp-file-name sudo root nil host nil ~/xxx nil) > 13:20:14.497357 tramp-maybe-open-connection (6) # /bin/sh -i > 13:20:14.497496 tramp-get-connection-property (7) # vector > (tramp-file-name sudo root nil host nil ~/xxx nil) > 13:20:14.497652 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.497781 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.503446 tramp-accept-process-output (10) # *tramp/sudo > root@host* run t > #$ > 13:20:14.503622 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.503753 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.503893 tramp-wait-for-regexp (6) # > #$ > 13:20:14.504046 tramp-get-connection-property (7) # login-program undef > 13:20:14.504188 tramp-get-connection-property (7) # login-args undef > 13:20:14.504329 tramp-get-connection-property (7) # login-env undef > 13:20:14.504466 tramp-get-connection-property (7) # async-args undef > 13:20:14.504607 tramp-get-connection-property (7) # connection-timeout un= def > 13:20:14.504739 tramp-get-connection-property (7) # temp-file undef > 13:20:14.504966 tramp-set-connection-property (7) # temp-file > /tmp/tramp.2864657P > 13:20:14.575140 tramp-maybe-open-connection (3) # Sending command > =E2=80=98exec env SHELL=3D/bin/sh sudo -u root -s -H -p > P""a""s""s""w""o""r""d"":=E2=80=99 > 13:20:14.575246 tramp-get-connection-property (7) # process-name nil > 13:20:14.575320 tramp-get-connection-property (7) # remote-echo nil > 13:20:14.575383 tramp-send-command (6) # exec env SHELL=3D/bin/sh sudo > -u=20 > root -s -H -p P""a""s""s""w""o""r""d"": > 13:20:14.575454 tramp-get-connection-property (7) # process-name nil > 13:20:14.575524 tramp-get-connection-property (7) # chunksize nil > 13:20:14.575587 tramp-set-connection-property (7) # last-cmd-time > (22845 10094 575567 749000) > 13:20:14.575657 tramp-send-string (10) # exec env SHELL=3D/bin/sh sudo > -u=20 > root -s -H -p P""a""s""s""w""o""r""d"": > 13:20:14.575725 tramp-get-connection-property (7) # process-buffer nil > 13:20:14.575917 tramp-set-connection-property (7) # first-password-reques= t t > 13:20:14.576072 tramp-process-actions (3) # Waiting for prompts from > remote shell... > 13:20:14.585091 tramp-accept-process-output (10) # *tramp/sudo > root@host* run t > Password: > 13:20:14.585190 tramp-process-one-action (5) # Looking for regexp > "\(.*\(user\|login\)\( .*\)?: *\)\'" from remote shell > 13:20:14.585256 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.585319 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.585410 tramp-process-one-action (5) # Looking for regexp > "\(^.*\(\(?:adgangskode\|contrase\(?:\(?:ny\|=C3=B1\)a\)\|geslo\|h\(?:\(?= :as=C5=82\|esl\)o\)\|iphasiwedi\|jelsz=C3=B3\|l\(?:ozinka\|=C3=B6senord\)\|= m\(?:ot > de passe\|=E1=BA=ADt kh=E1=BA=A9u\)\|pa\(?:rola\|s\(?:ahitza\|s\(?: > phrase\|code\|ord\|phrase\|wor[dt]\)\|vorto\)\)\|s\(?:alasana\|enha\|lapt= a=C5=BEodis\)\|wachtwoord\|=D0=BB=D0=BE=D0=B7=D0=B8=D0=BD=D0=BA=D0=B0\|=D0= =BF=D0=B0=D1=80=D0=BE=D0=BB=D1=8C\|=D7=A1=D7=A1=D7=9E=D7=94\|=D9=83=D9=84= =D9=85=D8=A9 > =D8=A7=D9=84=D8=B3=D8=B1\|=E0=A4=97=E0=A5=81=E0=A4=AA=E0=A5=8D=E0=A4=A4= =E0=A4=B6=E0=A4=AC=E0=A5=8D=E0=A4=A6\|=E0=A4=B6=E0=A4=AC=E0=A5=8D=E0=A4=A6= =E0=A4=95=E0=A5=82=E0=A4=9F\|=E0=A6=97=E0=A7=81=E0=A6=AA=E0=A7=8D=E0=A6=A4= =E0=A6=B6=E0=A6=AC=E0=A7=8D=E0=A6=A6\|=E0=A6=AA=E0=A6=BE=E0=A6=B8=E0=A6=93= =E0=A7=9F=E0=A6=BE=E0=A6=B0=E0=A7=8D=E0=A6=A1\|=E0=A8=AA=E0=A8=BE=E0=A8=B8= =E0=A8=B5=E0=A8=B0=E0=A8=A1\|=E0=AA=AA=E0=AA=BE=E0=AA=B8=E0=AA=B5=E0=AA=B0= =E0=AB=8D=E0=AA=A1\|=E0=AC=AA=E0=AD=8D=E0=AC=B0=E0=AC=AC=E0=AD=87=E0=AC=B6 > =E0=AC=B8=E0=AC=99=E0=AD=8D=E0=AC=95=E0=AD=87=E0=AC=A4\|=E0=AE=95=E0=AE= =9F=E0=AE=B5=E0=AF=81=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0=AF=8A=E0=AE=B2=E0=AF=8D= \|=E0=B0=B8=E0=B0=82=E0=B0=95=E0=B1=87=E0=B0=A4=E0=B0=AA=E0=B0=A6=E0=B0=AE= =E0=B1=81\|=E0=B2=97=E0=B3=81=E0=B2=AA=E0=B3=8D=E0=B2=A4=E0=B2=AA=E0=B2=A6\= |=E0=B4=85=E0=B4=9F=E0=B4=AF=E0=B4=BE=E0=B4=B3=E0=B4=B5=E0=B4=BE=E0=B4=95= =E0=B5=8D=E0=B4=95=E0=B5=8D\|=E0=B6=BB=E0=B7=84=E0=B7=83=E0=B7=8A=E0=B6=B4= =E0=B6=AF=E0=B6=BA\|=E1=9E=96=E1=9E=B6=E1=9E=80=E1=9F=92=E1=9E=99=E1=9E=9F= =E1=9E=98=E1=9F=92=E1=9E=84=E1=9E=B6=E1=9E=8F=E1=9F=8B\|=E3=83=91=E3=82=B9 > =E3=83=AF=E3=83=BC=E3=83=89\|=E5=AF=86[=E7=A0=81=E7=A2=BC]\|=EC=95=94=ED= =98=B8\)\).*: > 13:20:14.585488 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.585547 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.585636 tramp-process-one-action (5) # Call =E2=80=98tramp-action= -password=E2=80=99 > 13:20:14.585702 tramp-get-connection-property (7) # first-password-reques= t t > 13:20:14.585763 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.585825 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.586027 tramp-action-password (3) # Sending Password > 13:20:14.586114 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.586221 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.586407 tramp-get-connection-property (7) # first-password-reques= t t ... until here. In my traces, Tramp continues to wait for the shell prompt. In your traces, Tramp tries to determine, whether the file system is case-insensitive. > 13:20:14.590398 tramp-get-connection-property (7) # case-insensitive undef > 13:20:14.590502 tramp-get-connection-property (7) # case-insensitive undef > 13:20:14.602433 tramp-handle-file-name-case-insensitive-p (5) # > Checking case-insensitive... There's no reason to do this at this point, I've checked the sources. So I have instrumented `tramp-handle-file-name-case-insensitive-p' to print its backtrace, in order to understand where it is called from. Committed to master. Could you, pls, rerun your test with `tramp-verbose' being 10? > Regards, > Alexander Best regards, Michael.