unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39253: 27.0.60; tramp: shell commands don't reset output buffer default-directory
@ 2020-01-23 11:30 Tino Calancha
  2020-01-27 12:43 ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Tino Calancha @ 2020-01-23 11:30 UTC (permalink / raw)
  To: 39253; +Cc: michael albinus

X-Debbugs-Cc: Michael Albinus <michael.albinus@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#39253: 27.0.60; tramp: shell commands don't reset output buffer default-directory
  2020-01-23 11:30 bug#39253: 27.0.60; tramp: shell commands don't reset output buffer default-directory Tino Calancha
@ 2020-01-27 12:43 ` Michael Albinus
  2020-01-28 10:10   ` Tino Calancha
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2020-01-27 12:43 UTC (permalink / raw)
  To: Tino Calancha; +Cc: 39253

Tino Calancha <tino.calancha@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#39253: 27.0.60; tramp: shell commands don't reset output buffer default-directory
  2020-01-27 12:43 ` Michael Albinus
@ 2020-01-28 10:10   ` Tino Calancha
  2020-01-28 10:52     ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Tino Calancha @ 2020-01-28 10:10 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 39253, Tino Calancha



On Mon, 27 Jan 2020, Michael Albinus wrote:

> Tino Calancha <tino.calancha@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!





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#39253: 27.0.60; tramp: shell commands don't reset output buffer default-directory
  2020-01-28 10:10   ` Tino Calancha
@ 2020-01-28 10:52     ` Michael Albinus
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2020-01-28 10:52 UTC (permalink / raw)
  To: Tino Calancha; +Cc: 39253-done

Version: 27.2

Tino Calancha <tino.calancha@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-28 10:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-23 11:30 bug#39253: 27.0.60; tramp: shell commands don't reset output buffer default-directory Tino Calancha
2020-01-27 12:43 ` Michael Albinus
2020-01-28 10:10   ` Tino Calancha
2020-01-28 10:52     ` Michael Albinus

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