all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Wed, 25 Jan 2012 03:34:06 -0500	[thread overview]
Message-ID: <x2d3a818qp.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAAp6-RRduj+JUENsNMBpvDSjMZKM8K2xPcdfGrtq3PTA55LVyQ@mail.gmail.com> (Alberto's message of "Wed, 25 Jan 2012 09:02:50 +0100")


(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.





      reply	other threads:[~2012-01-25  8:34 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
2012-01-25  8:02   ` Alberto
2012-01-25  8:34     ` Glenn Morris [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x2d3a818qp.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.