From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#71049: async-shell-command ends with "Process *Async Shell Command* finished" when remote "direct-async-process" Date: Sun, 19 May 2024 03:19:00 +0300 Message-ID: <3a497741-2ad0-4919-b7c9-cdb36b0eb455@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10019"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 71049@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 19 02:20:13 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s8UHc-0002Pk-Fy for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 May 2024 02:20:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8UHQ-0006SV-UE; Sat, 18 May 2024 20:20:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8UHO-0006RH-TR for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 20:19:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s8UHO-0006OW-KE for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 20:19:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8UHS-00056t-8s for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 20:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 May 2024 00:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71049 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171607795419627 (code B ref -1); Sun, 19 May 2024 00:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 May 2024 00:19:14 +0000 Original-Received: from localhost ([127.0.0.1]:35637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8UGf-00056V-Om for submit@debbugs.gnu.org; Sat, 18 May 2024 20:19:14 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8UGd-00056P-Rm for submit@debbugs.gnu.org; Sat, 18 May 2024 20:19:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8UGZ-0006EE-PO for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 20:19:07 -0400 Original-Received: from fout4-smtp.messagingengine.com ([103.168.172.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8UGX-0006LB-4z for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 20:19:06 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id AFAC01381497 for ; Sat, 18 May 2024 20:19:02 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 18 May 2024 20:19:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm2; t=1716077942; x=1716164342; bh=Kc24DaEEIg FzLM32dDsCbh7D3lZGO0pcRi9AgtyOSDo=; b=H7a3TaMwRJge0qNBEyMGLWkeAu 5X3QKOk/bXYthI77dYh2R7P/rsYSSwsnv6g/96cUCm2tbGp1GquLQn2wbJoDHMlx pJFpMkjvUiNFoQnrvxFlYo1cbKMnH4+5GgagnPn2Sxacse25KihG6kevP3dfjz9g ZbC7QtjCHDG3w9F9U/G2AqJtvTfIyV3stiM/AIkH7oth83eT1RzWfxH2cFQLEcvQ zbNtLQwAC98mB44AuyJay1+rtrqbbJCOqr9a//gWvw8KyqWJVGH0K6hWcrlU4Yaf 9mzY3exk02MF2PqoMRbVTBuyDobNRfU7bq3BzadgcRRo4cAn9DAk6qtjBHBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1716077942; x=1716164342; bh=Kc24DaEEIgFzLM32dDsCbh7D3lZG O0pcRi9AgtyOSDo=; b=fghBH4D49AbV3utMMy6Dd5U8rKeRvmBGJkr0ZymroPdf Q7oshhwR0nVVatMcGFM5ccZrkIwg2O03Dk6lNKr8d0xPVob4WQdSyBojJfYDBoq9 uCe6fddaFV0Ax8M0/XKbcix6wJY8WraAexY4lNSdNfGkjqHxcbOfcQGzkAUiLOSl 46imNMQLn5xy5GD5XG/mRFLYme7JgrnM0Ta3ZNufVV07sOO793rN+pplaCRb20kj F6IVf3l++M4Bq51QOiZpeDgjBVMBqRpISquVPzUCzpMEvn0fCWoAyPBF0J/3W+mW XcCRW6x/UBzjzMnWIQTLCBrOrs4JYKg1qZ3YQirY+Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehjedgfedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfvhffutgfgsehtkeertd dtvdejnecuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthho vhdruggvvheqnecuggftrfgrthhtvghrnhepuedthefftddujeffiefgtdffgfdtvdehke euvdfhkefhudetvdeliefffeeugfeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 18 May 2024 20:19:01 -0400 (EDT) Content-Language: en-US Received-SPF: pass client-ip=103.168.172.147; envelope-from=dmitry@gutov.dev; helo=fout4-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285393 Archived-At: Previously mentioned in bug#70901. When a Tramp connection is configured as "direct-async-process", 1. If the buffer *Async Shell Command* does not exist, invoking M-& in a remote buffer from that connection makes it end with Process *Async Shell Command* finished The command can be simple, like 'ls' or 'echo 123'. I also see this added to *Messages*: Tramp: Inserting ‘/ssh:dgutov@fencepost.gnu.org:/home/d/dgutov/.tramp_history’...done Which seems odd (tramp history is re-read every time like this, for some purpose?). 2. If the buffer such named already exists when command is invoked, then this doesn't happen (the output seems correct). But *Messages* says -l: finished. ...which is a big puzzling as well. Also, scenario 1 (when the buffer doesn't exist yet) takes longer than 2, but that might be a side-effect of implementation external to Tramp.