GNU bug report logs - #26911
25.2; eshell "cd .." doesn't work correctly with TRAMP

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Yegor Timoshenko <yegortimoshenko@HIDDEN>; Keywords: confirmed; dated Sat, 13 May 2017 16:39:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.

Message received at 26911 <at> debbugs.gnu.org:


Received: (at 26911) by debbugs.gnu.org; 15 May 2017 15:54:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 15 11:54:04 2017
Received: from localhost ([127.0.0.1]:46749 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dAIJw-0001Bs-8K
	for submit <at> 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 <michael.albinus@HIDDEN>) id 1dAIJv-0001BQ-AE
 for 26911 <at> 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 <michael.albinus@HIDDEN>
To: Yegor Timoshenko <yegortimoshenko@HIDDEN>
Subject: Re: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP
References: <E2C4CAA1-D31F-4623-9918-7215F90D239B@HIDDEN>
 <871srs4nrt.fsf@detlef>
 <42DF8DEE-D1C3-4F65-BB17-ED14128B1D17@HIDDEN>
Date: Mon, 15 May 2017 17:53:54 +0200
In-Reply-To: <42DF8DEE-D1C3-4F65-BB17-ED14128B1D17@HIDDEN> (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-Debbugs-Envelope-To: 26911
Cc: 26911 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Yegor Timoshenko <yegortimoshenko@HIDDEN> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26911; Package emacs. Full text available.

Message received at 26911 <at> debbugs.gnu.org:


Received: (at 26911) by debbugs.gnu.org; 13 May 2017 18:30:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 13 14:30:25 2017
Received: from localhost ([127.0.0.1]:43239 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d9bo9-00078m-Oy
	for submit <at> 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 <yegortimoshenko@HIDDEN>) id 1d9bo8-00078a-Ae
 for 26911 <at> 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 <at> 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\))
Subject: Re: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP
From: Yegor Timoshenko <yegortimoshenko@HIDDEN>
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@HIDDEN>
References: <E2C4CAA1-D31F-4623-9918-7215F90D239B@HIDDEN>
 <871srs4nrt.fsf@detlef>
To: Michael Albinus <michael.albinus@HIDDEN>
X-Mailer: Apple Mail (2.3273)
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 26911
Cc: 26911 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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.=




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26911; Package emacs. Full text available.

Message received at 26911 <at> debbugs.gnu.org:


Received: (at 26911) by debbugs.gnu.org; 13 May 2017 18:25:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 13 14:25:54 2017
Received: from localhost ([127.0.0.1]:43235 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d9bjm-00071D-6m
	for submit <at> 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 <michael.albinus@HIDDEN>) id 1d9bji-000710-QY
 for 26911 <at> 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 <michael.albinus@HIDDEN>
To: Yegor Timoshenko <yegortimoshenko@HIDDEN>
Subject: Re: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP
References: <E2C4CAA1-D31F-4623-9918-7215F90D239B@HIDDEN>
Date: Sat, 13 May 2017 20:25:42 +0200
In-Reply-To: <E2C4CAA1-D31F-4623-9918-7215F90D239B@HIDDEN> (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-Debbugs-Envelope-To: 26911
Cc: 26911 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.0 (---)

Yegor Timoshenko <yegortimoshenko@HIDDEN> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26911; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 May 2017 16:38:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 13 12:38:03 2017
Received: from localhost ([127.0.0.1]:43169 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d9a3P-0004Vv-4U
	for submit <at> 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 <yegortimoshenko@HIDDEN>) id 1d9Zhq-0003yU-EH
 for submit <at> 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 <yegortimoshenko@HIDDEN>) id 1d9Zhk-0002ac-7Z
 for submit <at> 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 <yegortimoshenko@HIDDEN>)
 id 1d9Zhk-0002aY-4B
 for submit <at> 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 <yegortimoshenko@HIDDEN>) id 1d9Zhj-0007vT-0p
 for bug-gnu-emacs@HIDDEN; Sat, 13 May 2017 12:15:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <yegortimoshenko@HIDDEN>) id 1d9Zhf-0002Zs-0K
 for bug-gnu-emacs@HIDDEN; 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 <yegortimoshenko@HIDDEN>)
 id 1d9Zhe-0002Z5-PW
 for bug-gnu-emacs@HIDDEN; Sat, 13 May 2017 12:15:34 -0400
Received: by mail-lf0-x235.google.com with SMTP id j1so13941710lfh.2
 for <bug-gnu-emacs@HIDDEN>; 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 <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 13 May 2017 09:15:30 -0700 (PDT)
From: Yegor Timoshenko <yegortimoshenko@HIDDEN>
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: <E2C4CAA1-D31F-4623-9918-7215F90D239B@HIDDEN>
Date: Sat, 13 May 2017 19:15:30 +0300
To: bug-gnu-emacs@HIDDEN
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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

Steps to reproduce:

M-x eshell
cd /user@HIDDEN:/
cd bin
cd ..
pwd

Expected output:

/user@HIDDEN:

Actual output:

/user@HIDDEN:/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'=




Acknowledgement sent to Yegor Timoshenko <yegortimoshenko@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#26911; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 28 May 2017 17:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.