From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alberto Newsgroups: gmane.emacs.bugs Subject: bug#10586: 23.3; cd in remote shell reset working directory to local home Date: Mon, 23 Jan 2012 17:04:47 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327345238 2461 80.91.229.12 (23 Jan 2012 19:00:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Jan 2012 19:00:38 +0000 (UTC) To: 10586@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 23 20:00:34 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 1RpP84-0001vw-UL for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jan 2012 20:00:33 +0100 Original-Received: from localhost ([::1]:34692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpP84-0006gN-GM for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jan 2012 14:00:32 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpOzc-0004kr-I7 for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2012 13:51:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpOzb-0006iJ-AB for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2012 13:51:48 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpOzb-0006iC-6z for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2012 13:51:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RpOzq-0005Jx-9U for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2012 13:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alberto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Jan 2012 18:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10586 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132734470220419 (code B ref -1); Mon, 23 Jan 2012 18:52:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Jan 2012 18:51:42 +0000 Original-Received: from localhost ([127.0.0.1]:40983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RpOzV-0005JG-L6 for submit@debbugs.gnu.org; Mon, 23 Jan 2012 13:51:42 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43574) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RpMOv-0001XP-73 for submit@debbugs.gnu.org; Mon, 23 Jan 2012 11:05:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpMOX-00079i-UH for submit@debbugs.gnu.org; Mon, 23 Jan 2012 11:05:24 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:46973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpMOX-00079d-Sh for submit@debbugs.gnu.org; Mon, 23 Jan 2012 11:05:21 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:60625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpMOR-0006Ib-KU for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2012 11:05:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpMOL-00077F-7J for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2012 11:05:15 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:36664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpMOL-000779-3v for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2012 11:05:09 -0500 Original-Received: by iadj38 with SMTP id j38so6211553iad.0 for ; Mon, 23 Jan 2012 08:05:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=SKY6ADaA9uJ/Tkf7ylm082s41xjqaQ48tpR47SIRh7g=; b=oDab3MlYekDa9owvXyk5PN8zq9e7a3eEdmHjMgIWy7G4Muu38/BRoJunxK+HHaS/79 irHuUIM/frsYqgXIzK0xgLQSQtdt4TYMdyD1XIiuuv+rxf6WJcuOuciCIWvys43NmnCA kIv7SfSpDYy4BB0HRUVhiCOAkqkwuv7DhtNgI= Original-Received: by 10.42.152.65 with SMTP id h1mr8314757icw.50.1327334708185; Mon, 23 Jan 2012 08:05:08 -0800 (PST) Original-Received: by 10.50.94.231 with HTTP; Mon, 23 Jan 2012 08:04:47 -0800 (PST) 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 (newer, 3) X-Mailman-Approved-At: Mon, 23 Jan 2012 13:51:40 -0500 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-Mailman-Approved-At: Mon, 23 Jan 2012 14:00:30 -0500 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:55937 Archived-At: This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your report will be posted to the bug-gnu-emacs@gnu.org mailing list and the gnu.emacs.bug news group, and at http://debbugs.gnu.org. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. =A0If you can, give a recipe starting from `emacs -Q': Open a remote folder, e.g. C-x C-f /onan:bin Open a remote shell there M-x shell Check with pwd that working directory is remote M-x pwd Execute in the shell cd > cd Check with pwd that working directory is now _local_ home M-x pwd After this happens the only way I found to fix the working directory is to = kill the shell buffer and open it again. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: =A0 =A0 `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /home/alin/Software/install/emacs-23.3/share/emacs/23.3/etc/DEBUG. In GNU Emacs 23.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.6) =A0of 2011-12-12 on alin-ubuntu Windowing system distributor `The X.Org Foundation', version 11.0.11004000 configured using `configure =A0'--prefix' '/home/alin/Software/install/emacs-23.3' '--with-x-toolkit=3Dgtk' '--with-crt-dir=3D/usr/lib/x86_64-linux-gnu'' Important settings: =A0 value of $LC_ALL: nil =A0 value of $LC_COLLATE: nil =A0 value of $LC_CTYPE: nil =A0 value of $LC_MESSAGES: nil =A0 value of $LC_MONETARY: nil =A0 value of $LC_NUMERIC: nil =A0 value of $LC_TIME: nil =A0 value of $LANG: en_GB.utf8 =A0 value of $XMODIFIERS: nil =A0 locale-coding-system: utf-8-unix =A0 default enable-multibyte-characters: t Major mode: Shell Minor modes in effect: =A0 shell-dirtrack-mode: t =A0 tooltip-mode: t =A0 mouse-wheel-mode: t =A0 tool-bar-mode: t =A0 menu-bar-mode: t =A0 file-name-shadow-mode: t =A0 global-font-lock-mode: t =A0 font-lock-mode: t =A0 blink-cursor-mode: t =A0 auto-encryption-mode: t =A0 auto-compression-mode: t =A0 line-number-mode: t =A0 transient-mark-mode: t Recent input: C-x C-f / o n a n : b i n M-x s h e p w d M-x p w d c d M-x p w d M-x Recent messages: Tramp: Opening connection for onan using scpc... Tramp: Sending command `exec ssh -q =A0 -o ControlPath=3D/tmp/tramp.16372VjS.%r@%h:%p -o ControlMaster=3Dyes -e none onan' Tramp: Waiting for prompts from remote shell Tramp: Sending command `exec ssh -q =A0 -o ControlPath=3D/tmp/tramp.16372VjS.%r@%h:%p -o ControlMaster=3Dyes -e none onan' Tramp: Found remote shell prompt on `onan' Tramp: Opening connection for onan using scpc...done Directory /scpc:onan:/home/alin/bin/ ~ Directory /home/alin/ Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug ansi-color dired tramp-imap assoc tramp-gw tramp-gvfs zeroconf url-util url-parse url-vars mm-util mail-prsvr dbus xml tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp regexp-opt auth-source gnus-util netrc time-date advice help-fns advice-preload shell comint ring password-cache format-spec tramp-compat trampver tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind font-render-setting gtk x-toolkit x multi-tty emacs)