GNU bug report logs - #39253
27.0.60; tramp: shell commands don't reset output buffer default-directory

Previous Next

Package: emacs;

Reported by: Tino Calancha <tino.calancha <at> gmail.com>

Date: Thu, 23 Jan 2020 11:31:01 UTC

Severity: normal

Found in version 27.0.60

Fixed in version 27.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#39253: closed (27.0.60; tramp: shell commands don't reset
 output buffer default-directory)
Date: Tue, 28 Jan 2020 10:53:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 28 Jan 2020 11:52:23 +0100
with message-id <87mua7x388.fsf <at> gmx.de>
and subject line Re: bug#39253: 27.0.60; tramp: shell commands don't reset output buffer default-directory
has caused the debbugs.gnu.org bug report #39253,
regarding 27.0.60; tramp: shell commands don't reset output buffer default-directory
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
39253: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39253
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Tino Calancha <tino.calancha <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.60; tramp: shell commands don't reset output buffer
 default-directory
Date: Thu, 23 Jan 2020 12:30:34 +0100
X-Debbugs-Cc: Michael Albinus <michael.albinus <at> gmx.de>

emacs -Q ~

M-! date RET
M-& date RET
;; Both, *Async Shell Command* and *Shell Command Output* have
;; as `default-directory' "~/"
M-x dired RET /sudo::/tmp RET

M-! date RET
M-& date RET
;; Neither *Async Shell Command* nor *Shell Command Output* have
;; updated their `default-directory'

;;; Expected: Both output buffers have reseted their `default-directory' to their
;;; caller `default-directory'.
;;; This is the behavior when you run shell commands in non-tramp buffers, for instance:
M-x dired RET /tmp RET

M-! date RET
M-& date RET
;;; Both output buffers have reseted their `default-directory' to "/tmp/"


In GNU Emacs 27.0.60 (build 2, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars)
 of 2020-01-23 built on localhost.localdomain
Repository revision: e1deafd39d9ef32cfa54c0be498f26857bf49c25
Repository branch: emacs-27
Windowing system distributor 'The X.Org Foundation', version 11.0.12006000
System Description: openSUSE Tumbleweed


[Message part 3 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 39253-done <at> debbugs.gnu.org
Subject: Re: bug#39253: 27.0.60; tramp: shell commands don't reset output
 buffer default-directory
Date: Tue, 28 Jan 2020 11:52:23 +0100
Version: 27.2

Tino Calancha <tino.calancha <at> gmail.com> writes:

>> I've fixed this in the master branch, could you pls check?
> I confirm it is fixed in my machine.
> This fix is very useful to me, thank you very much!

Thanks for the confirmation, I'm closing the bug.

Best regards, Michael.


This bug report was last modified 5 years and 115 days ago.

Previous Next


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