From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Yegor Timoshenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 May 2017 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 26911@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149469348317368 (code B ref -1); Sat, 13 May 2017 16:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 May 2017 16:38:03 +0000 Received: from localhost ([127.0.0.1]:43169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9a3P-0004Vv-4U for submit@debbugs.gnu.org; Sat, 13 May 2017 12:38:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9Zhq-0003yU-EH for submit@debbugs.gnu.org; Sat, 13 May 2017 12:15:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Zhk-0002ac-7Z for submit@debbugs.gnu.org; Sat, 13 May 2017 12:15:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d9Zhk-0002aY-4B for submit@debbugs.gnu.org; Sat, 13 May 2017 12:15:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Zhj-0007vT-0p for bug-gnu-emacs@gnu.org; Sat, 13 May 2017 12:15:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Zhf-0002Zs-0K for bug-gnu-emacs@gnu.org; Sat, 13 May 2017 12:15:38 -0400 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:35776) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d9Zhe-0002Z5-PW for bug-gnu-emacs@gnu.org; Sat, 13 May 2017 12:15:34 -0400 Received: by mail-lf0-x235.google.com with SMTP id j1so13941710lfh.2 for ; Sat, 13 May 2017 09:15:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=DD2Pv/aK4auoBXaNDSwAmRQEmDTbM+EiMKheC8Ls5vg=; b=U5M9zpj++VlMYXVbr/6dgOmufCbdQazySqMDa/tqXZwrEHfSD5kSnbx3WfTzQ6ll3Q VAe+/J/ezIUZFV/pWZ7qmqo0HzPFVmEE/82HH7z61c+eunNUjvZH2wjew871I/mokxb5 FFg8J6x32BXQECZDt7bbj1T3QvB7PVxBa1x9diAK+AM5T/kismWRlZxar6s3aMMc2+Be r3gDSvKbXVBjMMVJWIbsAUFGcJAFFOzhNrmUXAMhYYIZbG+nKaT2Cf/dvvZNO2JhObpN 6KopLTGdXcndu0j3wk40hA3jHXsuLgdcmUJWaFf0BpCu2hfaH4vGKlU4+hj+GIe3C6ds US+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=DD2Pv/aK4auoBXaNDSwAmRQEmDTbM+EiMKheC8Ls5vg=; b=WN0MTY630ctlwzEzxCyBSphOCBpVkFXAbU8IxLcpOkPwUiWsEpuCShYSbcqFFzS4V/ veDEGXSbEEMB1bEN0ML0fm7nucggUoWY6zFxzfJ4tnXPUmcwbi3FD5ImD1HXNUGQjvws wqPtFAc2311WcVvVCPFuKNcxs4O2+OMiu0d0SrVop0apnIwwGnFF2SWtyme2UcDrcWMe 4M2c5IUnTDJt2ZvjotwJs3Ux4F+0/lL4oWVDGKXLL3Y5B4lLdhziTiWICA2KWt/7RqNs JbkW3NgfNNT1rPUya04xLBSCG9bri73UL2Mx0tMyLd2nYYVEY5tZPehYsKCjX5/DKP+b yCaQ== X-Gm-Message-State: AODbwcAjKidBc8szXtwf+StbTC3k7Oh4olzqKGuB0hnR/AieUx6kkdXq ikI8mcq/iM/zeYTasBU= X-Received: by 10.46.83.12 with SMTP id h12mr123378ljb.28.1494692131777; Sat, 13 May 2017 09:15:31 -0700 (PDT) Received: from [192.168.0.6] ([91.188.184.82]) by smtp.gmail.com with ESMTPSA id y63sm1142798lfc.29.2017.05.13.09.15.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 May 2017 09:15:30 -0700 (PDT) From: Yegor Timoshenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Message-Id: Date: Sat, 13 May 2017 19:15:30 +0300 X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Sat, 13 May 2017 12:38:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Steps to reproduce: M-x eshell cd /user@remote.com:/ cd bin cd .. pwd Expected output: /user@remote.com: Actual output: /user@remote.com:/home/user Reproducible in default Emacs 25.2 install: In GNU Emacs 25.2.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 = Version 10.9.5 (Build 13F1911)) of 2017-04-21 built on builder10-9.porkrind.org Windowing system distributor 'Apple', version 10.3.1504 Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules'= From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 May 2017 18:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Yegor Timoshenko Cc: 26911@debbugs.gnu.org Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.149469995426987 (code B ref 26911); Sat, 13 May 2017 18:26:01 +0000 Received: (at 26911) by debbugs.gnu.org; 13 May 2017 18:25:54 +0000 Received: from localhost ([127.0.0.1]:43235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9bjm-00071D-6m for submit@debbugs.gnu.org; Sat, 13 May 2017 14:25:54 -0400 Received: from mout.gmx.net ([212.227.15.15]:54267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9bji-000710-QY for 26911@debbugs.gnu.org; Sat, 13 May 2017 14:25:51 -0400 Received: from detlef.gmx.de ([178.20.93.243]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MGSDw-1dE3i40Drc-00DDXs; Sat, 13 May 2017 20:25:44 +0200 From: Michael Albinus References: Date: Sat, 13 May 2017 20:25:42 +0200 In-Reply-To: (Yegor Timoshenko's message of "Sat, 13 May 2017 19:15:30 +0300") Message-ID: <871srs4nrt.fsf@detlef> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:aUFFIEy/vRaYpBNk5KzZ8/VrqMraPT6RfhFDPXrXbXh3mRDE1tN 2K79vRNOszDrNU9gJeN6ojsmC0OP1Ebn45r+tww/TUN8BhZxc049BrUnpuVtMWdkBtjbeZ6 YYDOlq71/L4C2/RW23TRwkQi7eXPTbjjCZK6/X9rfp9hEJfRjrlQimvXL8OI6JwngQNQWC7 Q1jaUQ4sWK54HB1FRiRrw== X-UI-Out-Filterresults: notjunk:1;V01:K0:vznNHa6H0uY=:nWTZMPIqM0H+Q0TMEhCwQ6 Da+HxMHCcvBvPoswK/OC4i0uCpNXHu4c78JOuFnOJJACZ3KxBxSEhZIJ5TAJbz9fSfS8N1bRq bz0ImEvfwpncFJMeS0+qG5ZHFTwoOOWKwODiMg6vRepuw7UewEKWtrBBJ9vCZmF/bTo0GIC0S +iV/CrwyzS/7GTCq4xXV1tWxSn/83oPgoqsEcku7pdVKfOKP9jqFzxraGJ+ohCxALL8s8VdJ3 hM5ksDU6E9ZyOQc9sATvT9zqPkmCsU2o3zSzuK8vb0U0hkpJyyqb+HYoecsqK8TAjPCrjMwWI /4RfcEMNMzneNMZ+odtPoZ+cC9xHdqQJyztEjiwphcEqt0VXIra1ntZVo0nVh4HDMj0IkB64+ 0ymOy+KmK3/2D06yrFBKWroqgW772zwf5PgfoMFMtAiKXrwEUlW4rCTbm5KNXnPAKFH57g8ek 0CemwnOuxg4RPcXu3Fb4rq7Q8i14VUYA6Mn82v3NBL0Xt4PRetU1KRuWJUFKg7rde25dRcbD2 tXsaVe6RAEDXbiNxMPCHfvkMuHy4vYaat1u+9hTiBDzGzur5JFhzPO2xlMOxxG7bs1E3V1KnR g9XW3AEPnOsoTCwga9VBEU+8IKoVpBnqWVX/SHdbboNiclTPwp7PYhmHarhal8knYq4+5mkkN 6B50TT6Gs8j5Uqrz1XcaOHzO12+MivvgFFvSV+SPl+2540JuIb86Eo9vxwaSoBv/3PFb/Bb8o kpoiZDMdzF3P15XcwJwQrDL/5ncinPCYPj9ZyaZxmqHd0xfSUm7rVq4YrV9t2fEbZ4UfTD18s ApaJI0e X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) Yegor Timoshenko writes: I could reproduce it. Seems to be like a problem in locate-file, reproducible with (let ((default-directory "/ssh::/bin")) (locate-file ".." '("./"))) I'll dig further. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Yegor Timoshenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 May 2017 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: 26911@debbugs.gnu.org Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.149470022627456 (code B ref 26911); Sat, 13 May 2017 18:31:02 +0000 Received: (at 26911) by debbugs.gnu.org; 13 May 2017 18:30:26 +0000 Received: from localhost ([127.0.0.1]:43239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9bo9-00078m-Oy for submit@debbugs.gnu.org; Sat, 13 May 2017 14:30:25 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:35869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9bo8-00078a-Ae for 26911@debbugs.gnu.org; Sat, 13 May 2017 14:30:24 -0400 Received: by mail-lf0-f68.google.com with SMTP id h4so2454363lfj.3 for <26911@debbugs.gnu.org>; Sat, 13 May 2017 11:30:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=iTD8T44+XjDnrlRh231I4JMhHIL+Gm4Kg4MVgSRsw5A=; b=OwYE/kmSGysUjhC3CagWS/AG8jZIz8d7oUHZ5ZhqDpGJD97Ls84ygqJbVhvTzKf3BW +7VUAkNBxObP6b5GAR7+Ziqrs4epdfc4h7MV6+df/nUFz/LzKtTcSSJTFitDk9nCAbXK WMFC/cM5X1rXHEVYE1qwOO8Gz+tgP1fBwKhyHpmcIEtAl2gAVo7UMvq7tci0EOGTw2ZS plFBd0wWC8QKSF/Aol4+HT8gfkAcDNn40iePS8QHkrtLr0wsXxGWNmRgvt9TSjimyu8d hOsZsXCv9yQqNS7SgYWmsm6bPvXu/pTVFazkVXG5VDqvShQ7DMObGKsH3ezbn/AoFTtl FpQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=iTD8T44+XjDnrlRh231I4JMhHIL+Gm4Kg4MVgSRsw5A=; b=l662QMTnqVcseiaPunWOFgG12qeW/oE50bEqIqI+hkPbhDE63U18R1BQ0yEtnoZ8Gf TOo6+C8SeCfts4hquV9RFGI/ZbDtpA73BWWa6MMAZkfgaEYPP6IjBD91l0wado6LwCd/ LVoZVDgDdjAMHUL8Uh/OFCFOqkG0bTPQNghcKZfmNBMKu+vTbfeM6AtC6XDh/ZkRPZkG tpUIS2V+4WjVl0Bw36vHYN3cK2KemmtZw7EnqJB58WgR/tcC8g99mUH0yYSv9qRcK1/h Ve+rRIqqSlw45i3NGCssmePhiUSIdwdhCT9P/3klxsN2Ab2mQ0jqx0Y93D6MLGMf/mPy oYkg== X-Gm-Message-State: AODbwcBpmCgDOQl06K4nJv86qqYYL7Ud4qBVfsHsUhWqKWzIlqPT3ks7 4TRPatXDoblg9Q== X-Received: by 10.25.152.79 with SMTP id a76mr4016968lfe.165.1494700218565; Sat, 13 May 2017 11:30:18 -0700 (PDT) Received: from [192.168.0.6] ([91.188.184.82]) by smtp.gmail.com with ESMTPSA id g34sm1249141lji.52.2017.05.13.11.30.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 May 2017 11:30:17 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) From: Yegor Timoshenko In-Reply-To: <871srs4nrt.fsf@detlef> Date: Sat, 13 May 2017 21:30:16 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <42DF8DEE-D1C3-4F65-BB17-ED14128B1D17@gmail.com> References: <871srs4nrt.fsf@detlef> X-Mailer: Apple Mail (2.3273) X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) > I could reproduce it. Seems to be like a problem in locate-file, > reproducible with >=20 > (let ((default-directory "/ssh::/bin")) > (locate-file ".." '("./"))) >=20 > I'll dig further. (cd "../") works (with a trailing slash). Just to make it clear, as you've already pointed out, this is not = specific to eshell: cd and locate-file in files.el are also affected.= From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 May 2017 15:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Yegor Timoshenko Cc: 26911@debbugs.gnu.org Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.14948636444584 (code B ref 26911); Mon, 15 May 2017 15:55:01 +0000 Received: (at 26911) by debbugs.gnu.org; 15 May 2017 15:54:04 +0000 Received: from localhost ([127.0.0.1]:46749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAIJw-0001Bs-8K for submit@debbugs.gnu.org; Mon, 15 May 2017 11:54:04 -0400 Received: from mout.gmx.net ([212.227.15.15]:60215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAIJv-0001BQ-AE for 26911@debbugs.gnu.org; Mon, 15 May 2017 11:54:03 -0400 Received: from detlef.gmx.de ([212.86.63.102]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M70HF-1dxK411ewn-00woXy; Mon, 15 May 2017 17:53:56 +0200 From: Michael Albinus References: <871srs4nrt.fsf@detlef> <42DF8DEE-D1C3-4F65-BB17-ED14128B1D17@gmail.com> Date: Mon, 15 May 2017 17:53:54 +0200 In-Reply-To: <42DF8DEE-D1C3-4F65-BB17-ED14128B1D17@gmail.com> (Yegor Timoshenko's message of "Sat, 13 May 2017 21:30:16 +0300") Message-ID: <87lgpy2k19.fsf@detlef> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:AJRdHRdApUOCUxZWM7fqdjPNFpidvDqYCluL94ko+AzQVTNWvCX xRHfJXdDiH1LDcBR+za6DVIiIoTgUafBQEPijMF0wTDSzvyZ5JfktYDmkSQ+0oTSiaMv+Hs Kn9Bov/I9BZj/zhlftIeVaVZesYbrYOaBXaF5Dw48FGeSi13OXGY4q0TL1S3a8cif/kfbZi rBuCQJOu02r9dpHCpHXoQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:hMsBTZ/QhlM=:10uv5wvlfeu0ZYRN8tfH3J ckwg1f0fKcdXvI/I+r5Jeu2/xxWr0eM2OvscgRo0dbc4IQZIPegS6qDQ3xBvjhk610h07IIQc NDj8DkTb6HPubIrNW6tEDTS++gYz38jpunpOs9jvmwwzNp1bwanq+COFRvWWzIkymHAE7t9Zn kEoUH40f9Y7XN6tEZNrg7mgtp4XyXJzdk6NR9c4P7UMTxmKS24qJbgOYn8nYzE+9az6OOjkkS uF4zOYRxyu6Rk1OBhR0Na5pTxMFXfKeSR8sMEEn1+NZ4cKPJIXxvVFQBHdT3hyC+HBQbnTgCr v1+8I0JZ5HGdIwqYDIY1baB3WsWL2Dt5QJ8KODdnm1QCeaq0KkBx0btsSnCyedSUDkmIKNsYG a3jHlc6pJ7DAA+imyv7AvVypMa6un+eYR6HnkmKIRbNq/5gZRAffrjpVRjWOF4M6nnEzUEelY Zw3YND4p3QKWmdVfTMW9JoseQXp/yeyX+Rtn44rXyprVzWowEWw3h5WKqLdSuJ9I9BQMQObG6 DyQ432LRaNzfqi+rD+o7Q60Fwf46ouxjEkzsLaMwsUXkCkkjyh5a9sJ9q9hoIXlLjo+sSZ0ym 8IB52BRjXYCh/wPZAkz1DFyzfEwiHeqEahk6+RRzOihb02R3TYqDke1fSnJktcQ/eMZEHc3eR UQ4MkhAvzWblNPJRYwgnDeQVtj685dGoNB6GJkFHhtcZhV02We2s2DLcRHd/EdYxyiDxY4JRd rDz3S3/XuTaWG2A87XS+5T6QCuxJy1Scqx+fZg3NobUldTRkY/jBAD/jT18LGvItWsbmEnRbM nHe1mgJ X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Yegor Timoshenko writes: Looks to me like a bug in Fexpand_file_name, which does not handle file name handlers properly. Try --8<---------------cut here---------------start------------->8--- (let ((default-directory "/ssh::/bin")) (expand-file-name ".." "./")) --8<---------------cut here---------------end--------------->8--- In fileio.c, lines 1393-1394, the following loop --8<---------------cut here---------------start------------->8--- while (o != target && (--o, !IS_DIRECTORY_SEP (*o))) continue; --8<---------------cut here---------------end--------------->8--- replaces "/ssh:host:/bin/.." by "/ssh:host:". But it should be "/ssh:host:/". I'm not such familiar with that code to fix it. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 12:44:32 2017 Received: (at control) by debbugs.gnu.org; 28 May 2017 16:44:32 +0000 Received: from localhost ([127.0.0.1]:41910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dF1It-0000hK-Ss for submit@debbugs.gnu.org; Sun, 28 May 2017 12:44:32 -0400 Received: from mail-io0-f172.google.com ([209.85.223.172]:36819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dF1Is-0000h8-OG for control@debbugs.gnu.org; Sun, 28 May 2017 12:44:31 -0400 Received: by mail-io0-f172.google.com with SMTP id o12so30901071iod.3 for ; Sun, 28 May 2017 09:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=STT2fOl0T2hkhPl9G+FWmJJdDMyx8hbR7neDkn7IoeI=; b=qreVyo5P1TeRK7D3/qjJt/5gtqjOgVnSSnw1T+EUw6S4x9lISt8o5nM1Dsq91q7bnV HvLxEZ4sP3KeBCdKburS65y4PtivfLwSZvt38eC+hILqLL01E93nm/S6HKsw6B3Tyawt /p02ow4Nx48of3xsfec3Oeuu/o0SM1icDUIJ36FGbZigqCU3ksNnMCUsgZXBD6S1WUvt 5oHauGZcFHds58BoDVuK9donFhuFc7YHnyyRFHF983DJetmLgr1/dzyOopUHjI38TKZe Rf7v0Uuzi07Yt9mf2Z1CYGvekXU0y/9gbOItACM+39lAvZ/gjUIqLgIJ2cgTl8O6Yimf qmMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=STT2fOl0T2hkhPl9G+FWmJJdDMyx8hbR7neDkn7IoeI=; b=eGlynrxIwClrh4B8tW3AaGxrvjuaP6ePBoefq4Lv54+8E9nnhBEgi8c+zatj1PhhLw cVUMpmGusN++dC9U7vkigsRIVWScjC2Q9Yh0dnhry4IbBsPIoWJTFh6/hy3jz92h67nt 1t0tWWknSaJnjcHj3a0NqcXjWudJtlzf5cTN2xJnc90PH+jYD4QcPmNkyTstZ6HNUExm 4gvkMcrd53YupqDgY9G2c4LLFpsNJaUAfT/nxYzJc5RjVl2gAqwHcXXhe1qlW1r3FQ2q ap571fP4oMkdh0Fx5CMQGAwlNi0MIL1mEbZAPqZ2Wm1EQcgptavhjugcxP+B76F+w/PH URuQ== X-Gm-Message-State: AODbwcA4ZunTpwH/ya/pjSlJEehwRltT3+mdk1yRm+ihUjFm8Z5fGUcU Ea1HTLxCNsed+6yN X-Received: by 10.107.142.86 with SMTP id q83mr10755922iod.195.1495989864858; Sun, 28 May 2017 09:44:24 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id 10sm2057224itw.1.2017.05.28.09.44.23 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 May 2017 09:44:24 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: control message for bug #26911 Date: Sun, 28 May 2017 12:46:01 -0400 Message-ID: <87y3th3p6e.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) tags 26911 confirmed quit From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP References: In-Reply-To: Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Aug 2020 20:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Yegor Timoshenko Cc: 26911@debbugs.gnu.org, Eli Zaretskii , Michael Albinus , 34384@debbugs.gnu.org Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159847440428428 (code B ref 26911); Wed, 26 Aug 2020 20:41:01 +0000 Received: (at 26911) by debbugs.gnu.org; 26 Aug 2020 20:40:04 +0000 Received: from localhost ([127.0.0.1]:40943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB2DD-0007OP-A9 for submit@debbugs.gnu.org; Wed, 26 Aug 2020 16:40:04 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:43442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB2D9-0007Nn-LN; Wed, 26 Aug 2020 16:40:02 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 25FCE1600BA; Wed, 26 Aug 2020 13:39:54 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id bXsRIHNhh9GI; Wed, 26 Aug 2020 13:39:52 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id CE0991600C4; Wed, 26 Aug 2020 13:39:52 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5Av8VwJoBTNd; Wed, 26 Aug 2020 13:39:52 -0700 (PDT) Received: from [192.168.1.9] (cpe-75-82-69-226.socal.res.rr.com [75.82.69.226]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 8126D1600BA; Wed, 26 Aug 2020 13:39:52 -0700 (PDT) From: Paul Eggert Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUlOQkV5QWNtUUJFQURB QXlIMnhvVHU3cHBHNUQzYThGTVpFb243NGRDdmM0K3ExWEEySjJ0QnkycHdhVHFmCmhweHhk R0E5Smo1MFVKM1BENGJTVUVnTjh0TFowc2FuNDdsNVhUQUZMaTI0NTZjaVNsNW04c0thSGxH ZHQ5WG0KQUF0bVhxZVpWSVlYL1VGUzk2ZkR6ZjR4aEVtbS95N0xiWUVQUWRVZHh1NDd4QTVL aFRZcDVibHRGM1dZRHoxWQpnZDdneDA3QXV3cDdpdzdlTnZub0RUQWxLQWw4S1lEWnpiRE5D UUdFYnBZM2VmWkl2UGRlSStGV1FONFcra2doCnkrUDZhdTZQcklJaFlyYWV1YTdYRGRiMkxT MWVuM1NzbUUzUWpxZlJxSS9BMnVlOEpNd3N2WGUvV0szOEV6czYKeDc0aVRhcUkzQUZINmls QWhEcXBNbmQvbXNTRVNORnQ3NkRpTzFaS1FNcjlhbVZQa25qZlBtSklTcWRoZ0IxRApsRWR3 MzRzUk9mNlY4bVp3MHhmcVQ2UEtFNDZMY0ZlZnpzMGtiZzRHT1JmOHZqRzJTZjF0azVlVThN Qml5Ti9iClowM2JLTmpOWU1wT0REUVF3dVA4NGtZTGtYMnd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4R0FZejhQU2Z1R0NCMXRoTVlxbG0KZ2RoZDkvQmFiR0ZiR0dZSEE2 VTQvVDV6cVUrZjZ4SHkxU3NBUVoxTVNLbEx3ZWtCSVQrNC9jTFJHcUNIam5WMApxNUgvVDZh N3Q1bVBrYnpTck9MU280cHVqK0lUb05qWXlZSURCV3pobEExOWF2T2ErcnZVam1IdEQzc0ZO N2NYCld0a0dvaThidU5jYnk0VT0KPUFMNm8KLS0tLS1FTkQgUEdQIFBVQkxJQyBLRVkgQkxP Q0stLS0tLQo= Organization: UCLA Computer Science Department Message-ID: Date: Wed, 26 Aug 2020 13:39:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------ED538890AE2E4A58FC74832C" Content-Language: en-US X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --------------ED538890AE2E4A58FC74832C Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit I ran into the expand-file-name bug outside of Tramp, and fixed it by installing the attached patch into Emacs master. I hope it fixes Bug#26911 too. With luck it (or something like it) might even bear on Bug#34834 too, so I'll cc this message there. (I don't use MS-Windows or Tramp so am not good at testing in those environments.) --------------ED538890AE2E4A58FC74832C Content-Type: text/x-patch; charset=UTF-8; name="0001-Fix-expand-file-name-symlink-to-dir-bug.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Fix-expand-file-name-symlink-to-dir-bug.patch" >From 14fb657ba82da346d36f05f88da26f1c5498b798 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 26 Aug 2020 13:25:35 -0700 Subject: [PATCH] Fix expand-file-name symlink-to-dir bug Problem reported by Yegor Timoshenko (Bug#26911), and I ran into it myself recently in normal-top-level. * doc/lispref/files.texi (File Name Expansion), etc/NEWS: Mention this. * src/fileio.c (Fexpand_file_name): Expand "/a/b/." to "/a/b/" not "/a/b", to avoid misinterpreting a symlink "/a/b". Similarly, expand "/a/b/c/.." to "/a/b/" not "/a/b". * test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name): Adjust to match new behavior. (tramp-test05-expand-file-name-relative): This test now succeeds, at least on Fedora 31. * test/src/fileio-tests.el: (fileio-tests--expand-file-name-trailing-slash) New test. --- doc/lispref/files.texi | 16 ++++++++++++++-- etc/NEWS | 6 ++++++ src/fileio.c | 37 +++++++++++++++++++++--------------- test/lisp/net/tramp-tests.el | 11 ++++------- test/src/fileio-tests.el | 11 +++++++++++ 5 files changed, 57 insertions(+), 24 deletions(-) diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 92cbc2a1c9..090c54f8cd 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi @@ -2438,14 +2438,26 @@ File Name Expansion superroot above the root directory @file{/}. On other filesystems, @file{/../} is interpreted exactly the same as @file{/}. +If a filename must be that of a directory, its expansion must be too. +For example, if a filename ends in @samp{/} or @samp{/.} or @samp{/..} +then its expansion ends in @samp{/} so that it cannot be +misinterpreted as the name of a symbolic link: + +@example +@group +(expand-file-name "/a///b//.") + @result{} "/a/b/" +@end group +@end example + Expanding @file{.} or the empty string returns the default directory: @example @group (expand-file-name "." "/usr/spool/") - @result{} "/usr/spool" + @result{} "/usr/spool/" (expand-file-name "" "/usr/spool/") - @result{} "/usr/spool" + @result{} "/usr/spool/" @end group @end example diff --git a/etc/NEWS b/etc/NEWS index fae65a2227..14a75ca75d 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1157,6 +1157,12 @@ region's (or buffer's) end. This function can be used by modes to add elements to the 'choice' customization type of a variable. ++++ +** 'expand-file-name' no longer omits a trailing slash if the omission +changes the filename's meaning. E.g., (expand-file-name "/a/b/.") now +returns "/a/b/" not "/a/b", which might be misinterpreted as the name +of a symbolic link rather than of the directory it points to. + +++ ** New function 'file-modes-number-to-symbolic' to convert a numeric file mode specification into symbolic form. diff --git a/src/fileio.c b/src/fileio.c index 37072d9b6b..b70dff1c22 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -1065,7 +1065,7 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, #endif /* WINDOWSNT */ #endif /* DOS_NT */ - /* If nm is absolute, look for `/./' or `/../' or `//''sequences; if + /* If nm is absolute, look for "/./" or "/../" or "//" sequences; if none are found, we can probably return right away. We will avoid allocating a new string if name is already fully expanded. */ if ( @@ -1398,7 +1398,7 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, if (newdir) { - if (nm[0] == 0 || IS_DIRECTORY_SEP (nm[0])) + if (IS_DIRECTORY_SEP (nm[0])) { #ifdef DOS_NT /* If newdir is effectively "C:/", then the drive letter will have @@ -1433,14 +1433,16 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, { *o++ = *p++; } - else if (p[1] == '.' - && (IS_DIRECTORY_SEP (p[2]) - || p[2] == 0)) + else if (p[1] == '.' && IS_DIRECTORY_SEP (p[2])) { - /* If "/." is the entire filename, keep the "/". Otherwise, - just delete the whole "/.". */ - if (o == target && p[2] == '\0') - *o++ = *p; + /* Replace "/./" with "/". */ + p += 2; + } + else if (p[1] == '.' && !p[2]) + { + /* At the end of the file name, replace "/." with "/". + The trailing "/" is for symlinks. */ + *o++ = *p; p += 2; } else if (p[1] == '.' && p[2] == '.' @@ -1459,18 +1461,23 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, #ifdef WINDOWSNT char *prev_o = o; #endif - while (o != target && (--o, !IS_DIRECTORY_SEP (*o))) - continue; + while (o != target) + { + o--; + if (IS_DIRECTORY_SEP (*o)) + { + /* Keep "/" at the end of the name, for symlinks. */ + o += p[3] == 0; + + break; + } + } #ifdef WINDOWSNT /* Don't go below server level in UNC filenames. */ if (o == target + 1 && IS_DIRECTORY_SEP (*o) && IS_DIRECTORY_SEP (*target)) o = prev_o; - else #endif - /* Keep initial / only if this is the whole name. */ - if (o == target && IS_ANY_SEP (*o) && p[3] == 0) - ++o; p += 3; } else if (IS_DIRECTORY_SEP (p[1]) diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 7e9ae33f84..aa00c07f79 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -2131,16 +2131,16 @@ tramp-test05-expand-file-name (expand-file-name "/method:host:/path/../file") "/method:host:/file")) (should (string-equal - (expand-file-name "/method:host:/path/.") "/method:host:/path")) + (expand-file-name "/method:host:/path/.") "/method:host:/path/")) (should (string-equal (expand-file-name "/method:host:/path/..") "/method:host:/")) (should (string-equal - (expand-file-name "." "/method:host:/path/") "/method:host:/path")) + (expand-file-name "." "/method:host:/path/") "/method:host:/path/")) (should (string-equal - (expand-file-name "" "/method:host:/path/") "/method:host:/path")) + (expand-file-name "" "/method:host:/path/") "/method:host:/path/")) ;; Quoting local part. (should (string-equal @@ -2155,12 +2155,9 @@ tramp-test05-expand-file-name "/method:host:/:/~/path/file")))) ;; The following test is inspired by Bug#26911 and Bug#34834. They -;; are rather bugs in `expand-file-name', and it fails for all Emacs -;; versions. Test added for later, when they are fixed. +;; were bugs in `expand-file-name'. (ert-deftest tramp-test05-expand-file-name-relative () "Check `expand-file-name'." - ;; Mark as failed until bug has been fixed. - :expected-result :failed (skip-unless (tramp--test-enabled)) ;; These are the methods the test doesn't fail. diff --git a/test/src/fileio-tests.el b/test/src/fileio-tests.el index 96b03a0137..1516590795 100644 --- a/test/src/fileio-tests.el +++ b/test/src/fileio-tests.el @@ -108,6 +108,17 @@ fileio-tests--relative-HOME (should (equal (expand-file-name "~/bar") "x:/foo/bar"))) (setenv "HOME" old-home))) +(ert-deftest fileio-tests--expand-file-name-trailing-slash () + (dolist (fooslashalias '("foo/" "foo//" "foo/." "foo//." "foo///././." + "foo/a/..")) + (should (equal (expand-file-name fooslashalias "/") "/foo/")) + (should (equal (expand-file-name (concat "/" fooslashalias)) "/foo/"))) + (should (equal (expand-file-name "." "/usr/spool/") "/usr/spool/")) + (should (equal (expand-file-name "" "/usr/spool/") "/usr/spool/")) + ;; Trailing "B/C/.." means B must be a directory. + (should (equal (expand-file-name "/a/b/c/..") "/a/b/")) + (should (equal (expand-file-name "/a/b/c/../") "/a/b/"))) + (ert-deftest fileio-tests--insert-file-interrupt () (let ((text "-*- coding: binary -*-\n\xc3\xc3help") f) -- 2.17.1 --------------ED538890AE2E4A58FC74832C-- From unknown Tue Jun 17 22:27:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Yegor Timoshenko Subject: bug#26911: closed (Re: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP) Message-ID: References: <87r1rs9uqv.fsf@gmx.de> X-Gnu-PR-Message: they-closed 26911 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: confirmed Reply-To: 26911@debbugs.gnu.org Date: Thu, 27 Aug 2020 11:47:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1598528822-27875-1" This is a multi-part message in MIME format... ------------=_1598528822-27875-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 26911@debbugs.gnu.org. --=20 26911: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26911 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1598528822-27875-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 26911-done) by debbugs.gnu.org; 27 Aug 2020 11:46:53 +0000 Received: from localhost ([127.0.0.1]:41937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBGMn-00077k-4p for submit@debbugs.gnu.org; Thu, 27 Aug 2020 07:46:53 -0400 Received: from mout.gmx.net ([212.227.15.19]:48111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBGMk-00072F-PU; Thu, 27 Aug 2020 07:46:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1598528794; bh=w27/yNmVOE9R92LniteTJbrHq0N1He/m1E7lJLuW5Ac=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=RK3VBukhO3oYwenT79WB3oze5p2F0k5ymNkoWNqx8RQ6IexbMGEHsH+UYBOuvn3Ee +xO7W+LcdLTLQf58FMox8FBFuwOpH3by/HAjqWzvUR95D1LPQpLdIkPXlbDPy/aHZS b//RJJWrQkr57Wx+ar9A17ZtvvZ5sDzq8nwl4J/c= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.151.126]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N2E1M-1kcAPk0OZK-013dUC; Thu, 27 Aug 2020 13:46:34 +0200 From: Michael Albinus To: Paul Eggert Subject: Re: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP References: Date: Thu, 27 Aug 2020 13:46:32 +0200 In-Reply-To: (Paul Eggert's message of "Wed, 26 Aug 2020 13:39:52 -0700") Message-ID: <87r1rs9uqv.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:SNsjEbpd7pG8GGLHu7gsj2FPpOMlpLcfLLwFqUwbrRfqT9AWCem Vy5jyXbLFPeLHmubcY9BBb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aphQhBEnwBxbEL+1/iEidR2lL8E9mS Dt6GIT6Fs5xzurclYyrc2zdkRkHrf2i08j7ocyCfoe1JI4ivpCjoDZfpD/ri8UKl+975xmtHH 2bTL5MJgYUvTQmmAjKsjQ2fKbmD+DTfwNhUzJjpCBEel/ehm/Av9fLwcXiNhQij/VzlRkTHAZ QstJTjUdMcHp1RhOM5N4SMxk4RfPPiKKwFrcP/japD5hooN7ZlUgtdi/xBKPhf5NRbg34VLjo LvIjpTeHfjumJurNqbnrTnDng+Jh9gXk/YD1HDEs86/UJ3H+IBH8ZbrLOSDrJX86JqfyfkXte Z6HhhDAic28BlIXerM+0ukyxJqku6g1pnob4s/BL/QsDxTMS94439wHfzmVNP9aXIFy330Gcu +L4N7uZwHaEM68wd78Xde5wll/C78RO1WbVdm0Q== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26911-done Cc: 26911-done@debbugs.gnu.org, Eli Zaretskii , 34384@debbugs.gnu.org, Yegor Timoshenko X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Paul Eggert writes: Hi Paul, > I ran into the expand-file-name bug outside of Tramp, and fixed it by > installing the attached patch into Emacs master. I hope it fixes > Bug#26911 too. > > With luck it (or something like it) might even bear on Bug#34834 too, > so I'll cc this message there. (I don't use MS-Windows or Tramp so am > not good at testing in those environments.) I confirm it is fixed for bug#26911, so I close this bug. Whether it is fixed also for bug#34384 I cannot check due to the lack of an MS Windows machine. Best regards, Michael. ------------=_1598528822-27875-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 May 2017 16:38:03 +0000 Received: from localhost ([127.0.0.1]:43169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9a3P-0004Vv-4U for submit@debbugs.gnu.org; Sat, 13 May 2017 12:38:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9Zhq-0003yU-EH for submit@debbugs.gnu.org; Sat, 13 May 2017 12:15:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Zhk-0002ac-7Z for submit@debbugs.gnu.org; Sat, 13 May 2017 12:15:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d9Zhk-0002aY-4B for submit@debbugs.gnu.org; Sat, 13 May 2017 12:15:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Zhj-0007vT-0p for bug-gnu-emacs@gnu.org; Sat, 13 May 2017 12:15:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Zhf-0002Zs-0K for bug-gnu-emacs@gnu.org; Sat, 13 May 2017 12:15:38 -0400 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:35776) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d9Zhe-0002Z5-PW for bug-gnu-emacs@gnu.org; Sat, 13 May 2017 12:15:34 -0400 Received: by mail-lf0-x235.google.com with SMTP id j1so13941710lfh.2 for ; Sat, 13 May 2017 09:15:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=DD2Pv/aK4auoBXaNDSwAmRQEmDTbM+EiMKheC8Ls5vg=; b=U5M9zpj++VlMYXVbr/6dgOmufCbdQazySqMDa/tqXZwrEHfSD5kSnbx3WfTzQ6ll3Q VAe+/J/ezIUZFV/pWZ7qmqo0HzPFVmEE/82HH7z61c+eunNUjvZH2wjew871I/mokxb5 FFg8J6x32BXQECZDt7bbj1T3QvB7PVxBa1x9diAK+AM5T/kismWRlZxar6s3aMMc2+Be r3gDSvKbXVBjMMVJWIbsAUFGcJAFFOzhNrmUXAMhYYIZbG+nKaT2Cf/dvvZNO2JhObpN 6KopLTGdXcndu0j3wk40hA3jHXsuLgdcmUJWaFf0BpCu2hfaH4vGKlU4+hj+GIe3C6ds US+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=DD2Pv/aK4auoBXaNDSwAmRQEmDTbM+EiMKheC8Ls5vg=; b=WN0MTY630ctlwzEzxCyBSphOCBpVkFXAbU8IxLcpOkPwUiWsEpuCShYSbcqFFzS4V/ veDEGXSbEEMB1bEN0ML0fm7nucggUoWY6zFxzfJ4tnXPUmcwbi3FD5ImD1HXNUGQjvws wqPtFAc2311WcVvVCPFuKNcxs4O2+OMiu0d0SrVop0apnIwwGnFF2SWtyme2UcDrcWMe 4M2c5IUnTDJt2ZvjotwJs3Ux4F+0/lL4oWVDGKXLL3Y5B4lLdhziTiWICA2KWt/7RqNs JbkW3NgfNNT1rPUya04xLBSCG9bri73UL2Mx0tMyLd2nYYVEY5tZPehYsKCjX5/DKP+b yCaQ== X-Gm-Message-State: AODbwcAjKidBc8szXtwf+StbTC3k7Oh4olzqKGuB0hnR/AieUx6kkdXq ikI8mcq/iM/zeYTasBU= X-Received: by 10.46.83.12 with SMTP id h12mr123378ljb.28.1494692131777; Sat, 13 May 2017 09:15:31 -0700 (PDT) Received: from [192.168.0.6] ([91.188.184.82]) by smtp.gmail.com with ESMTPSA id y63sm1142798lfc.29.2017.05.13.09.15.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 May 2017 09:15:30 -0700 (PDT) From: Yegor Timoshenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: 25.2; eshell "cd .." doesn't work correctly with TRAMP Message-Id: Date: Sat, 13 May 2017 19:15:30 +0300 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 13 May 2017 12:38:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Steps to reproduce: M-x eshell cd /user@remote.com:/ cd bin cd .. pwd Expected output: /user@remote.com: Actual output: /user@remote.com:/home/user Reproducible in default Emacs 25.2 install: In GNU Emacs 25.2.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 = Version 10.9.5 (Build 13F1911)) of 2017-04-21 built on builder10-9.porkrind.org Windowing system distributor 'Apple', version 10.3.1504 Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules'= ------------=_1598528822-27875-1-- From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP References: In-Reply-To: Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 18:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: 26911@debbugs.gnu.org, Eli Zaretskii , Michael Albinus , Yegor Timoshenko Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.1598553138501 (code B ref 26911); Thu, 27 Aug 2020 18:33:01 +0000 Received: (at 26911) by debbugs.gnu.org; 27 Aug 2020 18:32:18 +0000 Received: from localhost ([127.0.0.1]:43915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBMh8-00007z-Gp for submit@debbugs.gnu.org; Thu, 27 Aug 2020 14:32:18 -0400 Received: from mail174c50.megamailservers.eu ([91.136.10.184]:43052 helo=mail36c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBMh5-00007q-PR for 26911@debbugs.gnu.org; Thu, 27 Aug 2020 14:32:17 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1598553123; bh=r6OH1KJ73HpdnPC76Ovsd4Md6YFknjBhz9O6PktWM5A=; h=From:Subject:Date:Cc:To:From; b=Kwq/KfQitxmIbyIiA+NUCwJ/n6Pr2gYiY6sAbjCz/cvcwF6iImdGHiZpFUDMTv2rb pSYyq3kFRNK76dziwlMI575+ySo/oFXWhfdiEABwNVE5qfcRpq1vdzot/TTzim2d8Y MD2FVP+OklbEcQTGrXkdpTmutpHPTjWIBCMEPwZ0= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-304ee655.032-75-73746f71.bbcust.telenor.se [85.230.78.48]) (authenticated bits=0) by mail36c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 07RIW0OC031133; Thu, 27 Aug 2020 18:32:02 +0000 From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Message-Id: Date: Thu, 27 Aug 2020 20:31:59 +0200 X-Mailer: Apple Mail (2.3445.104.15) X-CTCH-RefID: str=0001.0A782F20.5F47FC23.0032, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=PeiBeRpd c=1 sm=1 tr=0 a=63Z2wlQ1NB3xHpgKFKE71g==:117 a=63Z2wlQ1NB3xHpgKFKE71g==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=TkgOIVEbJzxttQ-E4QQA:9 a=CjuIK1q_8ugA:10 X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) No doubt the change (14fb657ba82) is fine in isolation, but now if Emacs = is started from $HOME/somedir and I do find-file, the minibuffer prompt = is "/home/mattias/somedir/" instead of "~/somedir/" which does not seem = to be an improvement. Worse, if cwd is $HOME, the minibuffer prompt becomes "~" instead of = "~/" which is inconvenient since that slash has to be typed explicitly. If nobody else is observing the effect then I'm doing something wrong = but I'm not sure what. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 18:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: 26911@debbugs.gnu.org, eggert@cs.ucla.edu, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.15985535111065 (code B ref 26911); Thu, 27 Aug 2020 18:39:02 +0000 Received: (at 26911) by debbugs.gnu.org; 27 Aug 2020 18:38:31 +0000 Received: from localhost ([127.0.0.1]:43920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBMn9-0000H7-5G for submit@debbugs.gnu.org; Thu, 27 Aug 2020 14:38:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBMn7-0000Gu-6N for 26911@debbugs.gnu.org; Thu, 27 Aug 2020 14:38:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58930) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBMn0-0002QH-Rp; Thu, 27 Aug 2020 14:38:22 -0400 Received: from [176.228.60.248] (port=4177 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kBMn0-0000hp-Am; Thu, 27 Aug 2020 14:38:22 -0400 Date: Thu, 27 Aug 2020 21:38:10 +0300 Message-Id: <837dtk0wa5.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Thu, 27 Aug 2020 20:31:59 +0200) References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Mattias EngdegÄrd > Date: Thu, 27 Aug 2020 20:31:59 +0200 > Cc: Michael Albinus , 26911@debbugs.gnu.org, > Eli Zaretskii , > Yegor Timoshenko > > If nobody else is observing the effect then I'm doing something wrong but I'm not sure what. I see it as well, FWIW. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 18:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , eggert@cs.ucla.edu, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.15985545092783 (code B ref 26911); Thu, 27 Aug 2020 18:56:01 +0000 Received: (at 26911) by debbugs.gnu.org; 27 Aug 2020 18:55:09 +0000 Received: from localhost ([127.0.0.1]:44024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBN3E-0000io-Vf for submit@debbugs.gnu.org; Thu, 27 Aug 2020 14:55:09 -0400 Received: from mout.gmx.net ([212.227.17.21]:50979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBN3B-0000iC-JD for 26911@debbugs.gnu.org; Thu, 27 Aug 2020 14:55:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1598554487; bh=bThxxuJwyuugZlMHqpsK9G/vu4+lZxw1HvnncUskKys=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=d0olmUQAHA7zeaGYde0IJT6QD6qYccvBd1vQ6kWeokXQjTDSU1KuDTN6sqII9w7lj ZuODy3tIyUhVnMSxwmrzVCPbUi1FrtFUScN5aqqclYg5AqiFxE3BeNMbMgWl/3Tx1r BuI72B9jODSKvU7EuCRjf8GKGH6lJOMzzLmrVC0w= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from strobe-jhalfs ([178.1.125.104]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N2mFY-1kavGs3pLY-01372L; Thu, 27 Aug 2020 20:54:47 +0200 From: Stephen Berman References: <837dtk0wa5.fsf@gnu.org> Date: Thu, 27 Aug 2020 20:54:44 +0200 In-Reply-To: <837dtk0wa5.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 27 Aug 2020 21:38:10 +0300") Message-ID: <877dtjvs0b.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:fqMrWOV0R/dPV2EZLmxosXhYGyqZoZF/qekxmnHq6W2Q5pEWmxi BCIAShLUu7xBbknLLCitbEEsN8vxsZbqZT4cu6SJnLeNSFr/3oCcoml+OQtvAcv0/a1J2jD 1JgJMh7dpq8MSppd3KBsW+GOBLXNch84nmtK1HE2UsGgl1hyVx/mFB7O3ICoaLS2dDjZJHM +fKYJ94AdGLu0NPPdxwQA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:chYxtl3kHFo=:PvzzPDCu0gOb6favH3NOr/ zbYShRrkI8nWwV25PeyoNaorNwssVh18RLH8T1q4ODTIXa1hKPpXReaRsj2QLy6f6P6Rh+GSC YJGjU3v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uL/KwQOLwur4wvnu42 giR7LxUotuFoIbbwKk/odLscywILqFQCBQEFvTA9h7OTrCJgZixh5EB7RX6pT06Tv60INDrZp J0hYKXNw129Ep7Fd351QUXHO0YT04zP3n+z9EZA== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Thu, 27 Aug 2020 21:38:10 +0300 Eli Zaretskii wrote: >> From: Mattias Engdeg=C3=A5rd >> Date: Thu, 27 Aug 2020 20:31:59 +0200 >> Cc: Michael Albinus , 26911@debbugs.gnu.org, >> Eli Zaretskii , >> Yegor Timoshenko >>=20 >> If nobody else is observing the effect then I'm doing something wrong but >> I'm not sure what. > > I see it as well, FWIW. So do I. Steve Berman From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 21:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: 26911@debbugs.gnu.org, Eli Zaretskii , Michael Albinus , Yegor Timoshenko Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159856524312839 (code B ref 26911); Thu, 27 Aug 2020 21:55:01 +0000 Received: (at 26911) by debbugs.gnu.org; 27 Aug 2020 21:54:03 +0000 Received: from localhost ([127.0.0.1]:44351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBPqM-0003L1-RQ for submit@debbugs.gnu.org; Thu, 27 Aug 2020 17:54:03 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:35580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBPqK-0003KW-9o for 26911@debbugs.gnu.org; Thu, 27 Aug 2020 17:54:01 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7F8C8160112; Thu, 27 Aug 2020 14:53:54 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id f_oVfAtns7AW; Thu, 27 Aug 2020 14:53:53 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 46E3E160113; Thu, 27 Aug 2020 14:53:53 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vNBb2i6VuVNb; Thu, 27 Aug 2020 14:53:53 -0700 (PDT) Received: from [192.168.1.9] (cpe-75-82-69-226.socal.res.rr.com [75.82.69.226]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id EFAEF160112; Thu, 27 Aug 2020 14:53:52 -0700 (PDT) References: From: Paul Eggert Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUlOQkV5QWNtUUJFQURB QXlIMnhvVHU3cHBHNUQzYThGTVpFb243NGRDdmM0K3ExWEEySjJ0QnkycHdhVHFmCmhweHhk R0E5Smo1MFVKM1BENGJTVUVnTjh0TFowc2FuNDdsNVhUQUZMaTI0NTZjaVNsNW04c0thSGxH ZHQ5WG0KQUF0bVhxZVpWSVlYL1VGUzk2ZkR6ZjR4aEVtbS95N0xiWUVQUWRVZHh1ND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VjY3BHMFFzNGJGaGRGWW5G ckVpZURMb0dtbkUyWUxoZFY2c3dKOVZOQ1M2cExpRW9oVDNmbTdhWG0xNXRaCk9JeXpNWmhI UlNBUGJsWHhRMFpTV2pxOG9ScmNZTkZ4YzRXMVVScEFrQkNPWUpvWHZRZkQ1TDNscUFsOFRD cUQKVXpZeGhIL3RKaGJEZEhycUhINzY3amFEYVRCMStUYWxwLzJBTUt3Y1hOT2Rpa2xHeGJt SFZHNllHbDZnOExyYgpzdTlOWkVJNHlMbEh6dWlrdGhKV2d6KzN2WmhWR3lObHQrSE5Jb0Y2 Q2pETDJvbXU1Y0VxNFJESE00NFFxUGs2Cmw3TzBwVXZOMW1UNEIrUzFiMDhSS3BxbS9mZjAx NUUzN0hOVi9waUl2Smx4R0FZejhQU2Z1R0NCMXRoTVlxbG0KZ2RoZDkvQmFiR0ZiR0dZSEE2 VTQvVDV6cVUrZjZ4SHkxU3NBUVoxTVNLbEx3ZWtCSVQrNC9jTFJHcUNIam5WMApxNUgvVDZh N3Q1bVBrYnpTck9MU280cHVqK0lUb05qWXlZSURCV3pobEExOWF2T2ErcnZVam1IdEQzc0ZO N2NYCld0a0dvaThidU5jYnk0VT0KPUFMNm8KLS0tLS1FTkQgUEdQIFBVQkxJQyBLRVkgQkxP Q0stLS0tLQo= Organization: UCLA Computer Science Department Message-ID: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> Date: Thu, 27 Aug 2020 14:53:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------BB795A76905C5F289D9E0259" Content-Language: en-US X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) This is a multi-part message in MIME format. --------------BB795A76905C5F289D9E0259 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 8/27/20 11:31 AM, Mattias Engdeg=C3=A5rd wrote: > No doubt the change (14fb657ba82) is fine in isolation, but now if Emac= s is started from $HOME/somedir and I do find-file, the minibuffer prompt= is "/home/mattias/somedir/" instead of "~/somedir/" which does not seem = to be an improvement. >=20 > Worse, if cwd is $HOME, the minibuffer prompt becomes "~" instead of "~= /" which is inconvenient since that slash has to be typed explicitly. Thanks for reporting that. Sigh, too often when I fix one bug in=20 expand-file-name I introduce another. I installed the attached patch to f= ix this=20 bug (I and I hope it doesn't introduce yet another :-). --------------BB795A76905C5F289D9E0259 Content-Type: text/x-patch; charset=UTF-8; name="0001-Fix-recently-introduced-expand-file-name-bug.patch" Content-Disposition: attachment; filename="0001-Fix-recently-introduced-expand-file-name-bug.patch" Content-Transfer-Encoding: quoted-printable >From 0bbc84630f12e848e19c39dce01f3d14559bf70b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 27 Aug 2020 14:46:52 -0700 Subject: [PATCH] Fix recently-introduced expand-file-name bug MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit The bug was that (expand-file-name "~") returned something like "/home/eggert/" instead of "/home/eggert". Problem reported by Mattias Engdeg=C3=A5rd (Bug#26911#27). * src/fileio.c (Fexpand_file_name): When concatenating NEWDIR to NM, instead of stripping trailing slashes from NEWDIR (which can turn non-symlinks into symlinks), strip leading slashes from NM. This also simplifies the code by removing no-longer-needed DOS_NT special-casing. Also, remove an unnecessary =E2=80=98target[length] =3D = 0;=E2=80=99 as that byte will be overwritten by the next memcpy anyway. * test/src/fileio-tests.el (fileio-tests--HOME-trailing-slash): New test. --- src/fileio.c | 38 +++++++++++++------------------------- test/src/fileio-tests.el | 8 ++++++++ 2 files changed, 21 insertions(+), 25 deletions(-) diff --git a/src/fileio.c b/src/fileio.c index b70dff1c22..47e5e46a00 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -827,9 +827,9 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand= _file_name, 1, 2, 0, ptrdiff_t tlen; #ifdef DOS_NT int drive =3D 0; - bool collapse_newdir =3D true; bool is_escaped =3D 0; #endif /* DOS_NT */ + bool collapse_newdir =3D true; ptrdiff_t length, nbytes; Lisp_Object handler, result, handled_name; bool multibyte; @@ -1183,9 +1183,7 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpa= nd_file_name, 1, 2, 0, newdir =3D SSDATA (hdir); newdirlim =3D newdir + SBYTES (hdir); } -#ifdef DOS_NT collapse_newdir =3D false; -#endif } else /* ~user/filename */ { @@ -1205,9 +1203,7 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpa= nd_file_name, 1, 2, 0, =20 while (*++nm && !IS_DIRECTORY_SEP (*nm)) continue; -#ifdef DOS_NT collapse_newdir =3D false; -#endif } =20 /* If we don't find a user of that name, leave the name @@ -1374,12 +1370,7 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexp= and_file_name, 1, 2, 0, } #endif /* DOS_NT */ =20 - /* Ignore any slash at the end of newdir, unless newdir is - just "/" or "//". */ length =3D newdirlim - newdir; - while (length > 1 && IS_DIRECTORY_SEP (newdir[length - 1]) - && ! (length =3D=3D 2 && IS_DIRECTORY_SEP (newdir[0]))) - length--; =20 /* Now concatenate the directory and name to new space in the stack fr= ame. */ tlen =3D length + file_name_as_directory_slop + (nmlim - nm) + 1; @@ -1398,25 +1389,22 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sex= pand_file_name, 1, 2, 0, =20 if (newdir) { - if (IS_DIRECTORY_SEP (nm[0])) + if (!collapse_newdir) { -#ifdef DOS_NT - /* If newdir is effectively "C:/", then the drive letter will have - been stripped and newdir will be "/". Concatenating with an - absolute directory in nm produces "//", which will then be - incorrectly treated as a network share. Ignore newdir in - this case (keeping the drive letter). */ - if (!(drive && nm[0] && IS_DIRECTORY_SEP (newdir[0]) - && newdir[1] =3D=3D '\0')) -#endif - { - memcpy (target, newdir, length); - target[length] =3D 0; - nbytes =3D length; - } + /* With ~ or ~user, leave NEWDIR as-is to avoid transforming + it from a symlink (or a regular file!) into a directory. */ + memcpy (target, newdir, length); + nbytes =3D length; } else nbytes =3D file_name_as_directory (target, newdir, length, multibyte); + + /* If TARGET ends in a directory separator, omit leading + directory separators from NM so that concatenating a TARGET "/" + to an NM "/foo" does not result in the incorrect "//foo". */ + if (nbytes && IS_DIRECTORY_SEP (target[nbytes - 1])) + while (IS_DIRECTORY_SEP (nm[0])) + nm++; } =20 memcpy (target + nbytes, nm, nmlim - nm + 1); diff --git a/test/src/fileio-tests.el b/test/src/fileio-tests.el index 1516590795..8b76912f5e 100644 --- a/test/src/fileio-tests.el +++ b/test/src/fileio-tests.el @@ -108,6 +108,14 @@ fileio-tests--relative-HOME (should (equal (expand-file-name "~/bar") "x:/foo/bar"))) (setenv "HOME" old-home))) =20 +(ert-deftest fileio-tests--HOME-trailing-slash () + "Test that expand-file-name of \"~\" respects trailing slash." + (let ((old-home (getenv "HOME"))) + (dolist (home '("/a/b/c" "/a/b/c/")) + (setenv "HOME" home) + (should (equal (expand-file-name "~") (expand-file-name home)))) + (setenv "HOME" old-home))) + (ert-deftest fileio-tests--expand-file-name-trailing-slash () (dolist (fooslashalias '("foo/" "foo//" "foo/." "foo//." "foo///././." "foo/a/..")) --=20 2.17.1 --------------BB795A76905C5F289D9E0259-- From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Aug 2020 06:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.15985967995806 (code B ref 26911); Fri, 28 Aug 2020 06:40:01 +0000 Received: (at 26911) by debbugs.gnu.org; 28 Aug 2020 06:39:59 +0000 Received: from localhost ([127.0.0.1]:44947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBY3K-0001Va-Gc for submit@debbugs.gnu.org; Fri, 28 Aug 2020 02:39:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBY3H-0001VJ-T4 for 26911@debbugs.gnu.org; Fri, 28 Aug 2020 02:39:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40886) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBY3B-0001cA-A7; Fri, 28 Aug 2020 02:39:49 -0400 Received: from [176.228.60.248] (port=4391 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kBY3A-0003Lp-Ki; Fri, 28 Aug 2020 02:39:49 -0400 Date: Fri, 28 Aug 2020 09:39:38 +0300 Message-Id: <83wo1jz32t.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> (message from Paul Eggert on Thu, 27 Aug 2020 14:53:52 -0700) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: Michael Albinus , 26911@debbugs.gnu.org, > Eli Zaretskii , Yegor Timoshenko > From: Paul Eggert > Date: Thu, 27 Aug 2020 14:53:52 -0700 > > Thanks for reporting that. Sigh, too often when I fix one bug in > expand-file-name I introduce another. I installed the attached patch to fix this > bug (I and I hope it doesn't introduce yet another :-). Two tests (including the new one) fail here on MS-Windows: Test fileio-tests--HOME-trailing-slash backtrace: signal(ert-test-failed (((should (equal (expand-file-name "~") (expa ert-fail(((should (equal (expand-file-name "~") (expand-file-name ho (if (unwind-protect (setq value-197 (apply fn-195 args-196)) (setq f (let (form-description-199) (if (unwind-protect (setq value-197 (app (let ((value-197 'ert-form-evaluation-aborted-198)) (let (form-descr (let* ((fn-195 #'equal) (args-196 (condition-case err (let ((signal- (let ((home (car --dolist-tail--))) (setenv "HOME" home) (let* ((fn- (while --dolist-tail-- (let ((home (car --dolist-tail--))) (setenv " (let ((--dolist-tail-- '("/a/b/c" "/a/b/c/"))) (while --dolist-tail- (let ((old-home (getenv "HOME"))) (let ((--dolist-tail-- '("/a/b/c" (closure (t) nil (let ((old-home (getenv "HOME"))) (let ((--dolist-t ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name fileio-tests--HOME-trailing-slash :do ert-run-or-rerun-test(#s(ert--stats :selector (not ...) :tests [... ert-run-tests((not (tag :unstable)) #f(compiled-function (event-type ert-run-tests-batch((not (tag :unstable))) ert-run-tests-batch-and-exit((not (tag :unstable))) eval((ert-run-tests-batch-and-exit '(not (tag :unstable))) t) command-line-1(("-L" ";." "-l" "ert" "-l" "src/fileio-tests.el" "--e command-line() normal-top-level() Test fileio-tests--HOME-trailing-slash condition: (ert-test-failed ((should (equal (expand-file-name "~") (expand-file-name home))) :form (equal "d:/gnu/git/emacs/trunk/test/a/b/c/" "d:./a/b/c") :value nil :explanation (arrays-of-different-length 34 9 "d:/gnu/git/emacs/trunk/test/a/b/c/" "d:./a/b/c" first-mismatch-at 2))) FAILED 1/12 fileio-tests--HOME-trailing-slash (0.000000 sec) Test fileio-tests--expand-file-name-trailing-slash backtrace: signal(ert-test-failed (((should (equal (expand-file-name fooslashal ert-fail(((should (equal (expand-file-name fooslashalias "/") "/foo/ (if (unwind-protect (setq value-202 (apply fn-200 args-201)) (setq f (let (form-description-204) (if (unwind-protect (setq value-202 (app (let ((value-202 'ert-form-evaluation-aborted-203)) (let (form-descr (let* ((fn-200 #'equal) (args-201 (condition-case err (let ((signal- (let ((fooslashalias (car --dolist-tail--))) (let* ((fn-200 #'equal) (while --dolist-tail-- (let ((fooslashalias (car --dolist-tail--))) (let ((--dolist-tail-- '("foo/" "foo//" "foo/." "foo//." "foo///././ (closure (t) nil (let ((--dolist-tail-- '("foo/" "foo//" "foo/." "fo ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name fileio-tests--expand-file-name-traili ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (tag :unstable)) #f(compiled-function (event-type ert-run-tests-batch((not (tag :unstable))) ert-run-tests-batch-and-exit((not (tag :unstable))) eval((ert-run-tests-batch-and-exit '(not (tag :unstable))) t) command-line-1(("-L" ";." "-l" "ert" "-l" "src/fileio-tests.el" "--e command-line() normal-top-level() Test fileio-tests--expand-file-name-trailing-slash condition: (ert-test-failed ((should (equal (expand-file-name fooslashalias "/") "/foo/")) :form (equal "d:/foo/" "/foo/") :value nil :explanation (arrays-of-different-length 7 5 "d:/foo/" "/foo/" first-mismatch-at 0))) From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Aug 2020 07:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: eggert@cs.ucla.edu Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.15985981257978 (code B ref 26911); Fri, 28 Aug 2020 07:03:01 +0000 Received: (at 26911) by debbugs.gnu.org; 28 Aug 2020 07:02:05 +0000 Received: from localhost ([127.0.0.1]:44951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBYOj-00024c-Gd for submit@debbugs.gnu.org; Fri, 28 Aug 2020 03:02:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBYOg-000246-BD for 26911@debbugs.gnu.org; Fri, 28 Aug 2020 03:02:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41004) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBYOY-0004FK-VT; Fri, 28 Aug 2020 03:01:54 -0400 Received: from [176.228.60.248] (port=1766 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kBYOX-0007mi-L3; Fri, 28 Aug 2020 03:01:54 -0400 Date: Fri, 28 Aug 2020 10:01:43 +0300 Message-Id: <83sgc7z220.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <83wo1jz32t.fsf@gnu.org> (message from Eli Zaretskii on Fri, 28 Aug 2020 09:39:38 +0300) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Fri, 28 Aug 2020 09:39:38 +0300 > From: Eli Zaretskii > Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, > yegortimoshenko@gmail.com > > > Cc: Michael Albinus , 26911@debbugs.gnu.org, > > Eli Zaretskii , Yegor Timoshenko > > From: Paul Eggert > > Date: Thu, 27 Aug 2020 14:53:52 -0700 > > > > Thanks for reporting that. Sigh, too often when I fix one bug in > > expand-file-name I introduce another. I installed the attached patch to fix this > > bug (I and I hope it doesn't introduce yet another :-). > > Two tests (including the new one) fail here on MS-Windows: I've now fixed most of the failures, but one still remains, and it definitely seems to be due to the latest changes in expand-file-name, note the "c:." part below: Test fileio-tests--expand-file-name-trailing-slash backtrace: signal(ert-test-failed (((should (equal (expand-file-name (concat "c ert-fail(((should (equal (expand-file-name (concat "c:/" fooslashali (if (unwind-protect (setq value-207 (apply fn-205 args-206)) (setq f (let (form-description-209) (if (unwind-protect (setq value-207 (app (let ((value-207 'ert-form-evaluation-aborted-208)) (let (form-descr (let* ((fn-205 #'equal) (args-206 (condition-case err (let ((signal- (progn (let* ((fn-200 #'equal) (args-201 (condition-case err (let (( (if (memq system-type '(windows-nt ms-dos)) (progn (let* ((fn-200 #' (let ((fooslashalias (car --dolist-tail--))) (if (memq system-type ' (while --dolist-tail-- (let ((fooslashalias (car --dolist-tail--))) (let ((--dolist-tail-- '("foo/" "foo//" "foo/." "foo//." "foo///././ (closure (t) nil (let ((--dolist-tail-- '("foo/" "foo//" "foo/." "fo ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name fileio-tests--expand-file-name-traili ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (tag :unstable)) #f(compiled-function (event-type ert-run-tests-batch((not (tag :unstable))) ert-run-tests-batch-and-exit((not (tag :unstable))) eval((ert-run-tests-batch-and-exit '(not (tag :unstable))) t) command-line-1(("-L" ";." "-l" "ert" "-l" "src/fileio-tests.el" "--e command-line() normal-top-level() Test fileio-tests--expand-file-name-trailing-slash condition: (ert-test-failed ((should (equal (expand-file-name ...) "c:/foo/")) :form (equal "c:./foo/" "c:/foo/") :value nil :explanation (arrays-of-different-length 8 7 "c:./foo/" "c:/foo/" first-mismatch-at 2))) FAILED 5/12 fileio-tests--expand-file-name-trailing-slash (0.000000 sec) From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Aug 2020 10:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: eggert@cs.ucla.edu Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159861173129456 (code B ref 26911); Fri, 28 Aug 2020 10:49:01 +0000 Received: (at 26911) by debbugs.gnu.org; 28 Aug 2020 10:48:51 +0000 Received: from localhost ([127.0.0.1]:45186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBbwA-0007f2-Od for submit@debbugs.gnu.org; Fri, 28 Aug 2020 06:48:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBbw8-0007eo-2v for 26911@debbugs.gnu.org; Fri, 28 Aug 2020 06:48:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50094) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBbw1-0006Qb-Qc; Fri, 28 Aug 2020 06:48:41 -0400 Received: from [176.228.60.248] (port=3655 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kBbw0-0003wz-Ke; Fri, 28 Aug 2020 06:48:40 -0400 Date: Fri, 28 Aug 2020 13:48:31 +0300 Message-Id: <83r1rryrk0.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <83sgc7z220.fsf@gnu.org> (message from Eli Zaretskii on Fri, 28 Aug 2020 10:01:43 +0300) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Fri, 28 Aug 2020 10:01:43 +0300 > From: Eli Zaretskii > Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, > yegortimoshenko@gmail.com > > I've now fixed most of the failures, but one still remains, and it > definitely seems to be due to the latest changes in expand-file-name, > note the "c:." part below: This is one symptom of a more general (and much more serious) problem with the modified expand-file-name: (expand-file-name "d:/foo/bar/../baz") => "d:./foo/baz" That period after the colon following the drive letter shouldn't be there. As you may imagine, many Emacs commands are now broken because of this. This must be fixed ASAP. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Aug 2020 05:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159868036125862 (code B ref 26911); Sat, 29 Aug 2020 05:53:02 +0000 Received: (at 26911) by debbugs.gnu.org; 29 Aug 2020 05:52:41 +0000 Received: from localhost ([127.0.0.1]:47822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBtn7-0006j3-9M for submit@debbugs.gnu.org; Sat, 29 Aug 2020 01:52:41 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:36052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBtn2-0006il-5a for 26911@debbugs.gnu.org; Sat, 29 Aug 2020 01:52:40 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9622B160066; Fri, 28 Aug 2020 22:52:30 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 9BCc3W9lwBjJ; Fri, 28 Aug 2020 22:52:29 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 764AB1600DA; Fri, 28 Aug 2020 22:52:29 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id YiL49kzwfMed; Fri, 28 Aug 2020 22:52:29 -0700 (PDT) Received: from [192.168.1.9] (cpe-75-82-69-226.socal.res.rr.com [75.82.69.226]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 3E7A2160066; Fri, 28 Aug 2020 22:52:29 -0700 (PDT) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> From: Paul Eggert Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= LS0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700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <83r1rryrk0.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------6A5D97583D7579B50A6FFD4E" Content-Language: en-US X-Spam-Score: -3.1 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) This is a multi-part message in MIME format. --------------6A5D97583D7579B50A6FFD4E Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 8/28/20 3:48 AM, Eli Zaretskii wrote: > That period after the colon following the drive letter shouldn't be > there. As you may imagine, many Emacs commands are now broken because > of this. This must be fixed ASAP. I installed the attached patch to revert the recent expand-file-changes in the DOS_NT case, which should fix the problem you mentioned. This part of fileio.c is hard to follow because of the #ifdef DOS_NT and #ifdef WINDOWSNT and #ifdef MSDOS and whatnot. How about if we move the MS-Windows-specific code to a different source file instead of having that forest of ifdefs in fileio.c? As things stand, it's hard to maintain the mainline GNU code, because the way everything's arranged the Microsoft-specific stuff significantly obfuscates everything else. --------------6A5D97583D7579B50A6FFD4E Content-Type: text/x-patch; charset=UTF-8; name="0001-Revert-recent-expand-file-name-changes-if-DOS_NT.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Revert-recent-expand-file-name-changes-if-DOS_NT.patch" >From 7d5807277ff614a337c7e4530bb8d0e0188c189b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 28 Aug 2020 22:37:29 -0700 Subject: [PATCH] Revert recent expand-file-name changes if DOS_NT * src/fileio.c (Fexpand_file_name): Restore pre-August-26 behavior, if DOS_NT. This should fix the recently-introduced expand-file-name bugs on DOS_NT (Bug#26911). --- src/fileio.c | 66 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 57 insertions(+), 9 deletions(-) diff --git a/src/fileio.c b/src/fileio.c index 66010b6878..c91af36fdf 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -1372,6 +1372,14 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, length = newdirlim - newdir; +#ifdef DOS_NT + /* Ignore any slash at the end of newdir, unless newdir is + just "/" or "//". */ + while (length > 1 && IS_DIRECTORY_SEP (newdir[length - 1]) + && ! (length == 2 && IS_DIRECTORY_SEP (newdir[0]))) + length--; +#endif + /* Now concatenate the directory and name to new space in the stack frame. */ tlen = length + file_name_as_directory_slop + (nmlim - nm) + 1; eassert (tlen >= file_name_as_directory_slop + 1); @@ -1388,22 +1396,40 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, if (newdir) { - if (!collapse_newdir) +#ifndef DOS_NT + bool treat_as_absolute = !collapse_newdir; +#else + bool treat_as_absolute = !nm[0] || IS_DIRECTORY_SEP (nm[0]); +#endif + if (treat_as_absolute) { - /* With ~ or ~user, leave NEWDIR as-is to avoid transforming - it from a symlink (or a regular file!) into a directory. */ - memcpy (target, newdir, length); - nbytes = length; +#ifdef DOS_NT + /* If newdir is effectively "C:/", then the drive letter will have + been stripped and newdir will be "/". Concatenating with an + absolute directory in nm produces "//", which will then be + incorrectly treated as a network share. Ignore newdir in + this case (keeping the drive letter). */ + if (!(drive && nm[0] && IS_DIRECTORY_SEP (newdir[0]) + && newdir[1] == '\0')) +#endif + { + /* With ~ or ~user, leave NEWDIR as-is to avoid transforming + it from a symlink (or a regular file!) into a directory. */ + memcpy (target, newdir, length); + nbytes = length; + } } else nbytes = file_name_as_directory (target, newdir, length, multibyte); +#ifndef DOS_NT /* If TARGET ends in a directory separator, omit leading directory separators from NM so that concatenating a TARGET "/" to an NM "/foo" does not result in the incorrect "//foo". */ if (nbytes && IS_DIRECTORY_SEP (target[nbytes - 1])) while (IS_DIRECTORY_SEP (nm[0])) nm++; +#endif } memcpy (target + nbytes, nm, nmlim - nm + 1); @@ -1420,6 +1446,7 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, { *o++ = *p++; } +#ifndef DOS_NT else if (p[1] == '.' && IS_DIRECTORY_SEP (p[2])) { /* Replace "/./" with "/". */ @@ -1432,6 +1459,18 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, *o++ = *p; p += 2; } +#else + else if (p[1] == '.' + && (IS_DIRECTORY_SEP (p[2]) + || p[2] == 0)) + { + /* If "/." is the entire filename, keep the "/". Otherwise, + just delete the whole "/.". */ + if (o == target && p[2] == '\0') + *o++ = *p; + p += 2; + } +#endif else if (p[1] == '.' && p[2] == '.' /* `/../' is the "superroot" on certain file systems. Turned off on DOS_NT systems because they have no @@ -1445,9 +1484,7 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, #endif && (IS_DIRECTORY_SEP (p[3]) || p[3] == 0)) { -#ifdef WINDOWSNT - char *prev_o = o; -#endif +#ifndef DOS_NT while (o != target) { o--; @@ -1459,11 +1496,22 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, break; } } -#ifdef WINDOWSNT +#else +# ifdef WINDOWSNT + char *prev_o = o; +# endif + while (o != target && (--o, !IS_DIRECTORY_SEP (*o))) + continue; +# ifdef WINDOWSNT /* Don't go below server level in UNC filenames. */ if (o == target + 1 && IS_DIRECTORY_SEP (*o) && IS_DIRECTORY_SEP (*target)) o = prev_o; + else +# endif + /* Keep initial / only if this is the whole name. */ + if (o == target && IS_ANY_SEP (*o) && p[3] == 0) + ++o; #endif p += 3; } -- 2.17.1 --------------6A5D97583D7579B50A6FFD4E-- From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Aug 2020 06:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159868270429912 (code B ref 26911); Sat, 29 Aug 2020 06:32:01 +0000 Received: (at 26911) by debbugs.gnu.org; 29 Aug 2020 06:31:44 +0000 Received: from localhost ([127.0.0.1]:47843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBuOt-0007mO-PB for submit@debbugs.gnu.org; Sat, 29 Aug 2020 02:31:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBuOp-0007m6-4r for 26911@debbugs.gnu.org; Sat, 29 Aug 2020 02:31:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49507) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBuOh-0007ki-TP; Sat, 29 Aug 2020 02:31:31 -0400 Received: from [176.228.60.248] (port=4530 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kBuOg-0005xZ-Sf; Sat, 29 Aug 2020 02:31:31 -0400 Date: Sat, 29 Aug 2020 09:31:22 +0300 Message-Id: <83a6yeynd1.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> (message from Paul Eggert on Fri, 28 Aug 2020 22:52:28 -0700) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, > yegortimoshenko@gmail.com > From: Paul Eggert > Date: Fri, 28 Aug 2020 22:52:28 -0700 > > > That period after the colon following the drive letter shouldn't be > > there. As you may imagine, many Emacs commands are now broken because > > of this. This must be fixed ASAP. > > I installed the attached patch to revert the recent expand-file-changes in the > DOS_NT case, which should fix the problem you mentioned. Thanks, it does. But it produces a different problem: (expand-file-name "." "c:/foo/bar/") => "c:/foo/bar (note the absence of the trailing slash). > This part of fileio.c is hard to follow because of the #ifdef DOS_NT and #ifdef > WINDOWSNT and #ifdef MSDOS and whatnot. How about if we move the > MS-Windows-specific code to a different source file instead of having that > forest of ifdefs in fileio.c? As things stand, it's hard to maintain the > mainline GNU code, because the way everything's arranged the Microsoft-specific > stuff significantly obfuscates everything else. Sorry, I'm not interested in messing with expand-file-name, as the gains are insignificant, if there are any, and the potential problems that could cause are a legion. I actually think that your latest set of changes there was a mistake (for the same reasons), but as long as you are prepared to fix the fallout, I won't actively object. It took us a lot of blood, sweat, and tears to get to the point where we are: that expand-file-name works correctly for all supported systems (including DOS/Windows) and also the remote use case. We all know how one of the gazillion use cases of that function can be easily broken by a seemingly innocent change in its complex code. So I think we should leave that function alone, and any problems with file names (if they indeed are significant) should be fixed elsewhere. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Aug 2020 16:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159871960032197 (code B ref 26911); Sat, 29 Aug 2020 16:47:01 +0000 Received: (at 26911) by debbugs.gnu.org; 29 Aug 2020 16:46:40 +0000 Received: from localhost ([127.0.0.1]:49030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC400-0008My-BR for submit@debbugs.gnu.org; Sat, 29 Aug 2020 12:46:40 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:52086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC3zw-0008Es-WD for 26911@debbugs.gnu.org; Sat, 29 Aug 2020 12:46:38 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5D56C1600F4; Sat, 29 Aug 2020 09:46:31 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id XVFRyWmmQngm; Sat, 29 Aug 2020 09:46:30 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3F15C1600F6; Sat, 29 Aug 2020 09:46:30 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id R64ctICYvPUE; Sat, 29 Aug 2020 09:46:30 -0700 (PDT) Received: from [192.168.1.9] (cpe-75-82-69-226.socal.res.rr.com [75.82.69.226]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id F03651600F4; Sat, 29 Aug 2020 09:46:29 -0700 (PDT) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> From: Paul Eggert Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUlOQkV5QWNtUUJFQURB QXlIMnhvVHU3cHBHNUQzYThGTVpFb243NGRDdmM0K3ExWEEySjJ0QnkycHdhVHFmCmhweHhk R0E5Smo1MFVKM1BENGJTVUVnTjh0TFowc2FuNDdsNVhUQUZMaTI0NTZjaVNsNW04c0thSGxH ZHQ5WG0KQUF0bVhxZVpWSVlYL1VGUzk2ZkR6ZjR4aEVtbS95N0xiWUVQUWRVZHh1NDd4QTVL aFRZcDVibHRGM1dZRHoxWQpnZDdneDA3QXV3cDdpdzdlTnZub0RUQWxLQWw4S1lEWnpiRE5D UUdFYnBZM2VmWkl2UGRlSStGV1FONFcra2doCnkrUDZhdTZQcklJaFlyYWV1YTdYRGRiMkxT MWVuM1NzbUUzUWpxZlJxSS9BMnVlOEpNd3N2WGUvV0szOEV6czYKeDc0aVRhcUkzQUZINmls QWhEcXBNbmQvbXNTRVNORnQ3NkRpTzFaS1FNcjlhbVZQa25qZlBtSklTcWRoZ0IxRApsRWR3 MzRzUk9mNlY4bVp3MHhmcVQ2UEtFNDZMY0ZlZnpzMGtiZzRHT1JmOHZqRzJTZjF0azVlVThN Qml5Ti9iClowM2JLTmpOWU1wT0REUVF3dVA4NGtZTGtYMndCeHhNQWhCeHdiRFZadWR6eERa SjFDMlZYdWpDT0pWeHEya2wKakJNOUVUWXVVR3FkNzVBVzJMWHJMdzYrTXVJc0hGQVlBZ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x3ZWtCSVQrNC9jTFJHcUNIam5WMApxNUgvVDZh N3Q1bVBrYnpTck9MU280cHVqK0lUb05qWXlZSURCV3pobEExOWF2T2ErcnZVam1IdEQzc0ZO N2NYCld0a0dvaThidU5jYnk0VT0KPUFMNm8KLS0tLS1FTkQgUEdQIFBVQkxJQyBLRVkgQkxP Q0stLS0tLQo= Organization: UCLA Computer Science Department Message-ID: <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> Date: Sat, 29 Aug 2020 09:46:29 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <83a6yeynd1.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -3.1 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) >> I installed the attached patch to revert the recent expand-file-changes in the >> DOS_NT case, which should fix the problem you mentioned. > > Thanks, it does. But it produces a different problem: > > (expand-file-name "." "c:/foo/bar/") => "c:/foo/bar > > (note the absence of the trailing slash). That's what Emacs 27 does on MS-Windows, no? So it's not a regression, and the problem can be fixed at the convenience of whoever's interested in hacking on the MS-Windows side of the code. Another way to put it is that Bug#26911 is now fixed for GNU and POSIX, but not for MS-Windows. My earlier changes attempted to fix it for all platforms, but this had undesirable side-effects in MS-Windows so I withdrew the MS-Windows part of the changes. I have therefore reopened Bug#26911 since I assume it's still present on MS-Windows. Are some of the new test cases failing on MS-Windows? Should I arrange for these test cases to be expected to fail on MS-Windows? If so, please let me know which ones are failing, so that I can do that. > I'm not interested in messing with expand-file-name That's understandable as expand-file-name is quite a mess internally. But if you're not interested in any attempt to clean up the mess, I guess I should refrain from giving it a shot. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Aug 2020 17:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: 26911@debbugs.gnu.org, mattiase@acm.org, Eli Zaretskii , yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.15987204032837 (code B ref 26911); Sat, 29 Aug 2020 17:01:02 +0000 Received: (at 26911) by debbugs.gnu.org; 29 Aug 2020 17:00:03 +0000 Received: from localhost ([127.0.0.1]:49046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC4Cw-0000jh-H0 for submit@debbugs.gnu.org; Sat, 29 Aug 2020 13:00:02 -0400 Received: from mout.gmx.net ([212.227.17.22]:44877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC4Cs-0000id-Dr for 26911@debbugs.gnu.org; Sat, 29 Aug 2020 13:00:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1598720379; bh=/UZzY7tZzvNXVLzFGQMnDSqYJPIuRwrZQjrh570Rmjg=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=FCcXL6QSiuw/4OooXxi23SkGOlJ6Ju6wMhtWyX9yWjkDX/y53uncUf1dsXuswKR1H b6eqRnhVxnAgkUEKM/FV4nMpbGGcmJ8KMfMdJp05ho3yjryFzObX8DmDs0et9ub3X7 sgbGF/IhJgosEo39JqfY80JSiKrE7Y6KK10iYlGQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.86.51.69]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M42jQ-1kC4CZ1r96-0003uv; Sat, 29 Aug 2020 18:59:39 +0200 From: Michael Albinus References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> Date: Sat, 29 Aug 2020 18:59:37 +0200 In-Reply-To: <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> (Paul Eggert's message of "Sat, 29 Aug 2020 09:46:29 -0700") Message-ID: <87eenp75hi.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:F+Zvd0qntR72unAKwKgkDM70LOLBi49B0mQq8KMjqErDkOCOMoJ X8ZDWDzKQ67jxniQ+nm70/13F4ULCsmzTb7+GYmrsIQw16f+4VJEpVJ7TFJxPV6VbJ7FJOd a8JR4hcM1oCKM1fZ/PCEY/SP/JSTh9r6HySEXtR/Y8oSwetqb5zcd2k+/D6ExIZGJ10/cvY 7ixCBKKH95YwfFmfXx89w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:pd1JcIHLiqM=:NXzf4bcK+0gxUBMUXNL7ho ywbhFTbTRm1zCDDGgoEDRyvM+glCB1C0W5fPbgaMj9eC29rW3SGs+V9JkMZElVvPc+tAGr/tT ySc3XTrrDp6y4pkqdQNIa4qLoFWCDoCMinI78jvl8Pbws6G++Hqd/FPbsh3tV7sEOIi87AY9w LhDihxG9lH8EuoALo2cwMkK0gOMfQwRidvA6XV5OWh4j0EU9AFGI9PDVki4JYko8/esrMC3RD SsgHvwbHlYp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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Paul Eggert writes: Hi Paul, > Are some of the new test cases failing on MS-Windows? Should I arrange > for these test cases to be expected to fail on MS-Windows? If so, > please let me know which ones are failing, so that I can do that. Maybe tramp-test05-expand-file-name fails now on MS-Windows. If somebody could check it? If have no MS Windows machine to test. Best regards, Michael. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Aug 2020 18:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159872563110870 (code B ref 26911); Sat, 29 Aug 2020 18:28:02 +0000 Received: (at 26911) by debbugs.gnu.org; 29 Aug 2020 18:27:11 +0000 Received: from localhost ([127.0.0.1]:49116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC5ZH-0002pG-11 for submit@debbugs.gnu.org; Sat, 29 Aug 2020 14:27:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC5ZE-0002p2-LE for 26911@debbugs.gnu.org; Sat, 29 Aug 2020 14:27:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56829) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kC5Z9-0003q2-8i; Sat, 29 Aug 2020 14:27:03 -0400 Received: from [176.228.60.248] (port=1217 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kC5Z4-0004nz-OW; Sat, 29 Aug 2020 14:27:02 -0400 Date: Sat, 29 Aug 2020 21:26:51 +0300 Message-Id: <83sgc5xq8k.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> (message from Paul Eggert on Sat, 29 Aug 2020 09:46:29 -0700) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, > yegortimoshenko@gmail.com > From: Paul Eggert > Date: Sat, 29 Aug 2020 09:46:29 -0700 > > >> I installed the attached patch to revert the recent expand-file-changes in the > >> DOS_NT case, which should fix the problem you mentioned. > > > > Thanks, it does. But it produces a different problem: > > > > (expand-file-name "." "c:/foo/bar/") => "c:/foo/bar > > > > (note the absence of the trailing slash). > > That's what Emacs 27 does on MS-Windows, no? So it's not a regression, and the > problem can be fixed at the convenience of whoever's interested in hacking on > the MS-Windows side of the code. It's a regression wrt behavior on Posix platforms: it fails one of the tests in fileio-tests.el: Test fileio-tests--HOME-trailing-slash condition: (ert-test-failed ((should (equal (expand-file-name "~") (expand-file-name home))) :form (equal "c:/a/b/c" "c:/a/b/c/") :value nil :explanation (arrays-of-different-length 8 9 "c:/a/b/c" "c:/a/b/c/" first-mismatch-at 8))) FAILED 1/12 fileio-tests--HOME-trailing-slash (0.000000 sec) > Another way to put it is that Bug#26911 is now fixed for GNU and POSIX, but not > for MS-Windows. My earlier changes attempted to fix it for all platforms, but > this had undesirable side-effects in MS-Windows so I withdrew the MS-Windows > part of the changes. I have therefore reopened Bug#26911 since I assume it's > still present on MS-Windows. If that is the case, I prefer that we revert all the changes made recently to fix bug#26911, and leave that bug open, until a fix is available that works on all platforms. > > I'm not interested in messing with expand-file-name > > That's understandable as expand-file-name is quite a mess internally. But if > you're not interested in any attempt to clean up the mess, I guess I should > refrain from giving it a shot. Fine with me, then let's revert the recent changes and go back to what we had before. Thanks for trying to fix that. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Aug 2020 18:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Michael Albinus Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159872577811117 (code B ref 26911); Sat, 29 Aug 2020 18:30:02 +0000 Received: (at 26911) by debbugs.gnu.org; 29 Aug 2020 18:29:38 +0000 Received: from localhost ([127.0.0.1]:49128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC5bd-0002tF-TJ for submit@debbugs.gnu.org; Sat, 29 Aug 2020 14:29:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC5bc-0002t3-DJ for 26911@debbugs.gnu.org; Sat, 29 Aug 2020 14:29:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56917) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kC5bW-00046I-MD; Sat, 29 Aug 2020 14:29:30 -0400 Received: from [176.228.60.248] (port=1371 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kC5bU-0008Te-JQ; Sat, 29 Aug 2020 14:29:29 -0400 Date: Sat, 29 Aug 2020 21:29:22 +0300 Message-Id: <83r1rpxq4d.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87eenp75hi.fsf@gmx.de> (message from Michael Albinus on Sat, 29 Aug 2020 18:59:37 +0200) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <87eenp75hi.fsf@gmx.de> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Albinus > Cc: Eli Zaretskii , 26911@debbugs.gnu.org, mattiase@acm.org, > yegortimoshenko@gmail.com > Date: Sat, 29 Aug 2020 18:59:37 +0200 > > Maybe tramp-test05-expand-file-name fails now on MS-Windows. If somebody > could check it? If have no MS Windows machine to test. I tried running "make tramp-tests", but all I get is this: GEN lisp/net/tramp-tests.log Not a Tramp file name: "NUL" Any suggestions? From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Aug 2020 19:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159872837315021 (code B ref 26911); Sat, 29 Aug 2020 19:13:02 +0000 Received: (at 26911) by debbugs.gnu.org; 29 Aug 2020 19:12:53 +0000 Received: from localhost ([127.0.0.1]:49173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC6HV-0003uD-9l for submit@debbugs.gnu.org; Sat, 29 Aug 2020 15:12:53 -0400 Received: from mout.gmx.net ([212.227.15.15]:54569) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC6HS-0003tn-Cd for 26911@debbugs.gnu.org; Sat, 29 Aug 2020 15:12:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1598728352; bh=ZS6PlooWNVsRmQjONh40gHunkQ8pR5nHh++2gi9b8Vs=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=GAmhkjgVxXqFwr8RWFz81KwwhWmG9UEO9SRZg8fUqARZ4fRK3yGmX5TfwFUb0voyj gGHFTSlCRJb/fhp6FqxTIRHYWYum3Nf69cFkv3QZz0GqlG0teDtwaKq0XKqRDprYBy dJ+PQW2h9ufJs6iesc352jLyJk1DkhMp1dbLp5Eg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.86.51.69]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N33Il-1kbZD33AvF-013P1V; Sat, 29 Aug 2020 21:12:32 +0200 From: Michael Albinus References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <87eenp75hi.fsf@gmx.de> <83r1rpxq4d.fsf@gnu.org> Date: Sat, 29 Aug 2020 21:12:30 +0200 In-Reply-To: <83r1rpxq4d.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Aug 2020 21:29:22 +0300") Message-ID: <87tuwl5krl.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:TV6x/CZvKmWaihiAsxmh3xK2I9PVXwk6WjwWxNZYWaTHXe+/02Y KEhgCQYFiQZTQGpYMIzSB7bBxJbKCzvjkN8fKG36wptLjqLqYeVUffGc9bdZO/tqyneEzKc h+Qghum6kJ9VUHAWqs0hNyJvugqBBR5ErCtD6mNuQlBM5NZbDFKv6T1+9xKHgiu36a80dmk 7U6hNJ1PVSiQsPW3kv8XQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:XgJtOZzVwEM=:2qHKvwIygpbHwcLraZLa9w 4nLeMKOnjuXDdQLxawsMo8ACxNf2QT0JJs+tCpELpaQV33CZHkKGQNiUDAtITBVwGxY5xbhAt crqtM7gPLh3+31FHYzyhwIMVunwhqGBNgW32uYCnU9FqKA9gnB1w0SrxPdeZO1qrz6xmM78GV zIyUOryMZiXvEWTWa7TOheKIEaeeq0nuA7E+Zepzw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MUXWqPv4g== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: Hi Eli, >> Maybe tramp-test05-expand-file-name fails now on MS-Windows. If somebody >> could check it? If have no MS Windows machine to test. > > I tried running "make tramp-tests", but all I get is this: > > GEN lisp/net/tramp-tests.log > Not a Tramp file name: "NUL" > > Any suggestions? Hmm, yes: on MS Windows, the mock trick doesn't work. I hoped, that at least the tests which do not need a real connection do work. Well, if you have a remote host reachable via putty, which has also a /tmp directory, you could try set REMOTE_TEMPORARY_FILE_DIRECTORY=/plink:user@host:/tmp prior the make call. Thanks, and best regards, Michael. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Aug 2020 19:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Michael Albinus Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159872950016739 (code B ref 26911); Sat, 29 Aug 2020 19:32:01 +0000 Received: (at 26911) by debbugs.gnu.org; 29 Aug 2020 19:31:40 +0000 Received: from localhost ([127.0.0.1]:49178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC6Zf-0004Lu-SL for submit@debbugs.gnu.org; Sat, 29 Aug 2020 15:31:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC6Zd-0004Lg-0w for 26911@debbugs.gnu.org; Sat, 29 Aug 2020 15:31:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57644) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kC6ZV-0002GW-Nv; Sat, 29 Aug 2020 15:31:29 -0400 Received: from [176.228.60.248] (port=1182 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kC6ZU-00036L-JH; Sat, 29 Aug 2020 15:31:29 -0400 Date: Sat, 29 Aug 2020 22:31:21 +0300 Message-Id: <83h7slxn92.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87tuwl5krl.fsf@gmx.de> (message from Michael Albinus on Sat, 29 Aug 2020 21:12:30 +0200) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <87eenp75hi.fsf@gmx.de> <83r1rpxq4d.fsf@gnu.org> <87tuwl5krl.fsf@gmx.de> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Albinus > Cc: eggert@cs.ucla.edu, 26911@debbugs.gnu.org, mattiase@acm.org, > yegortimoshenko@gmail.com > Date: Sat, 29 Aug 2020 21:12:30 +0200 > > > I tried running "make tramp-tests", but all I get is this: > > > > GEN lisp/net/tramp-tests.log > > Not a Tramp file name: "NUL" > > > > Any suggestions? > > Hmm, yes: on MS Windows, the mock trick doesn't work. I hoped, that at > least the tests which do not need a real connection do work. > > Well, if you have a remote host reachable via putty, which has also a > /tmp directory, you could try > > set REMOTE_TEMPORARY_FILE_DIRECTORY=/plink:user@host:/tmp > > prior the make call. This variant seems to work: REMOTE_TEMPORARY_FILE_DIRECTORY=/plink:user@host:/tmp make lisp/net/tramp-tests Most of the tests are "skipped", but the one you were interested in isn't skipped, and indeed fails: Test tramp-test05-expand-file-name condition: (ert-test-failed ((should (string-equal (expand-file-name "/method:host:/path/.") (if ... "/method:host:/path/" "/method:host:/path"))) :form (string-equal "/method:host:/path" "/method:host:/path/") :value nil)) FAILED 12/70 tramp-test05-expand-file-name (0.000000 sec) HTH From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Aug 2020 20:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159873375323171 (code B ref 26911); Sat, 29 Aug 2020 20:43:02 +0000 Received: (at 26911) by debbugs.gnu.org; 29 Aug 2020 20:42:33 +0000 Received: from localhost ([127.0.0.1]:49215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC7gH-00061f-2h for submit@debbugs.gnu.org; Sat, 29 Aug 2020 16:42:33 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC7gE-00061R-R5 for 26911@debbugs.gnu.org; Sat, 29 Aug 2020 16:42:31 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 520921600EA; Sat, 29 Aug 2020 13:42:25 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Ijw0_4csQuNt; Sat, 29 Aug 2020 13:42:24 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 55ADF1600F6; Sat, 29 Aug 2020 13:42:24 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id y5shI7_9kx_u; Sat, 29 Aug 2020 13:42:24 -0700 (PDT) Received: from [192.168.1.9] (cpe-75-82-69-226.socal.res.rr.com [75.82.69.226]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id E647A1600EA; Sat, 29 Aug 2020 13:42:23 -0700 (PDT) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> From: Paul Eggert Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUlOQkV5QWNtUUJFQURB QXlIMnhvVHU3cHBHNUQzYThGTVpFb243NGRDdmM0K3ExWEEySjJ0QnkycHdhVHFmCmhweHhk R0E5Smo1MFVKM1BENGJTVUVnTjh0TFowc2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TzJtaFhpaGdXS0QKMER3KzBMWVBuVU9zUTBLT0Z4SFhYWUhtUnJTMU9a UFU1OUJMdmMrVFJoSWhhZlNIS0x3YlhLKzZja2t4Qng2aAo4ejVjY3BHMFFzNGJGaGRGWW5G ckVpZURMb0dtbkUyWUxoZFY2c3dKOVZOQ1M2cExpRW9oVDNmbTdhWG0xNXRaCk9JeXpNWmhI UlNBUGJsWHhRMFpTV2pxOG9ScmNZTkZ4YzRXMVVScEFrQkNPWUpvWHZRZkQ1TDNscUFsOFRD cUQKVXpZeGhIL3RKaGJEZEhycUhINzY3amFEYVRCMStUYWxwLzJBTUt3Y1hOT2Rpa2xHeGJt SFZHNllHbDZnOExyYgpzdTlOWkVJNHlMbEh6dWlrdGhKV2d6KzN2WmhWR3lObHQrSE5Jb0Y2 Q2pETDJvbXU1Y0VxNFJESE00NFFxUGs2Cmw3TzBwVXZOMW1UNEIrUzFiMDhSS3BxbS9mZjAx NUUzN0hOVi9waUl2Smx4R0FZejhQU2Z1R0NCMXRoTVlxbG0KZ2RoZDkvQmFiR0ZiR0dZSEE2 VTQvVDV6cVUrZjZ4SHkxU3NBUVoxTVNLbEx3ZWtCSVQrNC9jTFJHcUNIam5WMApxNUgvVDZh N3Q1bVBrYnpTck9MU280cHVqK0lUb05qWXlZSURCV3pobEExOWF2T2ErcnZVam1IdEQzc0ZO N2NYCld0a0dvaThidU5jYnk0VT0KPUFMNm8KLS0tLS1FTkQgUEdQIFBVQkxJQyBLRVkgQkxP Q0stLS0tLQo= Organization: UCLA Computer Science Department Message-ID: <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> Date: Sat, 29 Aug 2020 13:42:23 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <83sgc5xq8k.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------8472FE24550611FDE90DE482" Content-Language: en-US X-Spam-Score: -3.1 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) This is a multi-part message in MIME format. --------------8472FE24550611FDE90DE482 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 8/29/20 11:26 AM, Eli Zaretskii wrote: >> That's what Emacs 27 does on MS-Windows, no? So it's not a regression, and the >> problem can be fixed at the convenience of whoever's interested in hacking on >> the MS-Windows side of the code. > > It's a regression wrt behavior on Posix platforms: it fails one of the > tests in fileio-tests.el: That's not a regression in the usual sense of the word, since Emacs master on MS-Windows is behaving the same way it did in Emacs 27. It's merely a bug that has been fixed on most platforms but not on MS-Windows. The test you mentioned is newly-added and already special-cases for MS-Windows, and it's easy to special-case it just a bit more. I installed the attached little patch as a workaround until we can get the bug fixed in the MS-Windows support code. > If that is the case, I prefer that we revert all the changes made > recently to fix bug#26911, and leave that bug open, until a fix is > available that works on all platforms. Although we should continue to leave the bug open (since it's still present on MS-Windows), reverting would be the tail wagging the dog. We should not reintroduce a bug on GNU and similar platforms merely because we haven't yet found the time to fix the bug on MS-Windows. It surely would be better to fix the bug on MS-Windows. A good way to start doing that is to refactor the code a bit to avoid the tricky #ifdefs it currently uses, as these #ifdefs make bugs like this painful to fix. I can draft a patch along those lines if you like. I realize you're dubious about refactoring and so wouldn't install the patch without checking with you. If you prefer fixing it a different way of course feel free to suggest something. Since I don't use MS-Windows your expertise would be helpful. --------------8472FE24550611FDE90DE482 Content-Type: text/x-patch; charset=UTF-8; name="0001-Mark-failing-fileio-test-on-MS-Windows.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Mark-failing-fileio-test-on-MS-Windows.patch" >From e709c187fde76573ea3ec3a5f14e09b9ed59525f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 29 Aug 2020 13:34:06 -0700 Subject: [PATCH] Mark failing fileio test on MS-Windows * test/src/fileio-tests.el (fileio-tests--HOME-trailing-slash): Expect failure on MS-Windows. --- test/src/fileio-tests.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/src/fileio-tests.el b/test/src/fileio-tests.el index 7baa4c7e2f..bedda83bbd 100644 --- a/test/src/fileio-tests.el +++ b/test/src/fileio-tests.el @@ -109,6 +109,9 @@ fileio-tests--relative-HOME (ert-deftest fileio-tests--HOME-trailing-slash () "Test that expand-file-name of \"~\" respects trailing slash." + :expected-result (if (memq system-type '(windows-nt ms-dos)) + :failed + :passed) (let ((process-environment (copy-sequence process-environment))) (dolist (home (if (memq system-type '(windows-nt ms-dos)) -- 2.17.1 --------------8472FE24550611FDE90DE482-- From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Aug 2020 09:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159878083129783 (code B ref 26911); Sun, 30 Aug 2020 09:48:01 +0000 Received: (at 26911) by debbugs.gnu.org; 30 Aug 2020 09:47:11 +0000 Received: from localhost ([127.0.0.1]:49512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCJvb-0007kI-2c for submit@debbugs.gnu.org; Sun, 30 Aug 2020 05:47:11 -0400 Received: from mout.gmx.net ([212.227.17.22]:53391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCJvX-0007jy-DS for 26911@debbugs.gnu.org; Sun, 30 Aug 2020 05:47:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1598780815; bh=MKBzSoaKjhnHMyBxqF5QIbA43xwS23zRi6vtFEERZZ8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=AkCb9KZkKgWNJW4WCAJhPOdsstsXlkF5mSoPKCjiKHNGMxXoDVF9etV4TUo/2h82r PdvPJ9ZElTEG52y2h0MwV8gc3oANz78yZ5G3tAwljAYAFdDMAiFwxJwKOr70ZKGhDu O5iy7CGAG6N/FVV3vcgYTKG0DFkBd/pdfOaXnnd8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.86.60.212]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N9Mtg-1kiEOJ1bcq-015KE8; Sun, 30 Aug 2020 11:46:55 +0200 From: Michael Albinus References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <87eenp75hi.fsf@gmx.de> <83r1rpxq4d.fsf@gnu.org> <87tuwl5krl.fsf@gmx.de> <83h7slxn92.fsf@gnu.org> Date: Sun, 30 Aug 2020 11:46:53 +0200 In-Reply-To: <83h7slxn92.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Aug 2020 22:31:21 +0300") Message-ID: <87pn785uuq.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:QirBX8goo7av9nQvb5p962vK/CpfENM1h9nocdwTY/xWIAl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shZKYjWoNx/zkVX/JMBWQ74D3p5rO23YvG4 /qicKEjOC5l4fzWoTwkw215kQTMJP+JS4MLobJ5Kz9sHrQ/+ssOmG/ugedHcsW2MQNsb7YWnz YD0G9xw+kiS4cPjidVQhJ8x0r/ebSxOa4iwy9czkDh41VkviJRWb2OlT42NMhfy84J17TntGn FwkYw8slNkseRUZjDOGn8a+XL8C5hpHeCHS430pjqx6X82WG+QH9gAmLQItv7V3mmb76zpG2v DAsLq1Q9QubW9kSuKlVqEzznjr5BBsBQcpgraUu8167MABtXFn6g2T4IFq0JzPbzIuXGEsXuW SkfYgxOetv93Mqshs5vnAyHp9WgCs9f+UjTevcnhxHpv+jVlDlwqSSnWE0eCvmhXpZs519drS 95GZOdEuXFNXCD/TldDUbilUQzDGSHYT1QA2fpg== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: Hi Eli, > This variant seems to work: > > REMOTE_TEMPORARY_FILE_DIRECTORY=/plink:user@host:/tmp make lisp/net/tramp-tests > > Most of the tests are "skipped", but the one you were interested in > isn't skipped, and indeed fails: > > Test tramp-test05-expand-file-name condition: > (ert-test-failed > ((should > (string-equal > (expand-file-name "/method:host:/path/.") > (if ... "/method:host:/path/" "/method:host:/path"))) > :form > (string-equal "/method:host:/path" "/method:host:/path/") > :value nil)) > FAILED 12/70 tramp-test05-expand-file-name (0.000000 sec) This is as expected, thanks. I'm a little bit undecided whether I do special-case the test for running on MS Windows, or whether I wait that it will be fixed. WDYT? > HTH Best regards, Michael. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Aug 2020 14:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159879661114825 (code B ref 26911); Sun, 30 Aug 2020 14:11:01 +0000 Received: (at 26911) by debbugs.gnu.org; 30 Aug 2020 14:10:11 +0000 Received: from localhost ([127.0.0.1]:50456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCO26-0003r3-Tk for submit@debbugs.gnu.org; Sun, 30 Aug 2020 10:10:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCO22-0003qZ-QX for 26911@debbugs.gnu.org; Sun, 30 Aug 2020 10:10:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40103) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCO1x-00054n-Cg; Sun, 30 Aug 2020 10:10:01 -0400 Received: from [176.228.60.248] (port=1728 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kCO1w-0007yv-Re; Sun, 30 Aug 2020 10:10:01 -0400 Date: Sun, 30 Aug 2020 17:09:55 +0300 Message-Id: <83eenoxm18.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> (message from Paul Eggert on Sat, 29 Aug 2020 13:42:23 -0700) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, > yegortimoshenko@gmail.com > From: Paul Eggert > Date: Sat, 29 Aug 2020 13:42:23 -0700 > > It surely would be better to fix the bug on MS-Windows. A good way to start > doing that is to refactor the code a bit to avoid the tricky #ifdefs it > currently uses, as these #ifdefs make bugs like this painful to fix. I can draft > a patch along those lines if you like. I realize you're dubious about > refactoring and so wouldn't install the patch without checking with you. It isn't right for us to make significant changes in expand-file-name, let alone refactor it. Its code is complex and full of subtle dark corners, many of which are not well covered by our test suite. Refactoring it into something more elegant is a large job -- for a very small gain, since the function does its job 99.99% of the time. We would be wasting our sparse resources if we do any serious changes there, and will almost certainly introduce quite a few bugs on the way. It isn't worth it, definitely not in order to fix the couple of rare bugs we are facing. Instead, we should fix these particular bugs by localized changes whose effect is limited to the specific situations we need to fix. So with that in mind, let's please go back to the problems we have and see how they can be fixed without unnecessary refactoring. The original problem in this bug report was identified by Michael: > In fileio.c, lines 1393-1394, the following loop > > --8<---------------cut here---------------start------------->8--- > while (o != target && (--o, !IS_DIRECTORY_SEP (*o))) > continue; > --8<---------------cut here---------------end--------------->8--- > > replaces "/ssh:host:/bin/.." by "/ssh:host:". But it should be > "/ssh:host:/". Actually, IMO the problem is immediately following the above snippet: /* Keep initial / only if this is the whole name. */ if (o == target && IS_ANY_SEP (*o) && p[3] == 0) ++o; This is very easy to fix without affecting any other uses of the function: we should consider one other case in addition to "only if / is the whole name" -- the case where this fails to DTRT with remote directories. In your log message you alluded to another use case, unrelated to remote file names, but didn't provide any details. Can you please provide them now? Is that other use case really similar to the one which started this bug report (if not, no need to fix them both together)? The related bug#34834 is again about remote file names, but it's a different situation. AFAICT, it should also be easy to fix in a localized manner. Making such localized changes will allow us to be certain we don't break any use cases we already support successfully. Finally, I see no reason to require expand-file-name to preserve the trailing slash -- we never required this until now, and AFAIK had no problems with that. If some specialized use case does need this, I'd prefer to fix that only where and when it really matters. For example, if some Eshell command needs it, let's first consider fixing that in Eshell. In any case, the trailing slash issue is only tangentially related to the bugs discussed here, so let's not mix these separate issues. Thanks. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Aug 2020 14:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Michael Albinus Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159879689915231 (code B ref 26911); Sun, 30 Aug 2020 14:15:01 +0000 Received: (at 26911) by debbugs.gnu.org; 30 Aug 2020 14:14:59 +0000 Received: from localhost ([127.0.0.1]:50460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCO6k-0003xa-K4 for submit@debbugs.gnu.org; Sun, 30 Aug 2020 10:14:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCO6i-0003xO-Su for 26911@debbugs.gnu.org; Sun, 30 Aug 2020 10:14:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40160) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCO6d-0005UT-DW; Sun, 30 Aug 2020 10:14:51 -0400 Received: from [176.228.60.248] (port=2029 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kCO6c-0008N7-MM; Sun, 30 Aug 2020 10:14:51 -0400 Date: Sun, 30 Aug 2020 17:14:46 +0300 Message-Id: <83d038xlt5.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87pn785uuq.fsf@gmx.de> (message from Michael Albinus on Sun, 30 Aug 2020 11:46:53 +0200) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <87eenp75hi.fsf@gmx.de> <83r1rpxq4d.fsf@gnu.org> <87tuwl5krl.fsf@gmx.de> <83h7slxn92.fsf@gnu.org> <87pn785uuq.fsf@gmx.de> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Albinus > Cc: eggert@cs.ucla.edu, 26911@debbugs.gnu.org, mattiase@acm.org, > yegortimoshenko@gmail.com > Date: Sun, 30 Aug 2020 11:46:53 +0200 > > > Test tramp-test05-expand-file-name condition: > > (ert-test-failed > > ((should > > (string-equal > > (expand-file-name "/method:host:/path/.") > > (if ... "/method:host:/path/" "/method:host:/path"))) > > :form > > (string-equal "/method:host:/path" "/method:host:/path/") > > :value nil)) > > FAILED 12/70 tramp-test05-expand-file-name (0.000000 sec) > > This is as expected, thanks. > > I'm a little bit undecided whether I do special-case the test for > running on MS Windows, or whether I wait that it will be fixed. WDYT? IMO, special-casing a test is only a good idea if that is done for reasons unrelated to the behavior being tested. It makes no sense to me to special-case a test in order to make failure look like success. It's a slippery slope: once we go that way, before long we will have to special-case real code, where the problematic behavior matters. There's no real reason to special-case Windows in this case, because its behavior doesn't really differ that much from Posix. There's a small difference in syntax, but the concepts are all the same. We should fix this, not paper over it. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Aug 2020 21:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159882357631432 (code B ref 26911); Sun, 30 Aug 2020 21:40:01 +0000 Received: (at 26911) by debbugs.gnu.org; 30 Aug 2020 21:39:36 +0000 Received: from localhost ([127.0.0.1]:50902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCV32-0008Au-5N for submit@debbugs.gnu.org; Sun, 30 Aug 2020 17:39:36 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:56418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCV31-0008Aj-9a for 26911@debbugs.gnu.org; Sun, 30 Aug 2020 17:39:35 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id BF67D16008A; Sun, 30 Aug 2020 14:39:29 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id kpB-pB3dAk-I; Sun, 30 Aug 2020 14:39:28 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id DFD451600EA; Sun, 30 Aug 2020 14:39:28 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id MWeZcfggfSMM; Sun, 30 Aug 2020 14:39:28 -0700 (PDT) Received: from [192.168.1.9] (cpe-75-82-69-226.socal.res.rr.com [75.82.69.226]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id A8ACE16008A; Sun, 30 Aug 2020 14:39:28 -0700 (PDT) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> From: Paul Eggert Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUlOQkV5QWNtUUJFQURB QXlIMnhvVHU3cHBHNUQzYThGTVpFb243NGRDdmM0K3ExWEEySjJ0QnkycHdhVHFmCmhweHhk R0E5Smo1MFVKM1BENGJTVUVnTjh0TFowc2FuNDdsNVhUQUZMaTI0NTZjaVNsNW04c0thSGxH ZHQ5W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YWUhtUnJTMU9a UFU1OUJMdmMrVFJoSWhhZlNIS0x3YlhLKzZja2t4Qng2aAo4ejVjY3BHMFFzNGJGaGRGWW5G ckVpZURMb0dtbkUyWUxoZFY2c3dKOVZOQ1M2cExpRW9oVDNmbTdhWG0xNXRaCk9JeXpNWmhI UlNBUGJsWHhRMFpTV2pxOG9ScmNZTkZ4YzRXMVVScEFrQkNPWUpvWHZRZkQ1TDNscUFsOFRD cUQKVXpZeGhIL3RKaGJEZEhycUhINzY3amFEYVRCMStUYWxwLzJBTUt3Y1hOT2Rpa2xHeGJt SFZHNllHbDZnOExyYgpzdTlOWkVJNHlMbEh6dWlrdGhKV2d6KzN2WmhWR3lObHQrSE5Jb0Y2 Q2pETDJvbXU1Y0VxNFJESE00NFFxUGs2Cmw3TzBwVXZOMW1UNEIrUzFiMDhSS3BxbS9mZjAx NUUzN0hOVi9waUl2Smx4R0FZejhQU2Z1R0NCMXRoTVlxbG0KZ2RoZDkvQmFiR0ZiR0dZSEE2 VTQvVDV6cVUrZjZ4SHkxU3NBUVoxTVNLbEx3ZWtCSVQrNC9jTFJHcUNIam5WMApxNUgvVDZh N3Q1bVBrYnpTck9MU280cHVqK0lUb05qWXlZSURCV3pobEExOWF2T2ErcnZVam1IdEQzc0ZO N2NYCld0a0dvaThidU5jYnk0VT0KPUFMNm8KLS0tLS1FTkQgUEdQIFBVQkxJQyBLRVkgQkxP Q0stLS0tLQo= Organization: UCLA Computer Science Department Message-ID: <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> Date: Sun, 30 Aug 2020 14:39:28 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <83eenoxm18.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) On 8/30/20 7:09 AM, Eli Zaretskii wrote: > you alluded to another use case, unrelated to > remote file names, but didn't provide any details. Here's an example. On RHEL 7.8 (file-symlink-p "/bin/.") returned "usr/bin" which was a bug since "/bin/." is not (and cannot possibly be) a symbolic link. This bug occurred because file-symlink-p calls expand-file-name which incorrectly stripped trailing "/." from the file name before checking the file's status. This sort of behavior broke code in startup.el that used file-attributes (which had the same bug) to compare $PWD to the working directory's name, which is how I ran into the bug again. (I vaguely recall running into this bug earlier but lacked time/energy then to track it down and fix it.) > Is that other use case really similar to the one > which started this bug report I expect they're related if we look at the mess inside file-attributes. They may not appear to be similar to users who don't know how Emacs is implemented. > I see no reason to require expand-file-name to preserve the > trailing slash It's required because trailing slash affects how file names are interpreted on GNU and other POSIXish platforms. Emacs should not second-guess GNU and POSIX on this: it should interpret file names like the underlying platforms do, as anything else would be unnecessarily confusing. > IMO the problem is immediately following the above snippet: > > /* Keep initial / only if this is the whole name. */ > if (o == target && IS_ANY_SEP (*o) && p[3] == 0) > ++o; > > This is very easy to fix without affecting any other uses of the > function: we should consider one other case in addition to "only if / > is the whole name" -- the case where this fails to DTRT with remote > directories. Such a fix should be no problem for the GNU/POSIXish side, as that snippet is in the DOS_NT code and any fixes there should affect only MS-Windows and DOS. I don't know what a "remote directory" is in that context, though, so I can't give specific advice. > Its code is complex and full of subtle dark > corners, many of which are not well covered by our test suite. expand-file-name is more complex than it needs to be, and its dark corners would be less dark if we cleaned it up a bit. In refactoring I would not attempt elegance, only understandability. Right now the code is needlessly hard to understand, and that makes it hard to fix - something I encountered while trying to fix some of the abovementioned bugs. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Aug 2020 14:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159888592211603 (code B ref 26911); Mon, 31 Aug 2020 14:59:02 +0000 Received: (at 26911) by debbugs.gnu.org; 31 Aug 2020 14:58:42 +0000 Received: from localhost ([127.0.0.1]:53322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kClGb-000315-Pd for submit@debbugs.gnu.org; Mon, 31 Aug 2020 10:58:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kClGY-00030s-QJ for 26911@debbugs.gnu.org; Mon, 31 Aug 2020 10:58:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57435) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kClGT-0003q9-5C; Mon, 31 Aug 2020 10:58:33 -0400 Received: from [176.228.60.248] (port=1344 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kClGQ-00056Y-EV; Mon, 31 Aug 2020 10:58:32 -0400 Date: Mon, 31 Aug 2020 17:58:17 +0300 Message-Id: <83sgc2x3p2.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> (message from Paul Eggert on Sun, 30 Aug 2020 14:39:28 -0700) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, > yegortimoshenko@gmail.com > From: Paul Eggert > Date: Sun, 30 Aug 2020 14:39:28 -0700 > > This bug occurred because file-symlink-p calls expand-file-name which > incorrectly stripped trailing "/." from the file name before checking the file's > status. It is not expand-file-name's job to know about these subtleties. expand-file-name deals only with the syntax of file names. It doesn't know anything about the semantics of "." and ".." except that they can be removed to bring the file name to a standard form. It doesn't know whether a file is a directory or a symlink or something else; it doesn't even care if the file exists. It isn't supposed to hit the disk for its job. It is therefore perfectly valid for it to remove the trailing "/." without appending a slash. If file-symlink-p needs to handle such file names specially, it should do it in its own code. So this job should not be imposed on expand-file-name, and we should remove the code added for that purpose. > > I see no reason to require expand-file-name to preserve the > > trailing slash > > It's required because trailing slash affects how file names are interpreted on > GNU and other POSIXish platforms. It is not the job of expand-file-name to interpret file names. Lisp programs that need a directory's name to end in a slash should call file-name-as-directory, this is why we have that function. If we insist on appending the slash in all cases, then some code will benefit, but other code will break (and will need to call directory-file-name to avoid the breakage). There's no net win here, so we should not do this, either. expand-file-name is simply the wrong place for this kind of functionality, even before we consider its complexity. > > IMO the problem is immediately following the above snippet: > > > > /* Keep initial / only if this is the whole name. */ > > if (o == target && IS_ANY_SEP (*o) && p[3] == 0) > > ++o; > > > > This is very easy to fix without affecting any other uses of the > > function: we should consider one other case in addition to "only if / > > is the whole name" -- the case where this fails to DTRT with remote > > directories. > > Such a fix should be no problem for the GNU/POSIXish side, as that snippet is in > the DOS_NT code and any fixes there should affect only MS-Windows and DOS. I > don't know what a "remote directory" is in that context, though, so I can't give > specific advice. You are talking about the code after your changes, whereas I (and Michael at the time he wrote that) were talking about the code before your changes: then the above snippet affected all platforms. > Right now the code is needlessly hard to understand, and that makes > it hard to fix - something I encountered while trying to fix some of > the abovementioned bugs. It isn't hard for me to understand the current code, although it is indeed complex (because the job it does is not trivial). But the problem is not the complexity, the problem starts when we make changes there which are either not strictly necessary, or affect more use cases than the few we need to fix. That function works, and works well. Let's not make it less dependable than it is today. Anyway, I think I understand all the issues now, so I will work on fixing them soon in a way that will avoid unnecessary fallout. Thanks. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Aug 2020 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159889774530153 (code B ref 26911); Mon, 31 Aug 2020 18:16:02 +0000 Received: (at 26911) by debbugs.gnu.org; 31 Aug 2020 18:15:45 +0000 Received: from localhost ([127.0.0.1]:53648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCoLI-0007qG-Qo for submit@debbugs.gnu.org; Mon, 31 Aug 2020 14:15:45 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:38616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCoLG-0007q3-DN for 26911@debbugs.gnu.org; Mon, 31 Aug 2020 14:15:43 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id EE70F1600D4; Mon, 31 Aug 2020 11:15:36 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 8j-wxZZgKUvL; Mon, 31 Aug 2020 11:15:36 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id F23D31600E2; Mon, 31 Aug 2020 11:15:35 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3M4XM8T9az6R; Mon, 31 Aug 2020 11:15:35 -0700 (PDT) Received: from [192.168.1.9] (cpe-75-82-69-226.socal.res.rr.com [75.82.69.226]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id BF1FB1600D4; Mon, 31 Aug 2020 11:15:35 -0700 (PDT) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> From: Paul Eggert Autocrypt: addr=eggert@cs.ucla.edu; pref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(X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <83sgc2x3p2.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -4.4 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) On 8/31/20 7:58 AM, Eli Zaretskii wrote: > expand-file-name deals only with the syntax of file names. Yes, but it does so under constraints imposed by semantics. This is why expand-file-name can't simply remove *all* slashes from file names (which would be just a "syntax" thing, no? :-). On GNU and other POSIXish systems, expand-file-names is entitled to do its syntactic manipulations only because because of the POSIX rules that "." means the working directory, leading "/" means the file name is absolute, trailing "/" means the file name is that of a directory, and so forth. expand-file-name can simplify "/./" to "/", even though it cannot always simplify "/." to "" (and it cannot simply remove *all* slashes :-), because expand-file-name's syntactic manipulations simplify the file name in a safe way that does not change the file name's meaning. (This principle has one well-documented exception for symbolic links that do not point to sibling directories, but that does not overturn the principle elsewhere.) > It is therefore perfectly valid for it to remove the trailing "/." > without appending a slash. Not at all. In many cases that would change the meaning of the file name, and expand-file-name is not supposed to do that. On GNU and POSIXish platforms it is valid to remove trailing "/." in some cases (e.g., "/foo//.") but it is definitely not valid to do it in all cases. > It is not the job of expand-file-name to interpret file names. That depends on what one means by "interpret". It is the job of expand-file-name to simplify file names under standard assumptions consistent with the underlying platform's behavior. If a "simplification" would disagree with the behavior of the underlying platform, that would cause needless confusion and expand-file-name should not do that. > Lisp programs that need a directory's name to end in a slash should call > file-name-as-directory, this is why we have that function. That is a separate point, and is not directly relevant to whether expand-file-name should change a file name's meaning by removing slashes from it. > If we insist on appending the slash in all cases Nobody is insisting on that. All I'm saying is that if the user has put a slash in a file name, expand-file-name should not remove the slash if the removal would change the file name's meaning. This is a simple principle that is easy to explain to users. No other principle would make nearly as much sense. >>> IMO the problem is immediately following the above snippet: >>> >>> /* Keep initial / only if this is the whole name. */ >>> if (o == target && IS_ANY_SEP (*o) && p[3] == 0) >>> ++o; >>> >>> This is very easy to fix without affecting any other uses of the >>> function: we should consider one other case in addition to "only if / >>> is the whole name" -- the case where this fails to DTRT with remote >>> directories. >> >> Such a fix should be no problem for the GNU/POSIXish side, as that snippet is in >> the DOS_NT code and any fixes there should affect only MS-Windows and DOS. I >> don't know what a "remote directory" is in that context, though, so I can't give >> specific advice. > > You are talking about the code after your changes, whereas I (and > Michael at the time he wrote that) were talking about the code before > your changes: then the above snippet affected all platforms. Feel free to alter the code to fix these bugs in a different way. However, I expect any such fix will be simpler if starts with the current code (which fixes the bugs on GNU and other POSIX hosts) instead of with the older code (which does not). From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Aug 2020 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.15989002191378 (code B ref 26911); Mon, 31 Aug 2020 18:57:02 +0000 Received: (at 26911) by debbugs.gnu.org; 31 Aug 2020 18:56:59 +0000 Received: from localhost ([127.0.0.1]:53691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCozD-0000MA-0N for submit@debbugs.gnu.org; Mon, 31 Aug 2020 14:56:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCoz8-0000Lv-Un for 26911@debbugs.gnu.org; Mon, 31 Aug 2020 14:56:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33418) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCoz3-0000x1-4O; Mon, 31 Aug 2020 14:56:49 -0400 Received: from [176.228.60.248] (port=4302 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kCoz1-00009B-4f; Mon, 31 Aug 2020 14:56:48 -0400 Date: Mon, 31 Aug 2020 21:56:29 +0300 Message-Id: <83imcywso2.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Paul Eggert on Mon, 31 Aug 2020 11:15:35 -0700) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, > yegortimoshenko@gmail.com > From: Paul Eggert > Date: Mon, 31 Aug 2020 11:15:35 -0700 > > On 8/31/20 7:58 AM, Eli Zaretskii wrote: > > > expand-file-name deals only with the syntax of file names. > > Yes, but it does so under constraints imposed by semantics. This is why > expand-file-name can't simply remove *all* slashes from file names (which would > be just a "syntax" thing, no? :-). No, because a valid syntax of an absolute file name is to start with a slash. > > It is therefore perfectly valid for it to remove the trailing "/." > > without appending a slash. > > Not at all. We disagree. So any further argument is fruitless, because I will not change my mind on this. I'm pretty sure I'm right because this function never did anything different from what I describe, until very recently. > In many cases that would change the meaning of the file name, and > expand-file-name is not supposed to do that. Once again, the meaning of a file name is out of scope of expand-file-name's job. > Feel free to alter the code to fix these bugs in a different way. However, I > expect any such fix will be simpler if starts with the current code I intend to fix the specific bugs that were reported, and will try very hard not to alter any other behavior, but my baseline is how expand-file-name behaved before your changes, not how it behaves now (which is wrong). From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Aug 2020 23:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.15989170153815 (code B ref 26911); Mon, 31 Aug 2020 23:37:02 +0000 Received: (at 26911) by debbugs.gnu.org; 31 Aug 2020 23:36:55 +0000 Received: from localhost ([127.0.0.1]:54097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCtM6-0000zT-U5 for submit@debbugs.gnu.org; Mon, 31 Aug 2020 19:36:55 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:39158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCtM4-0000zF-Om for 26911@debbugs.gnu.org; Mon, 31 Aug 2020 19:36:53 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1C6A7160097; Mon, 31 Aug 2020 16:36:47 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id QDcfxPDlUwYF; Mon, 31 Aug 2020 16:36:46 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4ECA81600BA; Mon, 31 Aug 2020 16:36:46 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Xk5LtOBtjkhF; Mon, 31 Aug 2020 16:36:46 -0700 (PDT) Received: from [192.168.1.9] (cpe-75-82-69-226.socal.res.rr.com [75.82.69.226]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 68C951600D1; Mon, 31 Aug 2020 16:36:42 -0700 (PDT) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcywso2.fsf@gnu.org> From: Paul Eggert Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= LS0tLS1CRUdJTiBQR1AgUFVCTElDIE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cs.ucla.edu> Date: Mon, 31 Aug 2020 16:36:41 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <83imcywso2.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -4.4 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) On 8/31/20 11:56 AM, Eli Zaretskii wrote: >>> expand-file-name deals only with the syntax of file names. >> Yes, but it does so under constraints imposed by semantics. This is why >> expand-file-name can't simply remove*all* slashes from file names (which would >> be just a "syntax" thing, no? :-). > No, because a valid syntax of an absolute file name is to start with a > slash. Ending with a slash is just as much syntax as starting with a slash is. The meaning (absolute versus relative for starting slash, or directory versus file for ending slash) is a consequence of the syntax in both cases. In neither case should expand-file-name remove the slash, unless it can determine that removing the slash does not change the meaning of the name (which it can do in some cases but not in all). > We disagree. So any further argument is fruitless That's not a good way to resolve the disagreement. A better way is for me to see what changes you make or plan to make to expand-file-name. If these changes handle file names on GNU and POSIX platforms consistently with other GNU applications, everything will be OK. It's possible we are simply misunderstanding each other, after all. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Sep 2020 02:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159892763220433 (code B ref 26911); Tue, 01 Sep 2020 02:34:02 +0000 Received: (at 26911) by debbugs.gnu.org; 1 Sep 2020 02:33:52 +0000 Received: from localhost ([127.0.0.1]:54311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCw7L-0005JV-VL for submit@debbugs.gnu.org; Mon, 31 Aug 2020 22:33:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCw7I-0005JG-Q8 for 26911@debbugs.gnu.org; Mon, 31 Aug 2020 22:33:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39496) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCw7C-0004X6-P0; Mon, 31 Aug 2020 22:33:42 -0400 Received: from [176.228.60.248] (port=4327 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kCw7B-0007n8-Cr; Mon, 31 Aug 2020 22:33:42 -0400 Date: Tue, 01 Sep 2020 05:33:22 +0300 Message-Id: <83h7siw7il.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <42b50db9-dba8-b6d0-8373-3d13089bbce6@cs.ucla.edu> (message from Paul Eggert on Mon, 31 Aug 2020 16:36:41 -0700) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcywso2.fsf@gnu.org> <42b50db9-dba8-b6d0-8373-3d13089bbce6@cs.ucla.edu> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, > yegortimoshenko@gmail.com > From: Paul Eggert > Date: Mon, 31 Aug 2020 16:36:41 -0700 > > > We disagree. So any further argument is fruitless > > That's not a good way to resolve the disagreement. It's not the best one, but I don't see how else we could resolve such a basic disagreement. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Sep 2020 17:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: eggert@cs.ucla.edu Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159915408520411 (code B ref 26911); Thu, 03 Sep 2020 17:29:02 +0000 Received: (at 26911) by debbugs.gnu.org; 3 Sep 2020 17:28:05 +0000 Received: from localhost ([127.0.0.1]:36071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDt1p-0005J9-60 for submit@debbugs.gnu.org; Thu, 03 Sep 2020 13:28:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDt1n-0005If-NR for 26911@debbugs.gnu.org; Thu, 03 Sep 2020 13:28:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41380) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDt1g-0002TZ-6V; Thu, 03 Sep 2020 13:27:56 -0400 Received: from [176.228.60.248] (port=4459 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kDt1f-0003Fg-4k; Thu, 03 Sep 2020 13:27:55 -0400 Date: Thu, 03 Sep 2020 20:27:42 +0300 Message-Id: <83imcuvkhd.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <83sgc2x3p2.fsf@gnu.org> (message from Eli Zaretskii on Mon, 31 Aug 2020 17:58:17 +0300) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Mon, 31 Aug 2020 17:58:17 +0300 > From: Eli Zaretskii > Cc: 26911@debbugs.gnu.org, mattiase@acm.org, michael.albinus@gmx.de, > yegortimoshenko@gmail.com > > Anyway, I think I understand all the issues now, so I will work on > fixing them soon in a way that will avoid unnecessary fallout. Now done. I reverted most of the changes we've been discussing lately, and instead installed a simpler change which fixes both this bug and bug#34834, and doesn't affect any unrelated use cases. Michael, I'd appreciate Tramp-related testing. I've ran the standard tests from the test suite, but I'm sure you have more, including some tests that are normally disabled. I believe this bug and bug#34834 can now be closed. Thanks. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Sep 2020 17:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159915499821779 (code B ref 26911); Thu, 03 Sep 2020 17:44:01 +0000 Received: (at 26911) by debbugs.gnu.org; 3 Sep 2020 17:43:18 +0000 Received: from localhost ([127.0.0.1]:36088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDtGY-0005fD-0e for submit@debbugs.gnu.org; Thu, 03 Sep 2020 13:43:18 -0400 Received: from mout.gmx.net ([212.227.15.19]:45743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDtGV-0005ez-IE for 26911@debbugs.gnu.org; Thu, 03 Sep 2020 13:43:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1599154976; bh=vu6qJr4Y/UBXHt0tPWxL+bLq/WyIz7QIQoIiDPmiDQQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=JiSjPuy+kc5HIZc3t7BHrwwMw49QJ67P6oRMtBGO1mSZ39qQbBwzRCJkWMdP2+AP6 rjl+i111Og+MycKQcUUQNTE0dqx2OjcL69CwJl0DrNpXxsLeEhHbcWiT8XWxI+KkHQ Jb8z3/1Cko/PX+Ho+vayrXvIiedihItYkLgTgiYw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.156.38]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MIx3I-1jz6EH3JTG-00KOYi; Thu, 03 Sep 2020 19:42:55 +0200 From: Michael Albinus References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> Date: Thu, 03 Sep 2020 19:42:54 +0200 In-Reply-To: <83imcuvkhd.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 03 Sep 2020 20:27:42 +0300") Message-ID: <87pn72sqn5.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:BYPIwjMkfA6rKkXoVLIXKakudiLhh4hihzswCS4AhO8Er5tds9H Vao7joNTHS286EZ+QTD2YsaErjf1PES96k4jjOKeg6VvMZ1vrqEG4VcL676ihXikahqW6CA rxWg3o19bPTqxogkoaIDf48zHGYMIrsxnkmzGSdj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EeZeiFer7ZIimDQpKXWl2ZQzkpYPJEkkWdmT/oqqe/rsieXBvA3y16kegQ675mAYziwa9umm juzRt8VMa6qtBdHEz9K7Zs5kdihTUMvIctOAzg4rBor5m4NV6AkuYq8yBuS9/8fqVMRCILK6T 6bbakOsOA9SAs3n/j7tizna9eLVfhnaNiWou+eAdrYQLD6Up0gnLKEyg6XyhvKag2ad7sCSDX iNheTCHMswtZHYxvcQ0lEIaW2iawnOlJHrd51L165BjFJVMnglr7wzr2lZV6HSOIs6kM09FD5 NhBfx+LWOl1IAkjJBUOrYMcAgjjCAGEpA6b4LpQ== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: Hi Eli, > Michael, I'd appreciate Tramp-related testing. I've ran the standard > tests from the test suite, but I'm sure you have more, including some > tests that are normally disabled. Will do. I'm slow these days due to private issues, sorry. > Thanks. Best regards, Michael. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 11:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159922054627379 (code B ref 26911); Fri, 04 Sep 2020 11:56:02 +0000 Received: (at 26911) by debbugs.gnu.org; 4 Sep 2020 11:55:46 +0000 Received: from localhost ([127.0.0.1]:37680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEAJl-00077X-Vs for submit@debbugs.gnu.org; Fri, 04 Sep 2020 07:55:46 -0400 Received: from mout.gmx.net ([212.227.17.22]:50241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEAJk-00077J-9l for 26911@debbugs.gnu.org; Fri, 04 Sep 2020 07:55:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1599220526; bh=ypOqRuOZINY2MiL0JXVAkDh2kobewETxOFQo0HQBcsk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=NdlSbW3bcmlWRWUhgoCFUCnhRrg06zsHFroHlLS/SFLt0XKNW8DUpeqgIxGnWbfC1 C6YTKlOklP3P8p8o6ALRyE8Xu0cwQQyCwo/jAJcrDjMKAz4ltaNmBQchb1OSfAo3kV /s5qOmqF0DW29JyDwhhKDt6yfnOB4fH0k08tpG1E= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.86.44.125]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MowGU-1kucvg1570-00qNwA; Fri, 04 Sep 2020 13:55:26 +0200 From: Michael Albinus References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> Date: Fri, 04 Sep 2020 13:55:24 +0200 In-Reply-To: <83imcuvkhd.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 03 Sep 2020 20:27:42 +0300") Message-ID: <871rjhsqmr.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:KwVQQy6dBWMzgjTNH1B/HHkK6QEpwsvMoIn5JDn+zqebxouhmSQ tyuR7syCO7NURraGKcr112uGkzTW+tKAn8kiMlCRVI2KFqKrZzW47dtCmtRMirBYYN1cCkK +6UwTF5FF9wptzJ6471lRJreaBoZifnHKrAnjw+ca4aiu7hGf/QOTUenN+/KAse0gQUdmAd DEzbMRDJ4Xmzfxn71IbUw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:VyYnVfMFFaQ=:rU2oYGRhj7Cjq3YOrRc6EU 71vdQTzKHDxUT3UBki5G2DcmIp6c0zKq+Pgy1MEjFl9yfhePhLBF3vzwqn3TVXQRP2FVpI3Fo BXFZZ0eiGPhQ0NnyHggeg1PHWlAKofFIjkb/z85LxfB7+mZqiEU/vbsxPWjhlDIl3kQjxVq7Y S0GQZmg4hZ4SLOSijcbrcwxVlauFKAox5L8m8Y38ssfT1wQm0OwoH1wXsnSa3VRIAeWfsWohj MJabJaUEqjQ7l48yP+YKmVBO6sx+Qdr8OfRzKNGJUvoOX5D4BttGw5kBQ1yQHzRso6NalCyWO 2ofJUnIiLhpJQbusWrmvDlABV9y9BLNbX8XiXTd0iewFfSWVN+8/5hGXpnz5gY3uGIFEH7sJa 8atW+iYLonqpYgUodb7M/EEQc2DYMqmnqCZ4PSEdifrs9kYfIBlFDHe20DjyDZXuQ8t2S/g2l ShoZPq6KNYawvr4S/NIguUbc/aSVZzC/blHhJBZzvNxe7TGvwUh3Qsw+H23tgOAtkmoWYEdQm 3RhiMqhZKctF8acyuZEvZ37EQC99LBuexa5+C+FJqHhKe7rXc4eabOMbuEPdpZXb+ybifQHHR tClXEHmM/rlGC63SFcTuP38c1EGZH10L0CGSI7M72hA6/6N3mjMfSfo9xmTOOh7jmy3aqWLsK B+MNEgR3FD/j3KpZyvtpsK9LTZ+1nUrcEXLXYPz2J++op/3ylrwYYXZUdFDKjSlVu0s8cVnIG 1CBDZconxwQVyyPtH3EFX1HRDMzUdL/Wb8ai8+vsBcBnCbTAvhiWQ/aAaY4lJ8uajmHSfSveu MkDaJT6UTbkCSYcqnBaSC8c0DmdcszUAZuCeDszK7K845S0MAwNnewgOXxpybXJKMTZAifpf6 nIs3N/cmdeSq+igNWVw/k//wKdVavIUIsVMKAS63wx1k4zqVjXsL0r7e8gu1YAxzJKu1gvxde qY4AmCjeOOR35A1qAd2cuGVLEyBYU27vEpEEo+Pims68t6755akHGs0OvxLqHBUYznubg/vRS Fk2tuuEuKK+eC6Ysad/zeR577MhSoT5DLXrCu29iJsM5FfdmXSM3LIbruT422VlqSujFHFCOx hy5lkaq/hxl7P+1vKaj8bQaQ/2HTVXlFEqYzKwQA2v5j4ArfQ+hNKzRZdAB8imLKICPuAwftw 18UAXkZU8MLLaSyIRUvneRy1eNrBj2Pi5sLefnC+yHycEdlGI8fayMjRxYgMZrKsNooF5cHfW gAsdo5V80EdIEHNDlpEXcqcpN+CaA4TIivUqzPA== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: Hi Eli, > Michael, I'd appreciate Tramp-related testing. I've ran the standard > tests from the test suite, but I'm sure you have more, including some > tests that are normally disabled. My ansible script has finished. 75 runs of tramp-tests.el with different configurations, no error in tramp-test05-expand-file-name or tramp-test05-expand-file-name-relative. However, I haven't run it on MS Windows. > I believe this bug and bug#34834 can now be closed. Yes. > Thanks. Best regards, Michael. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 12:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Michael Albinus Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159922236030340 (code B ref 26911); Fri, 04 Sep 2020 12:26:02 +0000 Received: (at 26911) by debbugs.gnu.org; 4 Sep 2020 12:26:00 +0000 Received: from localhost ([127.0.0.1]:37755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEAn2-0007tI-3p for submit@debbugs.gnu.org; Fri, 04 Sep 2020 08:26:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEAn1-0007t2-2I for 26911@debbugs.gnu.org; Fri, 04 Sep 2020 08:25:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41495) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEAmt-0002xP-S8; Fri, 04 Sep 2020 08:25:51 -0400 Received: from [176.228.60.248] (port=2921 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kEAmq-0004Uy-PH; Fri, 04 Sep 2020 08:25:49 -0400 Date: Fri, 04 Sep 2020 15:25:38 +0300 Message-Id: <83lfhpu3st.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <871rjhsqmr.fsf@gmx.de> (message from Michael Albinus on Fri, 04 Sep 2020 13:55:24 +0200) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Albinus > Cc: eggert@cs.ucla.edu, 26911@debbugs.gnu.org, mattiase@acm.org, > yegortimoshenko@gmail.com > Date: Fri, 04 Sep 2020 13:55:24 +0200 > > > Michael, I'd appreciate Tramp-related testing. I've ran the standard > > tests from the test suite, but I'm sure you have more, including some > > tests that are normally disabled. > > My ansible script has finished. 75 runs of tramp-tests.el with different > configurations, no error in tramp-test05-expand-file-name or > tramp-test05-expand-file-name-relative. Thanks, that's good news. > However, I haven't run it on MS Windows. I did, but most of the tests are skipped. Can you teach me how to enable them on MS-Windows? I can use PuTTY to connect to a remote GNU/Linux machine where I have an account, if that is necessary. Thanks. > > I believe this bug and bug#34834 can now be closed. > > Yes. Will do. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 13:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159922761232198 (code B ref 26911); Fri, 04 Sep 2020 13:54:01 +0000 Received: (at 26911) by debbugs.gnu.org; 4 Sep 2020 13:53:32 +0000 Received: from localhost ([127.0.0.1]:38058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEC9j-0008NG-OQ for submit@debbugs.gnu.org; Fri, 04 Sep 2020 09:53:31 -0400 Received: from mout.gmx.net ([212.227.17.20]:55595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEC9h-0008N1-SV for 26911@debbugs.gnu.org; Fri, 04 Sep 2020 09:53:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1599227591; bh=1hRcNEPCdkqQBNyYxiyOkeG+1B8jiCOR8bF/Lb+3baQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=WKKE4E86oaPYsQWkZ8sktMEVvk91f+JmXO4o4EyrMjagNZpb6lzZPTfON4IKWutAj EZNrBoppqBCk2BR+0xpZ3/7uvldU/CrjOVBUhYogn8sSipdw3j1gh/2rhtL9RNoM1R l3DE+jqI6vGwM1/7gOv1LFRBcxMDJL6HVu3QXOek= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.86.44.125]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MQvD5-1jsxqC0Ffj-00O2QZ; Fri, 04 Sep 2020 15:53:11 +0200 From: Michael Albinus References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> Date: Fri, 04 Sep 2020 15:53:09 +0200 In-Reply-To: <83lfhpu3st.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 04 Sep 2020 15:25:38 +0300") Message-ID: <87wo19r6m2.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:uWsZUR2/YW1BcJXDxRNmkPiURZ19wuzgI18lDbw1U7jUUvad3D0 KJb2Yy4d6/QtxzptpAtmtMP0NIZQznaroCz0r2JlZv6TZNyT80SsIrV/gPUFBdJhVjfFCYe d7V2mSamv5TLZ3wA0zSh8IZqMZ2q3zCEcqosqb+hwRcNBWSCYDib5axdgRuLmFE2JvkGFK3 ThVjAWeMEX2ALyqSORoxQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:kvOG9oX9EAI=:I4KGC9nY6ZSc3fynNFllyn 1Ha1cBuiUE4U7ugmTgo85zJh5vvJxoybh24Jfgss7t5pn1fcx599/AnvzvM0XQvsZ0XNoozC5 wGPQYMrbv1xbwoR0VMRYmjOszZoc29TjWxM1KGDHzPVdn/U+4X5hv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z0jMoiNOF+iaIUWUeRxvybjoRYR4EYWvB EUXIqVcbwnzV+yw2qXIOX4q6e6VyzykthI8JC2Q== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: Hi Eli, >> However, I haven't run it on MS Windows. > > I did, but most of the tests are skipped. Can you teach me how to > enable them on MS-Windows? I can use PuTTY to connect to a remote > GNU/Linux machine where I have an account, if that is necessary. Well, first check whether you can connect the remote host in question. Try it interactively: C-x C-f /plink:user@host:/tmp ("user" and "host" at your taste). The connection shall not require a password. Alternatively, if you have created a PuTTy session with name "session", you could use instead "/plinkx:session:/tmp". Then, according to my MS Windows blurb, run in a CMD window: --8<---------------cut here---------------start------------->8--- > set REMOTE_TEMPORARY_FILE_DIRECTORY=/plink:user@host:/tmp > %HOMEPATH%\Desktop\emacs-28.0.50\bin\emacs.exe -Q -batch -L X:\src\tramp\lisp -l X:\src\tramp\test\tramp-tests.el -f ert-run-tests-batch-and-exit --8<---------------cut here---------------end--------------->8--- I have absolutely no build environment, just a downloaded Emacs tarfile including binaries. Therefore, Tramp itself is mounted as share on the X: drive. In the test results, you will first see a line with the used remote directory. tramp-test00-availability tells you whether the connection can be established. It shall look like --8<---------------cut here---------------start------------->8--- Remote directory: `/plink:user@host:/tmp' passed 1/70 tramp-test00-availability (0.053776 sec) --8<---------------cut here---------------end--------------->8--- If this doesn't happen, or the first test returns with PASSED (capital letters), something fails. Pls show me the output then. Best regards, Michael. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 14:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Michael Albinus Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159923045823190 (code B ref 26911); Fri, 04 Sep 2020 14:41:02 +0000 Received: (at 26911) by debbugs.gnu.org; 4 Sep 2020 14:40:58 +0000 Received: from localhost ([127.0.0.1]:40295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kECtd-00061y-P2 for submit@debbugs.gnu.org; Fri, 04 Sep 2020 10:40:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kECtb-00061i-Dj for 26911@debbugs.gnu.org; Fri, 04 Sep 2020 10:40:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43794) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kECtU-0005Fg-39; Fri, 04 Sep 2020 10:40:48 -0400 Received: from [176.228.60.248] (port=3359 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kECtS-0004AW-Ub; Fri, 04 Sep 2020 10:40:47 -0400 Date: Fri, 04 Sep 2020 17:40:36 +0300 Message-Id: <83eenhtxjv.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87wo19r6m2.fsf@gmx.de> (message from Michael Albinus on Fri, 04 Sep 2020 15:53:09 +0200) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Albinus > Cc: eggert@cs.ucla.edu, 26911@debbugs.gnu.org, mattiase@acm.org, > yegortimoshenko@gmail.com > Date: Fri, 04 Sep 2020 15:53:09 +0200 > > > I did, but most of the tests are skipped. Can you teach me how to > > enable them on MS-Windows? I can use PuTTY to connect to a remote > > GNU/Linux machine where I have an account, if that is necessary. > > Well, first check whether you can connect the remote host in > question. Try it interactively: > > C-x C-f /plink:user@host:/tmp > > ("user" and "host" at your taste). The connection shall not require a > password. Alternatively, if you have created a PuTTy session with name > "session", you could use instead "/plinkx:session:/tmp". > > Then, according to my MS Windows blurb, run in a CMD window: > > --8<---------------cut here---------------start------------->8--- > > set REMOTE_TEMPORARY_FILE_DIRECTORY=/plink:user@host:/tmp > > %HOMEPATH%\Desktop\emacs-28.0.50\bin\emacs.exe -Q -batch -L X:\src\tramp\lisp -l X:\src\tramp\test\tramp-tests.el -f ert-run-tests-batch-and-exit > --8<---------------cut here---------------end--------------->8--- OK, thanks. This worked. The results (see below) are mixed, but the problems seem mostly to have something to do with the remote system, not with Emacs. The first 27 tests all passed. Then things went south, with all the rest but the last 5 tests failing. The failures are pretty similar, and can be divided into the following groups: . (file-error "Method `plink' should specify both encoding and decoding command or an scp program") . (file-error "Couldn't find command to check if file exists") . (file-error "Tramp failed to connect. If this happens repeatedly, try `M-x tramp-cleanup-this-connection'") The last error always followed the penultimate one. Usually, 3 "failed to connect" errors after each couldn't find command". Several tests failed with other error messages: . Test tramp-test17-insert-directory backtrace: signal(wrong-type-argument ("listp sh:")) . Test tramp-test32-shell-command-dont-erase-buffer condition: (ert-test-failed ((should (string-equal "barbaz " (buffer-string))) :form (string-equal "barbaz " "bar") :value nil)) . Test tramp-test33-environment-variables condition: (ert-test-failed ((should (string-equal (format "%s,tramp:%s " emacs-version tramp-version) (funcall this-shell-command-to-string "echo ${INSIDE_EMACS:-bla}"))) :form (string-equal "28.0.50,tramp:2.5.0-pre " "") :value nil)) Finally, the summary: Ran 71 tests, 32 results as expected, 28 unexpected, 11 skipped (2020-09-04 17:27:32+0300, 1357.765625 sec) 28 unexpected results: FAILED tramp-test17-insert-directory FAILED tramp-test18-file-attributes FAILED tramp-test19-directory-files-and-attributes FAILED tramp-test20-file-modes FAILED tramp-test21-file-links FAILED tramp-test22-file-times FAILED tramp-test23-visited-file-modtime FAILED tramp-test26-file-name-completion FAILED tramp-test27-load FAILED tramp-test28-process-file FAILED tramp-test29-start-file-process FAILED tramp-test29-start-file-process-direct-async FAILED tramp-test30-make-process FAILED tramp-test30-make-process-direct-async FAILED tramp-test31-interrupt-process FAILED tramp-test32-shell-command FAILED tramp-test32-shell-command-dont-erase-buffer FAILED tramp-test33-environment-variables FAILED tramp-test34-connection-local-variables FAILED tramp-test34-explicit-shell-file-name FAILED tramp-test35-exec-path FAILED tramp-test35-remote-path FAILED tramp-test36-vc-registered FAILED tramp-test37-make-auto-save-file-name FAILED tramp-test38-find-backup-file-name FAILED tramp-test39-make-nearby-temp-file FAILED tramp-test40-special-characters FAILED tramp-test43-asynchronous-requests 11 skipped results: SKIPPED tramp-test24-file-acl SKIPPED tramp-test25-file-selinux SKIPPED tramp-test33-environment-variables-and-port-numbers SKIPPED tramp-test40-special-characters-with-ls SKIPPED tramp-test40-special-characters-with-perl SKIPPED tramp-test40-special-characters-with-stat SKIPPED tramp-test41-utf8 SKIPPED tramp-test41-utf8-with-ls SKIPPED tramp-test41-utf8-with-perl SKIPPED tramp-test41-utf8-with-stat SKIPPED tramp-test42-file-system-info What can I do about the failed tests? From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 15:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: 26911@debbugs.gnu.org, michael.albinus@gmx.de Cc: mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com X-Debbugs-Original-To: bug-gnu-emacs@gnu.org,Michael Albinus X-Debbugs-Original-Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by submit@debbugs.gnu.org id=B.159923284926981 (code B ref -1); Fri, 04 Sep 2020 15:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Sep 2020 15:20:49 +0000 Received: from localhost ([127.0.0.1]:40367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEDWC-000717-NL for submit@debbugs.gnu.org; Fri, 04 Sep 2020 11:20:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:42838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEDWB-000710-2D for submit@debbugs.gnu.org; Fri, 04 Sep 2020 11:20:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEDWA-0000WE-Sw for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2020 11:20:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44412) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEDW8-0003bT-VK; Fri, 04 Sep 2020 11:20:44 -0400 Received: from [2001:4df7:0:5cc3::1] (port=38764) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1kEDW5-0002BM-3x; Fri, 04 Sep 2020 11:20:44 -0400 Date: Fri, 04 Sep 2020 18:20:29 +0300 User-Agent: K-9 Mail for Android In-Reply-To: <83eenhtxjv.fsf@gnu.org> References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Eli Zaretskii Message-ID: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On September 4, 2020 5:40:36 PM GMT+03:00, Eli Zaretskii w= rote: >> From: Michael Albinus >> Cc: eggert@cs=2Eucla=2Eedu, 26911@debbugs=2Egnu=2Eorg, mattiase@acm= =2Eorg, >> yegortimoshenko@gmail=2Ecom >> Date: Fri, 04 Sep 2020 15:53:09 +0200 >>=20 >> > I did, but most of the tests are skipped=2E Can you teach me how to >> > enable them on MS-Windows? I can use PuTTY to connect to a remote >> > GNU/Linux machine where I have an account, if that is necessary=2E >>=20 >> Well, first check whether you can connect the remote host in >> question=2E Try it interactively: >>=20 >> C-x C-f /plink:user@host:/tmp >>=20 >> ("user" and "host" at your taste)=2E The connection shall not require a >> password=2E Alternatively, if you have created a PuTTy session with >name >> "session", you could use instead "/plinkx:session:/tmp"=2E >>=20 >> Then, according to my MS Windows blurb, run in a CMD window: >>=20 >> --8<---------------cut here---------------start------------->8--- >> > set REMOTE_TEMPORARY_FILE_DIRECTORY=3D/plink:user@host:/tmp >> > %HOMEPATH%\Desktop\emacs-28=2E0=2E50\bin\emacs=2Eexe -Q -batch -L >X:\src\tramp\lisp -l X:\src\tramp\test\tramp-tests=2Eel -f >ert-run-tests-batch-and-exit >> --8<---------------cut here---------------end--------------->8--- > >OK, thanks=2E This worked=2E The results (see below) are mixed, but the >problems seem mostly to have something to do with the remote system, >not with Emacs=2E > >The first 27 tests all passed=2E Then things went south, with all the >rest but the last 5 tests failing=2E The failures are pretty similar, >and can be divided into the following groups: > >=2E (file-error "Method `plink' should specify both encoding and decoding >command or an scp program") > > =2E (file-error "Couldn't find command to check if file exists") > >=2E (file-error "Tramp failed to connect=2E If this happens repeatedly, >try `M-x tramp-cleanup-this-connection'") > >The last error always followed the penultimate one=2E Usually, 3 >"failed to connect" errors after each couldn't find command"=2E > >Several tests failed with other error messages: > > =2E Test tramp-test17-insert-directory backtrace: > signal(wrong-type-argument ("listp sh:")) > > =2E Test tramp-test32-shell-command-dont-erase-buffer condition: > (ert-test-failed > ((should > (string-equal "barbaz > " > (buffer-string))) > :form > (string-equal "barbaz > " "bar") > :value nil)) > > =2E Test tramp-test33-environment-variables condition: > (ert-test-failed > ((should > (string-equal > (format "%s,tramp:%s > " emacs-version tramp-version) > (funcall this-shell-command-to-string "echo >${INSIDE_EMACS:-bla}"))) > :form > (string-equal "28=2E0=2E50,tramp:2=2E5=2E0-pre > " "") > :value nil)) > >Finally, the summary: > >Ran 71 tests, 32 results as expected, 28 unexpected, 11 skipped >(2020-09-04 17:27:32+0300, 1357=2E765625 sec) > > 28 unexpected results: > FAILED tramp-test17-insert-directory > FAILED tramp-test18-file-attributes > FAILED tramp-test19-directory-files-and-attributes > FAILED tramp-test20-file-modes > FAILED tramp-test21-file-links > FAILED tramp-test22-file-times > FAILED tramp-test23-visited-file-modtime > FAILED tramp-test26-file-name-completion > FAILED tramp-test27-load > FAILED tramp-test28-process-file > FAILED tramp-test29-start-file-process > FAILED tramp-test29-start-file-process-direct-async > FAILED tramp-test30-make-process > FAILED tramp-test30-make-process-direct-async > FAILED tramp-test31-interrupt-process > FAILED tramp-test32-shell-command > FAILED tramp-test32-shell-command-dont-erase-buffer > FAILED tramp-test33-environment-variables > FAILED tramp-test34-connection-local-variables > FAILED tramp-test34-explicit-shell-file-name > FAILED tramp-test35-exec-path > FAILED tramp-test35-remote-path > FAILED tramp-test36-vc-registered > FAILED tramp-test37-make-auto-save-file-name > FAILED tramp-test38-find-backup-file-name > FAILED tramp-test39-make-nearby-temp-file > FAILED tramp-test40-special-characters > FAILED tramp-test43-asynchronous-requests > > 11 skipped results: > SKIPPED tramp-test24-file-acl > SKIPPED tramp-test25-file-selinux > SKIPPED tramp-test33-environment-variables-and-port-numbers > SKIPPED tramp-test40-special-characters-with-ls > SKIPPED tramp-test40-special-characters-with-perl > SKIPPED tramp-test40-special-characters-with-stat > SKIPPED tramp-test41-utf8 > SKIPPED tramp-test41-utf8-with-ls > SKIPPED tramp-test41-utf8-with-perl > SKIPPED tramp-test41-utf8-with-stat > SKIPPED tramp-test42-file-system-info > >What can I do about the failed tests? Hold on, these problems might be due to some quota I've exceeded on the re= mote system=2E I'm unable to log in there, am trying to talk to the admins= about that=2E=2E=2E From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 16:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com X-Debbugs-Original-Cc: 26911@debbugs.gnu.org, mattiase@acm.org, bug-gnu-emacs@gnu.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by submit@debbugs.gnu.org id=B.159923517630538 (code B ref -1); Fri, 04 Sep 2020 16:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Sep 2020 15:59:36 +0000 Received: from localhost ([127.0.0.1]:40409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEE7k-0007wU-AV for submit@debbugs.gnu.org; Fri, 04 Sep 2020 11:59:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:51284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEE7i-0007wM-TV for submit@debbugs.gnu.org; Fri, 04 Sep 2020 11:59:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEE7i-0001OF-J4 for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2020 11:59:34 -0400 Received: from mout.gmx.net ([212.227.15.19]:57611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEE7g-0001S4-JP; Fri, 04 Sep 2020 11:59:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1599235157; bh=c8oAKXfxkmiNv0g71Zn32jtkeN5fdaOiHHiN4SV1CLQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Exl78HcrdAlzXCB0ZJyw2RxXxht+GRSSdYC6FHpEca/2HGn5WgyHK81jpK92riQRF 8NKWSe29XTbtTOzW/YtyLk2yB5JvSd3fcRAZWiwZyLh+UURTgMgLDkpLo5/d4GWYm4 ROstEplNPt1UoGf18MotAF2s+GgMmC3NrwG6P0C8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.86.44.125]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MzhnH-1kRmvE1bU1-00viIc; Fri, 04 Sep 2020 17:59:17 +0200 From: Michael Albinus References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> Date: Fri, 04 Sep 2020 17:59:15 +0200 In-Reply-To: (Eli Zaretskii's message of "Fri, 04 Sep 2020 18:20:29 +0300") Message-ID: <87r1rhr0rw.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:db3IPmgu4bohPI8zQfDqt5v/a4RpWuB3+dr6qdHYB8QCIPSzGiq CeGObXJTo+SzHqgSyJQjqjXQJCNaRYSPDmviiqqv8P1iuBLF/ynZFX1HPO0rziX9TXWd/3e qgsFGhxOYo6uvrRRshL5Y+wH/NZ30KKhnYTVhA7Jw0Au9R13KbNe+Bv/a/2RH0mpILsfpGC iokAXZfcoRg4Kdg52lRFQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Kqtty5byGVU=:PyN+hOWf5EycJDDKjXbQnr Mm6q6fQ8uPlJHFFrbOFdriao/vVeiojSfbfexGNEVepe+1yCYZswwkNz/6n1jt/3//Ks3L09O /eCmRqpVdvnRi2ZlJ05OZ6LZp/jU5n7AKfz1qHTL9iDkVjljiAnqMvPnZq4j5TUGw7qP54EZY Y1ITvL+mlOPSA6T44CvyAvG6vCColssTN6o7XW06jdEZb0jUTzKLQL+C//kID/PBsSbRXrkCn 9Qu97BVc1kbx0deX4mWVDiSGrQtfvdU+086b/kncaZIb9brjDwjd4F/1adPb6505DTTbcN26b sstkk7a3OA+PGXzNYNfZWR3zejAjl0Z1mZZIZmdmkqfxmBR3ZuX9JpTnXA9Q5u1gihMe8x181 JXJQ8H4Xd6zjIfsjE2VqJlKkA6n4KSWCs9Lv7NUrUZ8NiDWIoZZG5JxDGrw8831GNdaDv9U09 ezTJJn3hVnTvT9tEPOJY+kx4WNi7ijlOgwsdidzFKRTzhrA358HjFF9dXwQqBN6cTo//kcrIM oWcLT4H3zS5swl6rCEAKD5v9xErlMbJxwf8VTGZ06W3ELt0WMl5/gPx511WS6AnQJAgrc/C6r fhNST4I5Fy7WqXgCtfGDmWRAiy665NTqmLygwDntM/s7Gpp2J7GUOEhIwAM587uvaRa+qtYT0 LnKYRmcLmO/ty0no9qGDHc9fgjPIHD9BSmuCQFJ92ofTPjt2ROdCDGDGOGLnUgvzZUjbPe96K 4EJZaCyN/Vl7DPa/gOMup2XRxhafb7Aq16bDlriCFXT9aG6jEIjjxJzWYVPg3lqIPkQ82LXsN +A6+GkU3GacPW1UTp/XJzMuR9z1hyj2kYnAakmPl6u5NYeePX/cT0phinszPau+mPzaZwMZcO U7s17osCQHVdR6V5+h4L193sqiYS1Gqo7z+9kqi3Kw8Zw/dqm4fcbHXQzZSyH+5g0dkuqGmS/ tZe7OQ1I/TDdHZlYk2YjiuaC9HX38Um84YDtalmd1WTgM+AZ9+r83TjAdOk+ZR9Jkd+hpjjrp LEXrf3/O2Mft6CCnM/iCc8HUF0RlnRmnwWVLog2LNfyCMbM1GFdpeggiO3hKBcJX5P+3nqwir HAvFYKX14JGS57efWEYTxMzoJnuA9w0MJSxhK025SiippSJUO2WrJXF2jQ6tW5342DuXCnWM0 8OF9H2qEP7AZpElFU0kRg+BsFW6vFqnsDDK0VKKwCOrzFSYDl20UtO/4MvRSGKSwe7MS4H4Vl 28G1msmoyUCPslpYS+xT7SV2xP2VcblB8swCgBw== Received-SPF: pass client-ip=212.227.15.19; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/04 11:59:30 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Eli Zaretskii writes: Hi Eli, >> FAILED tramp-test43-asynchronous-requests > > Hold on, these problems might be due to some quota I've exceeded on the remote system. I'm unable to log in there, am trying to talk to the admins about that... Will do. Just FTR, that test is tagged with :unstable, and it shouldn't run yet outside my laptop. Since we don't use the Make machinery with selectors, it isn't skipped on MS Windows. Best regards, Michael. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 16:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159923577631577 (code B ref 26911); Fri, 04 Sep 2020 16:10:01 +0000 Received: (at 26911) by debbugs.gnu.org; 4 Sep 2020 16:09:36 +0000 Received: from localhost ([127.0.0.1]:40452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEEHQ-0008DE-7H for submit@debbugs.gnu.org; Fri, 04 Sep 2020 12:09:36 -0400 Received: from mout.gmx.net ([212.227.15.19]:34205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEEHO-0008D1-3q for 26911@debbugs.gnu.org; Fri, 04 Sep 2020 12:09:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1599235763; bh=wjRqiyjsx6klud/KIEz4IXthFkebcKw7XvHl7/slUbs=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=QNplSbZP7oW7ikg2wzOpp2wYzKSpQwd/IImjpd1oa5rialGsBwzCPRl1CR81fkeih JeHJQF8qUIf53jM/U30VHUT2L8S5jLZ7Wgf1xajwycGZOhTe7KEKmKvXieeWz7OTFj UuqjCJB7VPB0JEvKJsThUk4gEAMh2bapS4AchFaE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.86.44.125]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MoO6M-1ku9et0yNs-00oqLG; Fri, 04 Sep 2020 18:09:23 +0200 From: Michael Albinus References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> Date: Fri, 04 Sep 2020 18:09:21 +0200 In-Reply-To: <83eenhtxjv.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 04 Sep 2020 17:40:36 +0300") Message-ID: <87mu25r0b2.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:4hI0i2d5TPhNQv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C4Fj+Z3o9RY8+ nyyc8q2knn0RStWwIZ0IG5bENeMKRyyqIWYOI+J0bIwocqgTbmMUZQQXzy67vGGqXVbi590nM xQOPthq4x688i5xsKFitfIakksBFcqbhaq824zyWSFuwPJrYntDY1/oew8f069SyErRrzm5wL hQJgs/7iJWY0eFKo+OWU+ovfF8TDqEoLtrPjsqPq+nMIsfo6J4677DpDRY8RG1lfYCXL1rq1H ayW/MHpTffEx61uMeuo5fAmd291dk/brP4IRsNjZDaJvW3unnDJalsQM+MyEh4R7K+xiZXnTZ UvgVE2FuIagE2k1BjLGxSZ6vLcP8OQ3rn9fa0GD2SmTqKEVPHGC/kgj7dK3/X4GCIOtFwvvEX icCkeLPTdSLhC6yMRh5RqWmG9WgvFagJFPAlxEmTXymDCDA0CSjDodVNOuCxRTZ2nWKOwqx8f BVfLKMnRXW/br+POD64ObFOPTQuQEFhmoKr/xSw== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: Hi Eli, > OK, thanks. This worked. The results (see below) are mixed, but the > problems seem mostly to have something to do with the remote system, > not with Emacs. That's often the case; otherwise I would trap the failed tests locally. > What can I do about the failed tests? Well, there is the macro tramp--test-instrument-test-case. Usually, any test which needs more analysis shall be wrapped by this macro, plus the verbosity. Like (tramp--test-instrument-test-case 6 ... test code ... ) The test code is usually the whole code of a ert-deftest body, except the initial skip-unless forms. It will generate debug messages, which could be analyzed. Unfortunately, it is often only me who can read the result. The verbosity is the value set for tramp-verbose. Often, it is sufficient to set it to 6 (debug sent commands, and the responses). In problematic cases it can be up to 10; the debug messages will be huge then. An undocumented feature is a verbosity greater 10 (say 11). This triggers also traces for all function calls of tramp-* functions via trace.el. Usually, I ask for this only when I'm desperated ... Best regards, Michael. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 17:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Michael Albinus Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com X-Debbugs-Original-Cc: 26911@debbugs.gnu.org, mattiase@acm.org, bug-gnu-emacs@gnu.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by submit@debbugs.gnu.org id=B.159924135316393 (code B ref -1); Fri, 04 Sep 2020 17:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Sep 2020 17:42:33 +0000 Received: from localhost ([127.0.0.1]:40541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEFjK-0004GD-Es for submit@debbugs.gnu.org; Fri, 04 Sep 2020 13:42:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:47376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEFjI-0004G5-Fv for submit@debbugs.gnu.org; Fri, 04 Sep 2020 13:42:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEFjH-00037q-SJ for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2020 13:42:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47360) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEFjG-0007C2-Jf; Fri, 04 Sep 2020 13:42:26 -0400 Received: from [176.228.60.248] (port=4220 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kEFjF-0003qa-EU; Fri, 04 Sep 2020 13:42:26 -0400 Date: Fri, 04 Sep 2020 20:42:16 +0300 Message-Id: <838sdpqw07.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87r1rhr0rw.fsf@gmx.de> (message from Michael Albinus on Fri, 04 Sep 2020 17:59:15 +0200) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> <87r1rhr0rw.fsf@gmx.de> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Albinus > Cc: bug-gnu-emacs@gnu.org, 26911@debbugs.gnu.org, mattiase@acm.org, > eggert@cs.ucla.edu, yegortimoshenko@gmail.com > Date: Fri, 04 Sep 2020 17:59:15 +0200 > > Eli Zaretskii writes: > > Hi Eli, > > >> FAILED tramp-test43-asynchronous-requests > > > > Hold on, these problems might be due to some quota I've exceeded on the remote system. I'm unable to log in there, am trying to talk to the admins about that... I'm talking to sysadmins to see how to overcome this problem, but in case I cannot, how do I run the Tramp suite one test at a time? can you show me an example command for that? Thanks. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 08:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com X-Debbugs-Original-Cc: 26911@debbugs.gnu.org, mattiase@acm.org, bug-gnu-emacs@gnu.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by submit@debbugs.gnu.org id=B.159929490121991 (code B ref -1); Sat, 05 Sep 2020 08:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Sep 2020 08:35:01 +0000 Received: from localhost ([127.0.0.1]:41469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kETf2-0005id-M5 for submit@debbugs.gnu.org; Sat, 05 Sep 2020 04:35:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:59108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kETf1-0005iW-2G for submit@debbugs.gnu.org; Sat, 05 Sep 2020 04:34:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kETf0-00056A-RB for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 04:34:58 -0400 Received: from mout.gmx.net ([212.227.17.20]:57853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kETey-0000Aj-TZ; Sat, 05 Sep 2020 04:34:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1599294881; bh=FB/L9a5rpCvOOeU9sJAeCib1XRThBBkEu6rCRImOKd8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Lnff/7EOlwijt/XyOlJ6+99fYKqYDF6ztsh9SkAG+n7g8nGIIAaGXKD28KAUYl+hJ SzijOIl/tSIIfM4eHkjNBWnQMgVcy7bgYyGek6CviwH+0TYzBkQ+Xg3ScUgY8t6NFs b6DTDKheddNH6ZtLJDdEwmGfEod0h/JfYyqhrmAY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.91.243.3]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M6Udt-1kC0gj3BSz-006ugb; Sat, 05 Sep 2020 10:34:40 +0200 From: Michael Albinus References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> <87r1rhr0rw.fsf@gmx.de> <838sdpqw07.fsf@gnu.org> Date: Sat, 05 Sep 2020 10:34:39 +0200 In-Reply-To: <838sdpqw07.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 04 Sep 2020 20:42:16 +0300") Message-ID: <87363wr59c.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:piNewTuwkNbzWSXqT1h6hTW2UrZG0Qp5jeQR98H7zxde95m7hox CZ3iLIC4mVk1BLsEXxwRwiXHGxWXd1RoENQlVdQCkoTa5uB6HODwlDTV++5SlDHhsRcVdpE vHqQjupv0ZDdWNylA47UexVDRPrL6JZuXgW46jTKc/thDN6V6z22z/m9Yw1DAr71+P4kd6O /I0785cHj//ufs51Jl3Cw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:g71xIw/6wk0=:NYg7SRclg0TJGL9YsXH+dj iXEpY8WCblCalTG4WKBpwwdEqOOxZeFgQ6BfcNK2tLhuTZw8dxY23/unmBpgNbkZ7lH0pOmGm XBQoriJ4aXJNjGHJqsQypMnBabqZ27e4IRzoS87sEdn8ikvqCjL2ULUQtpeEGTrdZCEruQPF5 z9qjw+LF6Eyv6Bv+Fcn+xGB3ttXpg9B7xrd6pq+WGifa5yqZ1J9vrv8enNaynqmKPp+1b2iF0 DAMHq302t4WuFypIy4koJGcAohi6W29DxX1Yv0pccE/ktpr1bvMltogs51n6pW8w7qSLGp1Xt I/fjFBXeRUSJn8Y9BpeopwwLL4mRUCRkwMcf4K4YNJX0qVGPLuJNaALhxLFMh93RjbLDLujpw Lyd0HuhffN2H3/xGNIydDo8lnzaW4BAelo2tbuv+une0GJgJ2Qi/McyRaT34OZcNBrdTMbsr1 /Kuyfn1bGbxJpzV0evgkB3p98eFqtINHVkKsdtShhAHJZUDlYomNBxF10jI6c/048L20Y2a5z MdZDAdD9fqAFT8K1sthGfPuyv8x+f/oXNXl7DV+7/7IedCGy92Qxu8A85u+OflzG3fR7aMEcB MNZt+V7QmB7ufCYx0NcJca+7XvTRxoK8qW12jnq0zi98lZSBnFn3AuvTYRljx5X5mZXOZrSh7 pn9vzKsTFsZbB/DdrbTSdhzhrm+OPpnHdN4hyzNsCVszIgAi0WcD0T3b0wYmd8L38sL9EFjC5 4ima/N0tt2UH0y8xYaT2IdMsTg+PF7WbgzkkZ4JTWoc8Maogsmgkpr8wtKWp700slG9dwyV2T nCG9GaL/X/JQZQe6h1Q2i0gb9IdzKmAVW16RzBNv5eWpBW1nTRCLaaFnHY4Kn8fxm7ypz8sv0 8EKZ7KxNkRp3TWneT8wBLlHO8k4j0sgK0Mtme47o0SccKyDDDUejexhHUCuqCZhgA2Jd6dcPK UUOVl+wkWEyHYCUsCVCIoGzXJaHZ6bBwU3hCWxPzD6BlcK3uAvIJjM430oIzFIrW1wnpHiLQp q+z1Ws3TOtOWBEXgGu+9B/yp9ckugo7W9iMCq4Rm2IoQN9rwyvtjMqO1g3vXZu9N2kCVwi3pe G/Zw/pfw/Nymx0Jyo6rW5CTKxDSy1F8MEHiv3nxw9sRLbqhK64UCf2KOooy/pQEVN5oBKhdQZ 8LbB136QKAsY2sdlzsdoX7AWpQMN758FwttCJtcINJyzao+xg0ZACNEtwc3caf1q1n8DY3rYS 2KmzAOceqyR8MMXhSKA4VIzlyLgXPh1C5OaWDQA== Received-SPF: pass client-ip=212.227.17.20; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/05 04:34:54 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Eli Zaretskii writes: Hi Eli, > I'm talking to sysadmins to see how to overcome this problem, but in > case I cannot, how do I run the Tramp suite one test at a time? can > you show me an example command for that? # make tramp-tests SELECTOR='tramp-test05-expand-file-name' See the test/README file for a discussion of SELECTOR. > Thanks. Best regards, Michael. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Michael Albinus Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159930472713318 (code B ref 26911); Sat, 05 Sep 2020 11:19:02 +0000 Received: (at 26911) by debbugs.gnu.org; 5 Sep 2020 11:18:47 +0000 Received: from localhost ([127.0.0.1]:41610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEWDX-0003Sk-47 for submit@debbugs.gnu.org; Sat, 05 Sep 2020 07:18:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEWDV-0003SX-Hy for 26911@debbugs.gnu.org; Sat, 05 Sep 2020 07:18:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33144) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEWDP-00083c-4b; Sat, 05 Sep 2020 07:18:39 -0400 Received: from [176.228.60.248] (port=2474 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kEWDO-0005OB-I9; Sat, 05 Sep 2020 07:18:38 -0400 Date: Sat, 05 Sep 2020 14:18:30 +0300 Message-Id: <83lfhopj3t.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87363wr59c.fsf@gmx.de> (message from Michael Albinus on Sat, 05 Sep 2020 10:34:39 +0200) References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> <87r1rhr0rw.fsf@gmx.de> <838sdpqw07.fsf@gnu.org> <87363wr59c.fsf@gmx.de> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Albinus > Cc: bug-gnu-emacs@gnu.org, 26911@debbugs.gnu.org, mattiase@acm.org, > eggert@cs.ucla.edu, yegortimoshenko@gmail.com > Date: Sat, 05 Sep 2020 10:34:39 +0200 > > > I'm talking to sysadmins to see how to overcome this problem, but in > > case I cannot, how do I run the Tramp suite one test at a time? can > > you show me an example command for that? > > # make tramp-tests SELECTOR='tramp-test05-expand-file-name' Thanks. FTR, this translates into the following invocation from the shell prompt: emacs -Q -batch -l test\lisp\net\tramp-tests.elc --eval "(ert-run-tests-batch-and-exit 'TEST-NAME)" First, I think I know the reason for the problem I had yesterday to run all the tests. There's some problem in the Tramp tests that causes almost each test that was run to leave 3 processes on the remote system: 2 sshd's and 1 /bin/sh. AFAICT, these are created by the first connection made by each test. Most tests create additional connections, but their processes are all killed or exit when the test completes, whereas this one connection is left behind. And some test leave behind more than one such triplet. So after running enough tests, the system is full of these triplets of zombie processes, and on a resource-challenged system that could cause additional connections to fail due to lack of resources to start another process. Is it possible to make sure these processes are killed as part of each test's cleanup? For now, I ran the tests one by one, each time killing the zombie processes manually on the remote system. It took some time... Anyway, doing this cleanup manually allowed me to run all the tests (skipping those which I knew to be "unstable"), and all but one of them succeeded. The one which failed is shown below together with the failure description: Test tramp-test30-make-process condition: (ert-test-failed ((should (string-match (if ... "unknown signal \\'" "killed.* \\'") (buffer-string))) :form (string-match "unknown signal \\'" "killed ") :value nil)) FAILED 1/1 tramp-test30-make-process (39.250000 sec) Just to be sure, I've ran this test twice, and each time it failed with the same error. I think this more or less concludes the testing of the fixes in these two bugs, so I'm going to close them now. Thanks. From unknown Tue Jun 17 22:27:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Yegor Timoshenko Subject: bug#26911: closed (Re: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP) Message-ID: References: <83ft7wpign.fsf@gnu.org> X-Gnu-PR-Message: they-closed 26911 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: confirmed Reply-To: 26911@debbugs.gnu.org Date: Sat, 05 Sep 2020 11:33:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1599305582-23233-1" This is a multi-part message in MIME format... ------------=_1599305582-23233-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 26911@debbugs.gnu.org. --=20 26911: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26911 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1599305582-23233-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 26911-done) by debbugs.gnu.org; 5 Sep 2020 11:32:41 +0000 Received: from localhost ([127.0.0.1]:41647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEWQy-0005uF-HU for submit@debbugs.gnu.org; Sat, 05 Sep 2020 07:32:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEWQx-0005ps-A3 for 26911-done@debbugs.gnu.org; Sat, 05 Sep 2020 07:32:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33254) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEWQr-0001Qv-If; Sat, 05 Sep 2020 07:32:33 -0400 Received: from [176.228.60.248] (port=3325 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kEWQq-00080b-Ig; Sat, 05 Sep 2020 07:32:33 -0400 Date: Sat, 05 Sep 2020 14:32:24 +0300 Message-Id: <83ft7wpign.fsf@gnu.org> From: Eli Zaretskii To: michael.albinus@gmx.de In-Reply-To: <83lfhopj3t.fsf@gnu.org> (message from Eli Zaretskii on Sat, 05 Sep 2020 14:18:30 +0300) Subject: Re: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> <87r1rhr0rw.fsf@gmx.de> <838sdpqw07.fsf@gnu.org> <87363wr59c.fsf@gmx.de> <83lfhopj3t.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26911-done Cc: 26911-done@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 05 Sep 2020 14:18:30 +0300 > From: Eli Zaretskii > Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, > yegortimoshenko@gmail.com > > I think this more or less concludes the testing of the fixes in these > two bugs, so I'm going to close them now. Done. ------------=_1599305582-23233-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 May 2017 16:38:03 +0000 Received: from localhost ([127.0.0.1]:43169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9a3P-0004Vv-4U for submit@debbugs.gnu.org; Sat, 13 May 2017 12:38:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9Zhq-0003yU-EH for submit@debbugs.gnu.org; Sat, 13 May 2017 12:15:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Zhk-0002ac-7Z for submit@debbugs.gnu.org; Sat, 13 May 2017 12:15:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d9Zhk-0002aY-4B for submit@debbugs.gnu.org; Sat, 13 May 2017 12:15:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Zhj-0007vT-0p for bug-gnu-emacs@gnu.org; Sat, 13 May 2017 12:15:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Zhf-0002Zs-0K for bug-gnu-emacs@gnu.org; Sat, 13 May 2017 12:15:38 -0400 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:35776) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d9Zhe-0002Z5-PW for bug-gnu-emacs@gnu.org; Sat, 13 May 2017 12:15:34 -0400 Received: by mail-lf0-x235.google.com with SMTP id j1so13941710lfh.2 for ; Sat, 13 May 2017 09:15:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=DD2Pv/aK4auoBXaNDSwAmRQEmDTbM+EiMKheC8Ls5vg=; b=U5M9zpj++VlMYXVbr/6dgOmufCbdQazySqMDa/tqXZwrEHfSD5kSnbx3WfTzQ6ll3Q VAe+/J/ezIUZFV/pWZ7qmqo0HzPFVmEE/82HH7z61c+eunNUjvZH2wjew871I/mokxb5 FFg8J6x32BXQECZDt7bbj1T3QvB7PVxBa1x9diAK+AM5T/kismWRlZxar6s3aMMc2+Be r3gDSvKbXVBjMMVJWIbsAUFGcJAFFOzhNrmUXAMhYYIZbG+nKaT2Cf/dvvZNO2JhObpN 6KopLTGdXcndu0j3wk40hA3jHXsuLgdcmUJWaFf0BpCu2hfaH4vGKlU4+hj+GIe3C6ds US+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=DD2Pv/aK4auoBXaNDSwAmRQEmDTbM+EiMKheC8Ls5vg=; b=WN0MTY630ctlwzEzxCyBSphOCBpVkFXAbU8IxLcpOkPwUiWsEpuCShYSbcqFFzS4V/ veDEGXSbEEMB1bEN0ML0fm7nucggUoWY6zFxzfJ4tnXPUmcwbi3FD5ImD1HXNUGQjvws wqPtFAc2311WcVvVCPFuKNcxs4O2+OMiu0d0SrVop0apnIwwGnFF2SWtyme2UcDrcWMe 4M2c5IUnTDJt2ZvjotwJs3Ux4F+0/lL4oWVDGKXLL3Y5B4lLdhziTiWICA2KWt/7RqNs JbkW3NgfNNT1rPUya04xLBSCG9bri73UL2Mx0tMyLd2nYYVEY5tZPehYsKCjX5/DKP+b yCaQ== X-Gm-Message-State: AODbwcAjKidBc8szXtwf+StbTC3k7Oh4olzqKGuB0hnR/AieUx6kkdXq ikI8mcq/iM/zeYTasBU= X-Received: by 10.46.83.12 with SMTP id h12mr123378ljb.28.1494692131777; Sat, 13 May 2017 09:15:31 -0700 (PDT) Received: from [192.168.0.6] ([91.188.184.82]) by smtp.gmail.com with ESMTPSA id y63sm1142798lfc.29.2017.05.13.09.15.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 May 2017 09:15:30 -0700 (PDT) From: Yegor Timoshenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: 25.2; eshell "cd .." doesn't work correctly with TRAMP Message-Id: Date: Sat, 13 May 2017 19:15:30 +0300 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 13 May 2017 12:38:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Steps to reproduce: M-x eshell cd /user@remote.com:/ cd bin cd .. pwd Expected output: /user@remote.com: Actual output: /user@remote.com:/home/user Reproducible in default Emacs 25.2 install: In GNU Emacs 25.2.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 = Version 10.9.5 (Build 13F1911)) of 2017-04-21 built on builder10-9.porkrind.org Windowing system distributor 'Apple', version 10.3.1504 Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules'= ------------=_1599305582-23233-1-- From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 15:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159932149920274 (code B ref 26911); Sat, 05 Sep 2020 15:59:02 +0000 Received: (at 26911) by debbugs.gnu.org; 5 Sep 2020 15:58:19 +0000 Received: from localhost ([127.0.0.1]:43934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEaa3-0005Gw-2X for submit@debbugs.gnu.org; Sat, 05 Sep 2020 11:58:19 -0400 Received: from mout.gmx.net ([212.227.15.18]:47035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEaa1-0005Gi-G4 for 26911@debbugs.gnu.org; Sat, 05 Sep 2020 11:58:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1599321478; bh=3KfN1ADiDOSVudBuN0Pz6arpykF7PVlgse2hqtcNzpk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=iC78aq/bOo8Dw9JrKbl6HmIqZwFQSdV7G2DAyrE3pqFvcDC/38y1ehn5ruu+yUU5i 3S4ZxIYBsFNLqTS3kKZSKNTNS0rVfw2sfIi30KLtqKedy0ygXEx6wIRZ15tNfy3teS ea78biYcuxAA2q46pKpGBZZWpW4RXEoPvhh/ZtrI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.91.243.3]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MowGa-1kuklU2ffy-00qOde; Sat, 05 Sep 2020 17:57:58 +0200 From: Michael Albinus References: <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> <87r1rhr0rw.fsf@gmx.de> <838sdpqw07.fsf@gnu.org> <87363wr59c.fsf@gmx.de> <83lfhopj3t.fsf@gnu.org> Date: Sat, 05 Sep 2020 17:57:56 +0200 In-Reply-To: <83lfhopj3t.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 05 Sep 2020 14:18:30 +0300") Message-ID: <87zh64tdvf.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:bqP4ku+gpYvQnz1Aarxdu3tFb6xryEOlbd7AA5bM3qpaN1OmizD 2+TqXtor2YtMgUV41gEnmn5o1HBsnC8i/Mmp6tbJ7X/6DThoq6+nxEHZTF+Dvmy7u8mqWch vYrNR+I7i8+lFs2GmJjfhWi7L15f6U0Of+svPOe4z+Spm8dXgzJIpKv7+UISzbyWSBiLVTI wR+aMYzsn8kajGYlCisyQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:q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toZGkbFQvxXjzR5EvnjKZ0mD5dXHcG1i7d0Wko6h+5rxMm8F9d+Vjlo7qnkYAnMEx dlYw6K6V18s7AyPno/jMaqLuoejZ9GkmAXZiXZljX9ehgX8QlQcDKBDUqV9CS0BZ7SLK0GIgr L54VQTU6jlPSjtzld3pPRSZShaX15C/brKzfbDwq0EAY4Z7Oh95sAiDMP8VDrtj9Omz71U6E1 kYoPdRcQAU45yaDKPBBrCwSnQL1C1phXE4ayatg== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Eli Zaretskii writes: Hi Eli, > First, I think I know the reason for the problem I had yesterday to > run all the tests. There's some problem in the Tramp tests that > causes almost each test that was run to leave 3 processes on the > remote system: 2 sshd's and 1 /bin/sh. AFAICT, these are created by > the first connection made by each test. Most tests create additional > connections, but their processes are all killed or exit when the test > completes, whereas this one connection is left behind. And some test > leave behind more than one such triplet. So after running enough > tests, the system is full of these triplets of zombie processes, and > on a resource-challenged system that could cause additional > connections to fail due to lack of resources to start another process. > > Is it possible to make sure these processes are killed as part of each > test's cleanup? For now, I ran the tests one by one, each time > killing the zombie processes manually on the remote system. It took > some time... Most of the tests start with (skip-unless (tramp--test-enabled)). This defun calls tramp-cleanup-connection, which shall also kill all related Tramp processes. Doesn't seem to work on MS Windows. Hard to debug for me w/o such a machine. Could you write a bug report as a reminder for me, that I investigate when I have such a machine? > Anyway, doing this cleanup manually allowed me to run all the tests > (skipping those which I knew to be "unstable"), and all but one of > them succeeded. The one which failed is shown below together with the > failure description: > > Test tramp-test30-make-process condition: > (ert-test-failed > ((should > (string-match > (if ... "unknown signal > \\'" "killed.* > \\'") > (buffer-string))) > :form > (string-match "unknown signal > \\'" "killed > ") > :value nil)) > FAILED 1/1 tramp-test30-make-process (39.250000 sec) > > Just to be sure, I've ran this test twice, and each time it failed > with the same error. Hahh! There is a special case in that test for MS-Windows: --8<---------------cut here---------------start------------->8--- (should (string-match (if (eq system-type 'windows-nt) "unknown signal\n\\'" "killed.*\n\\'") (buffer-string)))) --8<---------------cut here---------------end--------------->8--- IIRC, somebody has reported this different return message. Or maybe I have seen this on the MS Windows machine I've used for testing. Maybe we shall simply allow both messages, because the exact wording doesn't matter. What about the appended patch? > Thanks. Best regards, Michael. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment Content-Transfer-Encoding: quoted-printable *** /tmp/ediff7ZRJwF 2020-09-05 17:54:46.315839349 +0200 =2D-- /home/albinus/src/tramp/test/tramp-tests.el 2020-09-05 17:53:23.6875= 80606 +0200 *************** *** 4498,4508 **** ;; Read output. (with-timeout (10 (tramp--test-timeout-handler)) (while (accept-process-output proc 0 nil t))) ! (should ! (string-match ! (if (eq system-type 'windows-nt) ! "unknown signal\n\\'" "killed.*\n\\'") ! (buffer-string)))) ;; Cleanup. (ignore-errors (delete-process proc))) =2D-- 4498,4504 ---- ;; Read output. (with-timeout (10 (tramp--test-timeout-handler)) (while (accept-process-output proc 0 nil t))) ! (should (string-match "unknown signal\\|killed" (buffer-string)))) ;; Cleanup. (ignore-errors (delete-process proc))) --=-=-=-- From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 16:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Michael Albinus Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159932362523528 (code B ref 26911); Sat, 05 Sep 2020 16:34:02 +0000 Received: (at 26911) by debbugs.gnu.org; 5 Sep 2020 16:33:45 +0000 Received: from localhost ([127.0.0.1]:43958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEb8L-00067Q-9L for submit@debbugs.gnu.org; Sat, 05 Sep 2020 12:33:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEb8I-00067B-TP for 26911@debbugs.gnu.org; Sat, 05 Sep 2020 12:33:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36176) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEb8C-0002te-MG; Sat, 05 Sep 2020 12:33:36 -0400 Received: from [176.228.60.248] (port=2038 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kEb8B-0001yW-BO; Sat, 05 Sep 2020 12:33:36 -0400 Date: Sat, 05 Sep 2020 19:33:27 +0300 Message-Id: <834kocp4iw.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87zh64tdvf.fsf@gmx.de> (message from Michael Albinus on Sat, 05 Sep 2020 17:57:56 +0200) References: <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> <87r1rhr0rw.fsf@gmx.de> <838sdpqw07.fsf@gnu.org> <87363wr59c.fsf@gmx.de> <83lfhopj3t.fsf@gnu.org> <87zh64tdvf.fsf@gmx.de> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Albinus > Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, > yegortimoshenko@gmail.com > Date: Sat, 05 Sep 2020 17:57:56 +0200 > > > Is it possible to make sure these processes are killed as part of each > > test's cleanup? For now, I ran the tests one by one, each time > > killing the zombie processes manually on the remote system. It took > > some time... > > Most of the tests start with (skip-unless (tramp--test-enabled)). This > defun calls tramp-cleanup-connection, which shall also kill all related > Tramp processes. Doesn't seem to work on MS Windows. AFAICS, tramp-cleanup-connection deletes the network connection processes, but is that supposed to make sure the other side of the connection exits cleanly? > Hard to debug for me w/o such a machine. Could you write a bug report as > a reminder for me, that I investigate when I have such a machine? Will do. And let me know if I can provide more details about this matter, or help you debug this. > > Test tramp-test30-make-process condition: > > (ert-test-failed > > ((should > > (string-match > > (if ... "unknown signal > > \\'" "killed.* > > \\'") > > (buffer-string))) > > :form > > (string-match "unknown signal > > \\'" "killed > > ") > > :value nil)) > > FAILED 1/1 tramp-test30-make-process (39.250000 sec) > > > > Just to be sure, I've ran this test twice, and each time it failed > > with the same error. > > Hahh! There is a special case in that test for MS-Windows: > > --8<---------------cut here---------------start------------->8--- > (should > (string-match > (if (eq system-type 'windows-nt) > "unknown signal\n\\'" "killed.*\n\\'") > (buffer-string)))) > --8<---------------cut here---------------end--------------->8--- > > IIRC, somebody has reported this different return message. Or maybe I > have seen this on the MS Windows machine I've used for testing. > > Maybe we shall simply allow both messages, because the exact wording > doesn't matter. What about the appended patch? It fixes the problem, thanks. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 17:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: michael.albinus@gmx.de Cc: 26911@debbugs.gnu.org Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159932572626648 (code B ref 26911); Sat, 05 Sep 2020 17:09:01 +0000 Received: (at 26911) by debbugs.gnu.org; 5 Sep 2020 17:08:46 +0000 Received: from localhost ([127.0.0.1]:43984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEbgD-0006vk-Q4 for submit@debbugs.gnu.org; Sat, 05 Sep 2020 13:08:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEbgB-0006vX-S5 for 26911@debbugs.gnu.org; Sat, 05 Sep 2020 13:08:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36503) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEbg6-0006Og-LR; Sat, 05 Sep 2020 13:08:38 -0400 Received: from [176.228.60.248] (port=4192 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kEbg6-0007Ja-0i; Sat, 05 Sep 2020 13:08:38 -0400 Date: Sat, 05 Sep 2020 20:08:30 +0300 Message-Id: <83zh64noc1.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <834kocp4iw.fsf@gnu.org> (message from Eli Zaretskii on Sat, 05 Sep 2020 19:33:27 +0300) References: <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> <87r1rhr0rw.fsf@gmx.de> <838sdpqw07.fsf@gnu.org> <87363wr59c.fsf@gmx.de> <83lfhopj3t.fsf@gnu.org> <87zh64tdvf.fsf@gmx.de> <834kocp4iw.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 05 Sep 2020 19:33:27 +0300 > From: Eli Zaretskii > Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, > yegortimoshenko@gmail.com > > > Hard to debug for me w/o such a machine. Could you write a bug report as > > a reminder for me, that I investigate when I have such a machine? > > Will do. Bug#43226. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 17:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159932741629170 (code B ref 26911); Sat, 05 Sep 2020 17:37:01 +0000 Received: (at 26911) by debbugs.gnu.org; 5 Sep 2020 17:36:56 +0000 Received: from localhost ([127.0.0.1]:44002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEc7U-0007aP-J8 for submit@debbugs.gnu.org; Sat, 05 Sep 2020 13:36:56 -0400 Received: from mout.gmx.net ([212.227.17.22]:47105) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEc7T-0007aB-MT for 26911@debbugs.gnu.org; Sat, 05 Sep 2020 13:36:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1599327396; bh=eyeldWsNCYEKtsV66KXVpYnzvP6om3h9x+hLkZ6MH4I=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=RAG9T6TBGQOT0WG1YWAKferIt49OlSZ8z2l+4+FBcMt6o9hJxif41ldeBOGN55+PU mt5iHJg+0MvCKS3oVEh/FWMLIaDkBFFUDrO3z+OFiWQdYEy94BaGbV71F90IYgA8Ot qwkIaPjOEbTCwo4iFx86VBvv24z/8CiiHzG+gNJQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.91.243.3]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M7sHy-1k9gRC0YR0-0050Mv; Sat, 05 Sep 2020 19:36:36 +0200 From: Michael Albinus References: <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> <87r1rhr0rw.fsf@gmx.de> <838sdpqw07.fsf@gnu.org> <87363wr59c.fsf@gmx.de> <83lfhopj3t.fsf@gnu.org> <87zh64tdvf.fsf@gmx.de> <834kocp4iw.fsf@gnu.org> Date: Sat, 05 Sep 2020 19:36:34 +0200 In-Reply-To: <834kocp4iw.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 05 Sep 2020 19:33:27 +0300") Message-ID: <87v9gst9b1.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:jaeInGh/Ss64HiHMsMKTpfy1y1RlFZczjghdrA4NrtZ/Yu8wOnY I0tfxLgBZ1UzciLpvp0XE2OjFqICgxKEMST/35oTTtmnesaJTf9Gc/72AQytvdzHCKCTAs8 VJEYGUhhF9jE/HqALrf06J9VMSU5qU2zQhmncMvh4B9GCobEOnZLm2w6gqnJtFPma7MkUOj MiAlOd2R6c9C1bEBnOV4A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:QGFlplBuj9Q=:ZKLQtzWqGRPeXRQnF+fIEO v66UNPw4rwqFpEg+Mn6HQCbwKHJjTHRUEr9E960GtsIWXJKFePnKHczdp40JJFdtS7+PF33kD XHT8ZNmnWGjVJSoEDUR7tyrKfi6WTBd4vbGnr29tTxkb9/NYdlphyjYk6jor26mozL6YT7rlU HXMcl9AtFvBd8AhMEtOi2amFyUJuhuYFXB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yIBlaEzWY2cnmYsNOyMg== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: Hi Eli, >> Most of the tests start with (skip-unless (tramp--test-enabled)). This >> defun calls tramp-cleanup-connection, which shall also kill all related >> Tramp processes. Doesn't seem to work on MS Windows. > > AFAICS, tramp-cleanup-connection deletes the network connection > processes, but is that supposed to make sure the other side of the > connection exits cleanly? It does at least when you're on GNU/Linux. What happens on MS Windows is beyond my knowledge. Perhaps I'll call process-send-eof prior killing the process? >> Maybe we shall simply allow both messages, because the exact wording >> doesn't matter. What about the appended patch? > > It fixes the problem, thanks. Pushed to master. Best regards, Michael. From unknown Tue Jun 17 22:27:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 17:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Michael Albinus Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159932857830881 (code B ref 26911); Sat, 05 Sep 2020 17:57:01 +0000 Received: (at 26911) by debbugs.gnu.org; 5 Sep 2020 17:56:18 +0000 Received: from localhost ([127.0.0.1]:44023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEcQD-000820-VZ for submit@debbugs.gnu.org; Sat, 05 Sep 2020 13:56:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEcQB-00081m-T9 for 26911@debbugs.gnu.org; Sat, 05 Sep 2020 13:56:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37183) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEcQ5-0002mn-Fd; Sat, 05 Sep 2020 13:56:09 -0400 Received: from [176.228.60.248] (port=3122 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kEcQ4-00058n-Na; Sat, 05 Sep 2020 13:56:09 -0400 Date: Sat, 05 Sep 2020 20:56:00 +0300 Message-Id: <83y2lonm4v.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87v9gst9b1.fsf@gmx.de> (message from Michael Albinus on Sat, 05 Sep 2020 19:36:34 +0200) References: <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> <87r1rhr0rw.fsf@gmx.de> <838sdpqw07.fsf@gnu.org> <87363wr59c.fsf@gmx.de> <83lfhopj3t.fsf@gnu.org> <87zh64tdvf.fsf@gmx.de> <834kocp4iw.fsf@gnu.org> <87v9gst9b1.fsf@gmx.de> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Albinus > Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, > yegortimoshenko@gmail.com > Date: Sat, 05 Sep 2020 19:36:34 +0200 > > > AFAICS, tramp-cleanup-connection deletes the network connection > > processes, but is that supposed to make sure the other side of the > > connection exits cleanly? > > It does at least when you're on GNU/Linux. What happens on MS Windows is > beyond my knowledge. Indeed, it's strange that the result should depend on the local system, since the commands sent to the remote are the same in boths cases, I'd imagine. > Perhaps I'll call process-send-eof prior killing the process? If you show me a patch, I can try it. But let's continue discussing this in the bug I filed, bug#43226. Thanks.