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, 2 Jun 2024 04:39:25 +0300 Message-ID: References: <3a497741-2ad0-4919-b7c9-cdb36b0eb455@gutov.dev> <50900208-34b8-4b7c-90fc-8796da6bccd6@gutov.dev> <87cyp9vlb1.fsf@gmx.de> <87fru4u06a.fsf@gmx.de> <7989cd21-7808-4416-ab0a-92e5da869a36@gutov.dev> <861q5ku956.fsf@gnu.org> <86wmncss4i.fsf@gnu.org> <0ebb5a51-8634-4f65-a384-79f82592e339@gutov.dev> <87h6egecqn.fsf@gmx.de> <727a50c7-0e50-429e-9f9a-78b5b29ff405@gutov.dev> <875xuwea52.fsf@gmx.de> <87jzjbr8ek.fsf@gmx.de> <9685d486-46fe-4947-8bb2-fb436f09048b@gutov.dev> <86zfs6plwj.fsf@gnu.org> <86h6edq2kz.fsf@gnu.org> <864jadp55n.fsf@gnu.org> <87ikysvf5o.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26695"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Eli Zaretskii , 71049-done@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 02 03:40:08 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 1sDaCd-0006e3-Ie for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Jun 2024 03:40:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDaCO-0004R4-Vi; Sat, 01 Jun 2024 21:39:53 -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 1sDaCM-0004QU-U9 for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2024 21:39:50 -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 1sDaCM-0007Bm-Lm for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2024 21:39:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDaCY-000761-Hn for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2024 21:40: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, 02 Jun 2024 01:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71049 X-GNU-PR-Package: emacs Original-Received: via spool by 71049-done@debbugs.gnu.org id=D71049.171729239027255 (code D ref 71049); Sun, 02 Jun 2024 01:40:02 +0000 Original-Received: (at 71049-done) by debbugs.gnu.org; 2 Jun 2024 01:39:50 +0000 Original-Received: from localhost ([127.0.0.1]:57589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDaCL-00075X-U4 for submit@debbugs.gnu.org; Sat, 01 Jun 2024 21:39:50 -0400 Original-Received: from wfout8-smtp.messagingengine.com ([64.147.123.151]:43715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDaCK-00075K-5o for 71049-done@debbugs.gnu.org; Sat, 01 Jun 2024 21:39:48 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.west.internal (Postfix) with ESMTP id 70A0A1C000F3; Sat, 1 Jun 2024 21:39:29 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 01 Jun 2024 21:39:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1717292369; x=1717378769; bh=QZVglu8/hWE2l72Ec+ab1WjNnCxRt94FPkkYOaJIRAM=; b= ZugJ/NxlK/sVzdzAf3jj1imCi6/O/IdxYSE0cUa3Hyyq7JPkvpsQso+sQ7o1XZQh Qe+T1meXLnKBSTgerL+hh6uRRWT6xfh9gNGICXYZnTasyoG8DYxSWz2UcPSBSrgU XfTnzPeRirquJ9u/xYd8FMKpRv4RFmsFkS+CzvivFB6tpMOkX8AtE22czJ6ALIJN BDOPtB0ZYs7pBUHD2zNeNKgZMG0yjxtZUWAxHoYnMRQebtUlHzOEI44oooD9hMfI FGW0Uk734nOhOiHsZO66ksNxh6eTjvpjLZRZ1vBKGgQn9TcOh/UgzUF9YMp9UPYi 9WMG01pK1bn2ZkLM217wuA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1717292369; x= 1717378769; bh=QZVglu8/hWE2l72Ec+ab1WjNnCxRt94FPkkYOaJIRAM=; b=j 0Xb6VFdbIVJg571RbKGK6D2ysh/25s484nSRvp0UcoMfC+8Lhxxr5dl6v5LdmQyE ic19GVCi7Q27rGMvIj3Szz95ummOfXU9Ff1yM45vk9tKiUVM0CyWWmR+d4YZuPtr hE+DS0B2Cn2wEdlYCrxRNBKePqOxwwWXcS4ThwNpPqOYNP0o45kl8VEm4GmnuOl9 xooabtEOEpnzjHn0jttL+H/P+fUJAkN+Rm73RU3jM7IMLNdKfL8KzvkLwREGk3dq 7AIP2ElZqoxuGB+oAzBwZ+66Mg2p26VTONq3Vxwuh1+0f9p5L7v4AFD8af6J7Z17 4Kmmay/zFW4CvfDRB9kkQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdekledggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 1 Jun 2024 21:39:27 -0400 (EDT) Content-Language: en-US In-Reply-To: <87ikysvf5o.fsf@gmx.de> 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:286352 Archived-At: Hi Michael, On 01/06/2024 18:47, Michael Albinus wrote: > Does that mean that my proposed change to shell-mode (obeying > tramp-histfile-override) should not be applied? It is independent from > the change Dmitry has pushed. Looking at it again, it does seem like it could still be useful to override or disable the remote history file (right?). But with your patch, what happens when tramp-history-override is a string? Both Tramp and shell will write to it its commands, and upon loading shell will also read history from it, including all of the commands that Tramp had sent to the remote host. Am I reading it correctly? Perhaps instead we could have a connection-local variable like shell-history-file-name, which could be customized by the user to t to disable history - and that could even work per-connection.