unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Fritz Stelzer <brotzeitmacher@gmail.com>
Cc: 36532@debbugs.gnu.org
Subject: bug#36532: tramp-signal-hook-function: Text is read-only: "nil"
Date: Sun, 07 Jul 2019 11:20:43 +0200	[thread overview]
Message-ID: <87wogujj4k.fsf@gmx.de> (raw)
In-Reply-To: <CA+CiP9AC8cwue73oaP268Qyo0hO53MOH9P_JV6nBkgV1JYPEag@mail.gmail.com> (Fritz Stelzer's message of "Sat, 6 Jul 2019 22:43:51 +0200")

Fritz Stelzer <brotzeitmacher@gmail.com> writes:

Hi Fritz,

> When I use `async-shell-command` on a remote host I get this error if
> there's already the
> *Async Shell Command* buffer. When there's a running process and I
> confirm to kill the process, it works. It seems to work correctly for
> `shell-command`.
> I didn't have any issues while trying this locally. I'm on d07dd64fd0.

I cannot reproduce it locally. Scenario:

- emacs -Q /ssh::

- M-& sleep 600

- M-& sleep 600

I get the message "A command is running in the default buffer.  Use a
new buffer? (yes or no) " If I enter "yes", it opens a second buffer
*Async Shell Command*<2>. If I enter "no", there is the error message
"tramp-error: Shell command in progress" in the *Messages* buffer, which
is likely OK.

The same happens if I run it on a local buffer, but in the "no" case the
error message is "shell-command: Shell command in progress".

Arguably, there shouldn't be an error but a user error, but I don't see
anything else. What's the difference in your use case?

If you still see something strange, could you run your scenario with
tramp-verbose set to 10, and send us the Tramp debug buffer?

Best regards, Michael.





  reply	other threads:[~2019-07-07  9:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-06 20:43 bug#36532: tramp-signal-hook-function: Text is read-only: "nil" Fritz Stelzer
2019-07-07  9:20 ` Michael Albinus [this message]
2019-07-07 11:59   ` Pip Cet
2019-07-09 16:08   ` Fritz Stelzer
2019-07-09 16:25     ` Michael Albinus
2019-07-10 21:13       ` Fritz Stelzer

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87wogujj4k.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=36532@debbugs.gnu.org \
    --cc=brotzeitmacher@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 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).