From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#10586: 23.3; cd in remote shell reset working directory to local home Date: Wed, 25 Jan 2012 03:34:06 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1327480491 3519 80.91.229.12 (25 Jan 2012 08:34:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Jan 2012 08:34:51 +0000 (UTC) Cc: 10586@debbugs.gnu.org To: Alberto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 25 09:34:47 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RpyJb-0001jO-E4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Jan 2012 09:34:47 +0100 Original-Received: from localhost ([::1]:60078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpyJa-0002YV-Gz for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Jan 2012 03:34:46 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpyJW-0002YQ-Sb for bug-gnu-emacs@gnu.org; Wed, 25 Jan 2012 03:34:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpyJR-0002WG-5m for bug-gnu-emacs@gnu.org; Wed, 25 Jan 2012 03:34:42 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpyJR-0002WC-2t for bug-gnu-emacs@gnu.org; Wed, 25 Jan 2012 03:34:37 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RpyJp-0003ki-LA for bug-gnu-emacs@gnu.org; Wed, 25 Jan 2012 03:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Jan 2012 08:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10586 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10586-submit@debbugs.gnu.org id=B10586.132748047714381 (code B ref 10586); Wed, 25 Jan 2012 08:35:01 +0000 Original-Received: (at 10586) by debbugs.gnu.org; 25 Jan 2012 08:34:37 +0000 Original-Received: from localhost ([127.0.0.1]:42562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RpyJQ-0003jt-7T for submit@debbugs.gnu.org; Wed, 25 Jan 2012 03:34:37 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:58195 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RpyJO-0003jm-4l for 10586@debbugs.gnu.org; Wed, 25 Jan 2012 03:34:35 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RpyIx-0001rF-ER; Wed, 25 Jan 2012 03:34:07 -0500 X-Spook: diwn JFK Noriega CipherTAC-2000 wire transfer BCCI X-Ran: WIp!g;J]kmrWCXBxd\aYr=N(I%?7WG;sbU.o%>(m (Alberto's message of "Wed, 25 Jan 2012 09:02:50 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55978 Archived-At: (Please keep 10586@debbugs included in replies.) Alberto wrote: > I think there is a misunderstanding. Is not the bash shell that believes to > be in the local home. > But Emacs. > What happens is that the shell buffer lose synchronization between the > current dir of the shell and the variable that emacs to keep track of it > (e.g. the one that is used to auto complete path in the shell). > So if you want, typing pwd in the _shell_ gives the correct result, > the remote home. > M-x pwd instead returns the wrong result (the local home instead of > something like > /onan:~) Oh yes, I overlooked that you said `M-x pwd' rather than just `pwd'. >> What tramp connection method are you >> using? > scpc > This is my default so in that particular connection is not shown explicitly. > > Does it happen with `emacs -Q'? > Yes. It does. I run a separate test on a friend machine, the result is > the same. > However I did a test with current emacs trunk (24.something). > On that one the problem cannot be reproduced. I also can reproduce it in Emacs 23.3, but not in the current trunk, so it looks like this has been fixed. It's not the kind of thing suitable for backporting to the emacs-23 branch at this stage, so the fix will appear in the 24.1 release.