From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70959: Tramp connection property can interact weirdly with cache Date: Thu, 16 May 2024 17:45:45 +0200 Message-ID: <87h6exdal2.fsf@gmx.de> References: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@gutov.dev> Reply-To: Michael Albinus Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23974"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 70959@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 16 17:47:41 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 1s7dKX-000648-BF for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 May 2024 17:47:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7dKF-0006tu-Kf; Thu, 16 May 2024 11:47:23 -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 1s7dJy-0006oX-T8 for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 11:47:11 -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 1s7dJs-0002fZ-F7 for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 11:47:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7dJu-0008LL-HH for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 11:47: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: Thu, 16 May 2024 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70959 X-GNU-PR-Package: emacs Original-Received: via spool by 70959-submit@debbugs.gnu.org id=B70959.171587436232014 (code B ref 70959); Thu, 16 May 2024 15:47:02 +0000 Original-Received: (at 70959) by debbugs.gnu.org; 16 May 2024 15:46:02 +0000 Original-Received: from localhost ([127.0.0.1]:49414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7dIv-0008K1-On for submit@debbugs.gnu.org; Thu, 16 May 2024 11:46:02 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:51127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7dIq-0008Js-Tg for 70959@debbugs.gnu.org; Thu, 16 May 2024 11:46:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1715874345; x=1716479145; i=michael.albinus@gmx.de; bh=Zml4XnYWidX89abPT9nIyogOIONkYYKIzlE/+K4KW0E=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=TYjJasITSQOVpfwGTR0X6GF78g3ashmteIqFnOSTcTS0+7fGnBKCdPb6bJxCduVx WYukK++pfN9PQerKXxjc9h88osvUZxBeJR8r4JMN+edHdJArKcJQbKfiffHXpR6Mu cHQZ8PHbtYJernTOfYiN9zuZrOzn3lQ43wEeZG8fUgZ+TzyL7DsjHc2NuaBdFoqHI G9h7Db4jUhbB1OrgO2wk+eMDBI4IcQxE97lYlthwfCDtoec83KDmbNyCtZ7gp4jru DKHbPUmEhZWKtaL9++sXrlNvTWAvOiRxFNiER0xBE9uvuaz/VK1hvDWOa69eUsZM1 CvBJ8LTpOTguDNQeYw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.4]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MD9X9-1sGfqC2tUH-00CUxB; Thu, 16 May 2024 17:45:45 +0200 In-Reply-To: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@gutov.dev> (Dmitry Gutov's message of "Wed, 15 May 2024 17:51:00 +0300") X-Provags-ID: V03:K1:abZ7RYtDuyN6TjCF8kDVjHtDLAIdbENKynYUHYmy1vVtj30XyFq Ud6tcd4l6qpIwt4ggf652FNJXu/zqs7ZRPL4BIfcLEOFi1juDZfX3PdrwB+hMurBec0RaTN i4oxVz3jz3Sks782X8FSKgz3oVv1239ggR4DJaSdBRwGaj4S77b/WBfhCKOZp/NOyX+PWwA SCoYd9y5CoQ/q6imC/hCg== UI-OutboundReport: notjunk:1;M01:P0:f/uVS2KtigI=;VUjA+R1TsqtMKfOTA3btP50uCq1 qSq4yQutIGCCAtvVdGoM/QSclASYeXXgVqwb8bY9KVlUZ4511Je8pKGR0bQ7vKd7J8mfWL6qf XL7fxB09PUinDtCiyDsBW89KOzS3eBOpJ5s0KQbt5I46p7XdvX8tlt7Njttv+T4kGCgO5Pmo0 R7Tm5SHLjO27Z5QPK+LaBFGZ/rUbiD3FclYtkJZCoEqJjiLK2zQcmT3L5cKZZdmqJ9qyp0lqr 1002bVGvWuu+XdmqFCalRDlgLD2AXrxQApUzaBWTTQ6tu4K7ZjQGi9cmetWH0KHf+B3H/ZODE Wa6IXN0jmGIH3fXrFxnUoaJFUISyLR2S16uP5AdYqxc3ELIQLUxUFWltUDILE5w908OqF9HdG EDgTpEvHVrs6kEoyh1Gdt31FdvftVDaEUZfMdnGGOaaberjuYMRhziXr4xoH6P6e3V9FSnqwY 0ZokP6t91OI9iHqVGLtpfS+s/vNO4Fz2ij+AvZCnS9bnqanugIjWh/Pql/pE3rBFfmxVi8swi Y/FOnfTNxZ+hrlC26WOuGTaRkH0JZwOEscgZly62aN/XjsF7KXV0OfZnQ2LRC9J0EKbnatsu9 0PHOLdgdEdWVQ3+cn8f9+Vxge9aIOKi9yiy7X4shvpeMvgFg76qwNRmjbVegPE6tdw7KrdXcs Pb9OBgK/VDuD9jdPmDom8APCJPcoV7y7MzB4QCJE2yRd+YwxOyc4jubsxGd0j1NYwoTXjQAy4 fFOpTznl6egqV35QtRYE+GRJM5s8IIGf7UdsEOfOX9e35SOJhOdG102C/TLHYbCbHBPwJgsW 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:285161 Archived-At: Dmitry Gutov writes: > 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. If you want to remove a property from the cache, you need to call one of the tramp-cleanup* commands. See (info "(tramp) Cleanup remote connections")