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#70959: Tramp connection property can interact weirdly with cache Date: Wed, 15 May 2024 17:51:00 +0300 Message-ID: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@gutov.dev> 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="29465"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 70959@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 15 16:54:25 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 1s7G1Q-0007Mg-81 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 May 2024 16:54:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7G16-0003MP-5Q; Wed, 15 May 2024 10:54:05 -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 1s7G13-0003M5-1s for bug-gnu-emacs@gnu.org; Wed, 15 May 2024 10:54:01 -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 1s7G12-0004hu-OK for bug-gnu-emacs@gnu.org; Wed, 15 May 2024 10:54:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7G13-0002HG-Tr for bug-gnu-emacs@gnu.org; Wed, 15 May 2024 10:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 May 2024 14:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70959 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.17157848078712 (code B ref -1); Wed, 15 May 2024 14:54:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 May 2024 14:53:27 +0000 Original-Received: from localhost ([127.0.0.1]:42507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7G0U-0002GS-Jw for submit@debbugs.gnu.org; Wed, 15 May 2024 10:53:26 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7G0S-0002GM-Gn for submit@debbugs.gnu.org; Wed, 15 May 2024 10:53:25 -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 1s7FyI-0002bS-2U for bug-gnu-emacs@gnu.org; Wed, 15 May 2024 10:51:10 -0400 Original-Received: from wfout4-smtp.messagingengine.com ([64.147.123.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7FyD-0004OO-Py for bug-gnu-emacs@gnu.org; Wed, 15 May 2024 10:51:09 -0400 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.west.internal (Postfix) with ESMTP id 3BD771C0012B for ; Wed, 15 May 2024 10:51:03 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 15 May 2024 10:51:03 -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=1715784662; x=1715871062; bh=+O7/2xlHVN u+rnoXEW12SHFGBT49db31wZexKlA++3k=; b=GdklzD7Zjq4sAacucJrlfxHVO4 x+EHIzL6WgRm82pajlHiLxeNEvLjKcuDTYILzb3AbTzt513K7H78I3Kha3LNzj6k KTF+uxsm1m5FDbQU4NTmR+f7CxDxYPX4N3+7qCnuiWmd/8UthNyS8VOEWgaa8nZY HTEm7/kcc04G85rkq8Pxc85k0ethL04FsVfcIm2BK3osv44z/d1FKWqibd9jqAE8 /KQbCJYCOal6x7bdlSTxWGl9460uViRfb8Vd0XdGwtSeJhTidohZPO6/HGGOW9qL aphwbhcAAyEZLG9hIDUkiE/ul0qhblVslDTt6qLIgTrjIVih1mI+OkUQ0H7g== 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= fm3; t=1715784662; x=1715871062; bh=+O7/2xlHVNu+rnoXEW12SHFGBT49 db31wZexKlA++3k=; b=RbFIIu/E5ESWOUcwzbSHCZGwZWluP6vJolikB4dgnS4K vcpFIFIie4O0jIozJGDyjgK69iFzFDPr9ViXr1otJot/h7xBWPFkdnj47PM2mTLU 92vqXeaaGiIQ2InMhEu1x7P8XisKKuThoi/1F4Y8wCha/czsLnfb2pQBxEhxdwJC 4flgt3lYDBYKzI2KkYnrdQoSD7cO+DoJBS8qOMoLGfWlP7Id3LlnUmVigj3e/QF4 PNdIgMv//j7VqaKfvhk1kdoMTJ/6hs2Bjhm8nJDtwMPShBVMQ/M5TAvIE6LmDyNB tst2xrdg6Ej03vMnvT+jh0RqMXKOGSnIz0ZoaT/o6Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdegkedgjeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfvhffutgfgsehtjeertd dtvdejnecuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthho vhdruggvvheqnecuggftrfgrthhtvghrnhepfeekfeeghfejveehkedtgefhffejgefgud etgfeguefhteekudeivefghfekgfevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 15 May 2024 10:51:01 -0400 (EDT) Content-Language: en-US Received-SPF: pass client-ip=64.147.123.147; envelope-from=dmitry@gutov.dev; helo=wfout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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 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:285089 Archived-At: I've used the recipe for "direct-async-processes" as suggested: (add-to-list 'tramp-connection-properties (list (regexp-quote "/ssh:user@host:") "direct-async-process" t)) and at first (the connection was already open) it didn't take effect. I think I had to kill the connection buffer for the new property to be used. Would be nice if this was instant. But also, after that I tried altering tramp-connection-properties back to disable direct-async-process for that host (for the purposes of testing and measuring things more precisely), and found that changing the variable doesn't bring the new behavior back. Restarting Emacs didn't bring the old (non-direct) behavior back either - I had to edit the ~/.emacs.d/tramp file by hand to remove that property. I think that's something that might confuse other users.