From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71049: async-shell-command ends with "Process *Async Shell Command* finished" when remote "direct-async-process" Date: Sat, 25 May 2024 20:10:55 +0300 Message-ID: <86sey5yfz4.fsf@gnu.org> References: <3a497741-2ad0-4919-b7c9-cdb36b0eb455@gutov.dev> <8734q7h35d.fsf@gmx.de> <87ttinfgoa.fsf@gmx.de> <861q5r2ric.fsf@gnu.org> <87o78vf9l2.fsf@gmx.de> <86sey711m6.fsf@gnu.org> <221919a1-950e-4ef3-975d-f86078d8e105@gutov.dev> <87wmnidv3u.fsf@gmx.de> <25dad14a-397c-4052-908c-121e40bbef51@gutov.dev> <877cfhubyd.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35751"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, 71049@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 25 19:12:16 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 1sAuwJ-00098p-QS for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 May 2024 19:12:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAuw1-0004Na-GX; Sat, 25 May 2024 13:11:57 -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 1sAuvz-0004MW-4Y for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 13:11:55 -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 1sAuvy-0005EQ-Se for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 13:11:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sAuw6-0005Ka-EC for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 13:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 May 2024 17:12: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-submit@debbugs.gnu.org id=B71049.171665707720483 (code B ref 71049); Sat, 25 May 2024 17:12:02 +0000 Original-Received: (at 71049) by debbugs.gnu.org; 25 May 2024 17:11:17 +0000 Original-Received: from localhost ([127.0.0.1]:44506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAuvN-0005KJ-9c for submit@debbugs.gnu.org; Sat, 25 May 2024 13:11:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAuvL-0005KD-Qi for 71049@debbugs.gnu.org; Sat, 25 May 2024 13:11:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sAuv3-00050R-WE; Sat, 25 May 2024 13:11:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Mxb7GTxaWdn2ajL+zb4rNUEU241yvTxmnrG8PC031UE=; b=YqEGHTeyfvZo NXlevz7ZaUw5Za886ZPtBGuYfOpgyjkO6JBiIFC822t5IBI2k8oKzuXj3WctTFhVNNvbogV6mDozr y5WGjnnQ6mRdUCS2V8kPRcJBiiGRWO9Mi8yywFdHjxWgJeUehQxj8DFGizoYgDB9mXl4wFDQp6HoX ltLHKa8Db8LKqBiarZlhAjUxXK/macpFPCd4GrtZjtHiSRAlg7vSnX1S45aDmpemAz/XGHuimpLfG Ze4SWlIpRb2GsCKYdJMfdNXTPcnK/HACq3gGti3NOSOHsPwAbwIvYm0s0Yqa35byFy+7heTpa2g1C r3y6hHbpt98BI7S9XA2dCA==; In-Reply-To: <877cfhubyd.fsf@gmx.de> (message from Michael Albinus on Sat, 25 May 2024 17:51:22 +0200) 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:285896 Archived-At: > From: Michael Albinus > Cc: Eli Zaretskii , 71049@debbugs.gnu.org > Date: Sat, 25 May 2024 17:51:22 +0200 > > I'm really not convinced that we should change shell-mode in an > incompatible way for such a minor problem of (not) loading the remote > history file. shell-mode is one of the building blocks Emnacs consists of. > > Instead we must give the user a config option to suppress this. I've > shown a possible way to do with my patch, but anything else, which keeps > compatibility of shell-mode, would do. > > Eli? Yes, I think an option should be a good starting point. We could document in its doc string that avoiding to load history makes remote shell commands significantly faster. And maybe the new option could have a special value that disables history loading only for remote commands. TFH, I'm a bit surprised that the *Async Shell Command* buffer turns on shell-mode, but then I almost never switch to that buffer. I understand the rationale, for those who do.