all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Sean McAfee <eefacm@gmail.com>
Cc: 42922@debbugs.gnu.org
Subject: bug#42922: 27.1; shell-command-dont-erase-buffer not honored when the existing shell buffer is remote
Date: Wed, 19 Aug 2020 10:52:35 +0200	[thread overview]
Message-ID: <87tuwzhvak.fsf@gmx.de> (raw)
In-Reply-To: <CANan03YYqk2=JpvQRejb6Eac1t0BsKc8CvyCqwnVNiaSkDzSjQ@mail.gmail.com> (Sean McAfee's message of "Tue, 18 Aug 2020 14:50:14 -0700")

Sean McAfee <eefacm@gmail.com> writes:

Hi Sean,

> Starting from emacs -Q:
>
> Set the variable shell-command-dont-erase-buffer to a true value, say
> end-last-out.
>
> Run an asynchronous shell command: M-& echo foo RET
>
> The buffer *Async Shell Command* appears, showing the word "foo".
>
> Run another async command: M-& echo bar RET
>
> The word "bar" is appended on a new line in the existing async shell
> command buffer, as expected.
>
> Change to that buffer, and cd to any remote directory:
> M-x cd RET /ssh:remote: RET
>
> Run another async command, to be executed in the remote directory:
> M-& echo baz RET
>
> Now the word "baz" entirely replaces the contents of the buffer,
> instead
> of being appended on a new line.

This is bug#39067.

> In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
>  of 2020-08-18 built on SeanMc
> Windowing system distributor 'The X.Org Foundation', version
> 11.0.11906000
> System Description: Ubuntu 18.04.5 LTS

The fix didn't find its way into Emacs 27.1, because it happened when
Emacs 27.1 was already in pretest. The fix is contained in Emacs' master
branch (aka Emacs 28.0.50), and in Tramp 2.4.4.1 of GNU ELPA, which you
can install.

It will be merged into the emacs-27 branch, Emacs 27.2 will contain the fix.

Best regards, Michael.





      reply	other threads:[~2020-08-19  8:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18 21:50 bug#42922: 27.1; shell-command-dont-erase-buffer not honored when the existing shell buffer is remote Sean McAfee
2020-08-19  8:52 ` Michael Albinus [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=87tuwzhvak.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=42922@debbugs.gnu.org \
    --cc=eefacm@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.