From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#36532: tramp-signal-hook-function: Text is read-only: "nil" Date: Sun, 07 Jul 2019 11:20:43 +0200 Message-ID: <87wogujj4k.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="166353"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 36532@debbugs.gnu.org To: Fritz Stelzer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 07 11:21:14 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 1hk3M9-000h75-GW for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jul 2019 11:21:13 +0200 Original-Received: from localhost ([::1]:34460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hk3M8-00070t-Dh for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jul 2019 05:21:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51945) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hk3M2-0006yE-GM for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2019 05:21:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hk3Ly-00013Q-Le for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2019 05:21:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47336) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hk3Ly-00013B-Dh for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2019 05:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hk3Ly-0000PA-6G for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2019 05:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jul 2019 09:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36532 X-GNU-PR-Package: emacs Original-Received: via spool by 36532-submit@debbugs.gnu.org id=B36532.15624912581530 (code B ref 36532); Sun, 07 Jul 2019 09:21:02 +0000 Original-Received: (at 36532) by debbugs.gnu.org; 7 Jul 2019 09:20:58 +0000 Original-Received: from localhost ([127.0.0.1]:56157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hk3Lt-0000Oc-Td for submit@debbugs.gnu.org; Sun, 07 Jul 2019 05:20:58 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:42577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hk3Lp-0000ON-MD for 36532@debbugs.gnu.org; Sun, 07 Jul 2019 05:20:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1562491245; bh=yzx17TDbU9KqCY3cbxCGI5igQKfG8OUKLEFdilnkqFs=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=F6tJovxJwT9Ypx4X4LEP5SfWlA4kFvqcpvttx3lV+AX33u4wIhxeDW3aWX+h0bUaG XQ5tl1hUU7TwKM2xG6H+Sz53a+0VVxKKEahUYOOiuRjxyRAyy7dm0rG5fCxe1VkSd5 EjfymuwfExJEaQWoUuGbz+ks8PKPVu4isMvKxSr4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([212.86.46.50]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MqJqD-1iEwFa1Vwp-00nPBr; Sun, 07 Jul 2019 11:20:45 +0200 In-Reply-To: (Fritz Stelzer's message of "Sat, 6 Jul 2019 22:43:51 +0200") X-Provags-ID: V03:K1:b+davjO5rc9yb3syyo6cQECToYY2AwpXabNxAA9ek/rFvhFLrOJ OmxrE247TTzkyDUIMC7xfhZFp924k0t9Kd1y+AtB2WeO7nFyJ/hyqtabvQJnVq0eBAPS0KH 55fYd1NchJ3eWCAZ/0be3ysyfcdPCTDY5XUbcTh8ZUIZ/Bb4Q/50zdiVBm6d+Wz6Dn3bKFe 2w9pRmaOySgsyQjxppCWg== X-UI-Out-Filterresults: notjunk:1;V03:K0:Lt8zOotf2BY=:pW7gu4S2U+VU20zAt7awwZ oizC/kNWiBQ/X0hcvg+j9eH5hAh3zG6lU5l3Wx9k8kc4qQbvTwjTyEMe38y3MjXv6Dl8VtydZ 4pWi5XwzjWtJRI54wz31p1SC49QYPxtWjHjgDUgaSm2dObHFtMAaJ4zq1UqhtJBAcXSmYGRqN 1un/W2iHpH4g/S1ioa3BjfDlhIwGT2WoOkGt3OqmJFlNFds20qJfRMe3oWyJeNoR3AxiHOPzb hdkhFkbIq5qwQTc1/4Bv2qFxbPbNODgL2b68+5ZvxcDo7e3SHf0Vv/b/PSdE4yTYaYB7wQKGq RU6fKBbXjAE0bLrLvewX3X/RKD5gKdI/bqtlBsp8A/xdGk7Eb1orzzyFnpSzFrPhkU7kVpsLU boO0QDSI1ZjwvN/W3a1I9qIF4CUIcm+FSX+FlEiRwemtMI5hX4ghXIUdAvpevaK4qSrJMhql0 PIeM3cg3v4S3U0re44Fmm/bA5uVGcVZ4L9VTLK5yocTxpn0zFimVu/a98yXL8MiI7cbvGPjbz 9fBmpDj1/66O6NxfEDlMPaIA27Q9tPjrihP1kvb1Fsp23iONtpDiNVtuxabCL+w0JcvBjvRS5 /yUw8/IgsYWRPZMcnj0ssNUEBO8mLE0TwojZRl5kaa4n+PwJJLF3Kj1V/znx8zXII/rr32hLL jtp++AG5iogePsYONBsp8ZgVj++uwQ4SkMfoC4qTcddgElU/f2Fc9oqOAYamZhkm156rBmH4i N9di8+LRtwlmdMtq8xbSg6sgyIJLC0h94WjAZC5MfUFXWL9yH6bBfKD51Nw9DekimqD8sUct 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:162272 Archived-At: 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.