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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39253 in the body.
You can then email your comments to 39253 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to michael.albinus <at> gmx.de, bug-gnu-emacs <at> gnu.org:
bug#39253; Package emacs. (Thu, 23 Jan 2020 11:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tino Calancha <tino.calancha <at> gmail.com>:
New bug report received and forwarded. Copy sent to michael.albinus <at> gmx.de, bug-gnu-emacs <at> gnu.org. (Thu, 23 Jan 2020 11:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39253; Package emacs. (Mon, 27 Jan 2020 12:44:02 GMT) Full text and rfc822 format available.

Message #8 received at 39253 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 39253 <at> debbugs.gnu.org
Subject: Re: bug#39253: 27.0.60; tramp: shell commands don't reset output
 buffer default-directory
Date: Mon, 27 Jan 2020 13:43:05 +0100
Tino Calancha <tino.calancha <at> gmail.com> writes:

Hi Tino,

> ;;; Expected: Both output buffers have reseted their
> ;;; `default-directory' to their caller `default-directory'.

I've fixed this in the master branch, could you pls check?

I've committed it also in the Tramp repository, in the Tramp 2.4
branch. Will be merged with the emacs-27 branch once Emacs 27.1 is
released.

Best regards, Michael.




bug Marked as fixed in versions 27.2. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Mon, 27 Jan 2020 12:45:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39253; Package emacs. (Tue, 28 Jan 2020 10:11:01 GMT) Full text and rfc822 format available.

Message #13 received at 39253 <at> debbugs.gnu.org (full text, mbox):

From: Tino Calancha <tino.calancha <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 39253 <at> debbugs.gnu.org, Tino Calancha <tino.calancha <at> gmail.com>
Subject: Re: bug#39253: 27.0.60; tramp: shell commands don't reset output
 buffer default-directory
Date: Tue, 28 Jan 2020 11:10:17 +0100 (CET)

On Mon, 27 Jan 2020, Michael Albinus wrote:

> Tino Calancha <tino.calancha <at> gmail.com> writes:
>
> Hi Tino,
>
>> ;;; Expected: Both output buffers have reseted their
>> ;;; `default-directory' to their caller `default-directory'.
>
> 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!




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Tue, 28 Jan 2020 10:53:02 GMT) Full text and rfc822 format available.

Notification sent to Tino Calancha <tino.calancha <at> gmail.com>:
bug acknowledged by developer. (Tue, 28 Jan 2020 10:53:02 GMT) Full text and rfc822 format available.

Message #18 received at 39253-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 25 Feb 2020 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 61 days ago.

Previous Next


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