From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Fritz Stelzer Newsgroups: gmane.emacs.bugs Subject: bug#36532: tramp-signal-hook-function: Text is read-only: "nil" Date: Tue, 9 Jul 2019 18:08:28 +0200 Message-ID: References: <87wogujj4k.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000147f79058d41c6db" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="231245"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36532@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 09 18:14:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hksky-000xq1-I2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 18:14:16 +0200 Original-Received: from localhost ([::1]:51642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkshJ-0005GH-PU for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 12:10:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56583) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hksfx-0004LX-GE for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 12:09:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hksfv-0003h0-7e for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 12:09:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53342) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hksfv-0003ge-2f for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 12:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hksfu-0005Z4-SW for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 12:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Fritz Stelzer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2019 16:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36532 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 36532-submit@debbugs.gnu.org id=B36532.156268852721353 (code B ref 36532); Tue, 09 Jul 2019 16:09:02 +0000 Original-Received: (at 36532) by debbugs.gnu.org; 9 Jul 2019 16:08:47 +0000 Original-Received: from localhost ([127.0.0.1]:33929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hksfe-0005YL-Og for submit@debbugs.gnu.org; Tue, 09 Jul 2019 12:08:47 -0400 Original-Received: from mail-yb1-f174.google.com ([209.85.219.174]:45766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hksfc-0005Y8-KD for 36532@debbugs.gnu.org; Tue, 09 Jul 2019 12:08:45 -0400 Original-Received: by mail-yb1-f174.google.com with SMTP id j133so6017470ybj.12 for <36532@debbugs.gnu.org>; Tue, 09 Jul 2019 09:08:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W6v7+BUWIodHC0zs8wBn7YzjmZo9HjMjq0/0/eRQTe0=; b=bHu0T8foliVGuZzwJhWitXPflCtdcB8/J5bJiZFQVCWxJXNkhX/UnMIXWhUX8SJzSL HmdKgtieBltFz2Oo4IiQ6Q4QMPXbxMda+zpoBgn0qEtWxMXPwzjQQqV4bggCGh1wd2f4 XvrfE8K6uk2Se+vMFYetRW7s9xMlkEBRUnXdUXEPfpMk4yq8X27zu+UWOp77Uq/WTrWZ 9iRexVmoJPwg/lsIKzHxrsT3Ti/FHdcpZ1kygghnpQGZ0pYO8xvUh0gAv9YG2xVdGxec izoYEoLSpvRx4VnfTWY1zwqWQJbTxliwK2ToTsmMMTlKLsq8nEt9Beqt973sI2zXX5bS b1Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W6v7+BUWIodHC0zs8wBn7YzjmZo9HjMjq0/0/eRQTe0=; b=q3UYYtg3OCJZyWpN48Z4bTQS5Rl2g3qgBEFDx/s2U+Xr77ZBxjT6twN2uimDbLSYbK IREqkPRwUvfx/MSNFoplaz4r5wW9c8R6CpsF61f+tSI1ZLNP5XKUyPTAgPXZG0jnvpKg 6E16oq674SfDZVSj4Kd/UPYv7uun2dPX2Tb7IFFuwOTmEGvtEVJ1LMVfE+hvkLtX3uvV ReGeI2qWe/rCXfn9zhM2Pynq5z7JnUDl5Bbmaih3PRHhcCOducf2L+JIgM1VM1uYynR6 w31/qJT0hCo3T/J4cy+JGetDl2Ez2p8mzu8LGywKtdm7G1fC7gCdsTGQnOk+mBQXKsiS Uh6w== X-Gm-Message-State: APjAAAW5fVSQN21CW5THeysGF5IYVDAElc15FwseyJRlWWpV35fSKvRr /H78t30LpXM9yBCZA1byfHMZ9FtV7L3CQ9ID1oX/Tg== X-Google-Smtp-Source: APXvYqwd/3kOFRqV92OUOCgiA+U3alWkQOv5sYoYbHfes9lcGJ1WW9pS+YG2FtX5lCejbQ2+R9hEoYiEiMguDH86F5M= X-Received: by 2002:a5b:f0d:: with SMTP id x13mr13089713ybr.161.1562688519174; Tue, 09 Jul 2019 09:08:39 -0700 (PDT) In-Reply-To: <87wogujj4k.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:162508 Archived-At: --000000000000147f79058d41c6db Content-Type: text/plain; charset="UTF-8" Ah sorry, I forgot to use emacs -Q again. I guess I have to find the issue myself. On Sun, Jul 7, 2019 at 11:20 AM Michael Albinus wrote: > Fritz Stelzer 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. > --000000000000147f79058d41c6db Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ah sorry, I forgot to use emacs -Q again. I guess I have t= o find the issue myself.

On Sun, Jul 7, 2019 at 11:20 AM Michael Albin= us <michael.albinus@gmx.de= > wrote:
Frit= z Stelzer <brotzeitmacher@gmail.com> writes:

Hi Fritz,

> When I use `async-shell-command` on a remote host I get this error if<= br> > 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<= br> > `shell-command`.
> I didn't have any issues while trying this locally. I'm on d07= dd64fd0.

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.=C2=A0 U= se a
new buffer? (yes or no) " If I enter "yes", it opens a secon= d buffer
*Async Shell Command*<2>. If I enter "no", there is the err= or 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" c= ase 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.
--000000000000147f79058d41c6db--