From: Glenn Morris <rgm@gnu.org>
To: Alberto <alberto.ing@gmail.com>
Cc: 10586@debbugs.gnu.org
Subject: bug#10586: 23.3; cd in remote shell reset working directory to local home
Date: Tue, 24 Jan 2012 13:19:38 -0500 [thread overview]
Message-ID: <rcd3a955fp.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAAp6-RSiZMmhMe6j5_T_033FJcRGhjJAW1Sj=dk0cgrZ0XJKsw@mail.gmail.com>
Alberto wrote:
> 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
I can't reproduce this using Tramp's scpc method and don't see how such
a thing could even be possible. Is your local home directory even
visible on the remote machine? What tramp connection method are you
using? Does it happen with `emacs -Q'?
> After this happens the only way I found to fix the working directory
> is to kill the shell buffer and open it again.
Depending on the shell you use, does not 'cd -' take you back to the
previous directory?
next prev parent reply other threads:[~2012-01-24 18:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-23 16:04 bug#10586: 23.3; cd in remote shell reset working directory to local home Alberto
2012-01-24 18:19 ` Glenn Morris [this message]
2012-01-25 8:02 ` Alberto
2012-01-25 8:34 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rcd3a955fp.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=10586@debbugs.gnu.org \
--cc=alberto.ing@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).