GNU bug report logs - #70959
Tramp connection property can interact weirdly with cache

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Dmitry Gutov <dmitry@HIDDEN>; dated Wed, 15 May 2024 14:54:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 70959 <at> debbugs.gnu.org:


Received: (at 70959) by debbugs.gnu.org; 18 May 2024 13:16:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 18 09:16:04 2024
Received: from localhost ([127.0.0.1]:33429 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s8Jut-0005q3-NP
	for submit <at> debbugs.gnu.org; Sat, 18 May 2024 09:16:04 -0400
Received: from wfhigh2-smtp.messagingengine.com ([64.147.123.153]:53083)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dmitry@HIDDEN>) id 1s8Juq-0005WD-OQ
 for 70959 <at> debbugs.gnu.org; Sat, 18 May 2024 09:16:01 -0400
Received: from compute7.internal (compute7.nyi.internal [10.202.2.48])
 by mailfhigh.west.internal (Postfix) with ESMTP id 309F21800076;
 Sat, 18 May 2024 09:15:50 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute7.internal (MEProxy); Sat, 18 May 2024 09:15:50 -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=fm2; t=1716038149;
 x=1716124549; bh=iD4f0BjvWp/GX2oOs+LzfADW1zk46jJ75F0q2/XoWEA=; b=
 V5KJqnFP6lSnpgJFLy+E2bIPjrLpKeN18Itrv2F6UgOtwFgQHU33vsekEV+l//sU
 C40uy9c+Kg8ZfB+NbypLYKtpbrtJ6YhoqJJJcnvce4xklZW6PEfusCWd8o/Az+4S
 VHXVGx7HdI9aBbqVJ0TIfoHNY07JggC36C5joEbLyrQ47bjOQIAkQHypOckRLFPf
 cGMncLEdFSBmO94QVSjIBUuQE8TnULY/7AHXMXva48umY4Ag8cxjDxYe/6qFVlcp
 RkCA+3kSo+7LvtHBJk++viYxVMwJrWhqBCEC9ML9TEVhd+bD3R3sEEhT5TxjYFpL
 cLm8bJaXgKcoNX3rD0vFnA==
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=1716038149; x=
 1716124549; bh=iD4f0BjvWp/GX2oOs+LzfADW1zk46jJ75F0q2/XoWEA=; b=E
 mmuNgbUAcB81qLthhRGoyI5TH26FSTWOhmAW6B6Zg8O4Hj7ifOuab9/szmKmH+fN
 jbOi5i2/wB4fHVbddQ7PXn5KOv+ZntaOPauab4TCYgQJSB4YDIrwHdY4WAOAc04z
 caVjpwU/P6QACuIL/HG/PIanvMuY8lHZ11sMmidoZ/iDO3b/5GaItmCJFla6vpe5
 1+6+dCO4v3phN9Xgkubqf/qnrcwPJd0jm4S3wKAx+QgRtaTf+0mKUSkJGMgyYwf1
 mqQ72ROLShggq8Py4SODtptthyFjbBX/gIB3CXFZr3N54Duo8lK78JZ1CctEkKYP
 4FXd7BMLEl6QbMp40TnCQ==
X-ME-Sender: <xms:BapIZi47HjXNT_dzUtplGGI30pPbeoXGGbkQTDKNK76sVZa7YAfWQQ>
 <xme:BapIZr6iaIEx_lRnOrqv8WY9GFA-PNNx05S6mx2w2wLaGiUd3GZ3RHoGexYqr2U9K
 cj4WWf6huFT7v6_htw>
X-ME-Received: <xmr:BapIZhdXTN6VqiVWDh_es3I2eIDOvFHPJdgeF6VO5koxruo-FJRnCah9fVEARZwSxEDs>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehiedghedtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi
 thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth
 htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu
 jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug
 hmihhtrhihsehguhhtohhvrdguvghv
X-ME-Proxy: <xmx:BapIZvIq17zPa194lCSV0YTrIaQ5pnFVBzjvlPT_KQ2idT2nJhGAZw>
 <xmx:BapIZmJ5jmfub84B6c26qK4BjpPVGNUk0Vi2gcSA0hlSpGl2auqMog>
 <xmx:BapIZgxX9nvEG42vRKhXsK9rbbKuaXqXWD5hgced0v4VWD5J4FzKQw>
 <xmx:BapIZqJpxTM28lSccXbbwG-HZnBmC7QojZQajccyjEtzBwF3jij7hw>
 <xmx:BapIZtWQtvygydkFsakKgY6z-j3s8DwaQtjoQlNaaaXi7NuEjwWYIkFf>
Feedback-ID: i0e71465a:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
 18 May 2024 09:15:48 -0400 (EDT)
Message-ID: <fc192db5-31dd-4d10-8107-99de5d5e6904@HIDDEN>
Date: Sat, 18 May 2024 16:15:47 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#70959: Tramp connection property can interact weirdly with
 cache
To: Michael Albinus <michael.albinus@HIDDEN>
References: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@HIDDEN>
 <87h6exdal2.fsf@HIDDEN> <b3c4fb43-27a3-484d-b9ba-c9ade64f59d6@HIDDEN>
 <87a5kpd2iw.fsf@HIDDEN> <e1cc6bfe-7fd9-4972-8ba9-c03f3a143064@HIDDEN>
 <87wmnstsb3.fsf@HIDDEN> <d195a586-f3fb-4dbd-b87c-7ea0fce2453e@HIDDEN>
 <87pltjxu8p.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <87pltjxu8p.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70959
Cc: 70959 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Michael,

On 18/05/2024 13:57, Michael Albinus wrote:

>>>> IMHO if it were possible (and easy enough to implement) to have the
>>>> property connection-wide without caching it, it would make for a
>>>> better user experience.
>>> What about to make it a connection-local variable?
>> Maybe? How will that look in customization?
>>
>> Will we set some variable with 'setopt', or setq, or just have to do
>> this through Customize?
> You would do something like
> 
> --8<---------------cut here---------------start------------->8---
> (connection-local-set-profile-variables 'remote-direct-async
>     '((tramp-direct-async-process . t)))
> 
> (connection-local-set-profiles
>     '(:application tramp :machine "randomhost") 'remote-direct-async)
> --8<---------------cut here---------------end--------------->8---
> 
> `remote-direct-async' is a profile name you could choose
> yourself. `tramp-direct-async-process' would be the respective Tramp
> variable.

That looks very reasonable. One bonus is that the machine is specified 
by the hostname only.

Which would avoid the difficulty of tweaking the regexp (e.g. I had a 
problem - on a different machine - that my url included a port, and that 
needed to be reflected in the regexp as well).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70959; Package emacs. Full text available.

Message received at 70959 <at> debbugs.gnu.org:


Received: (at 70959) by debbugs.gnu.org; 18 May 2024 10:57:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 18 06:57:58 2024
Received: from localhost ([127.0.0.1]:32790 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s8HlG-0001iN-7e
	for submit <at> debbugs.gnu.org; Sat, 18 May 2024 06:57:58 -0400
Received: from mout.gmx.net ([212.227.17.21]:45961)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1s8HlD-0001iB-K6
 for 70959 <at> debbugs.gnu.org; Sat, 18 May 2024 06:57:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de;
 s=s31663417; t=1716029863; x=1716634663; i=michael.albinus@HIDDEN;
 bh=dngsZDR4ATyFWgk8w09UkhHHKK2JPZmlVmJFKtJhE4M=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
 Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc:
 content-transfer-encoding:content-type:date:from:message-id:
 mime-version:reply-to:subject:to;
 b=hIIURMTbHuX4sTKugYgChDUG2zQ6qdyZlRgfz7eqDCBUbDPI9mcfc5JgcGHEqHHq
 jgF+olreWkr+RlFjiXwNe4PHAKURiiik02aKoPboUMwx4e/h7djacuggIk7GyuWpY
 MevBSvZskJa2EA4PEYunolLCvpgJpcvI0jk69FTEP9NEmvdxLqtyOJh7sNH2g2bpu
 yc+WqymKRHQ4Z9dB0HkZORSuwGZ9gixjosQErdtIx4BIxiKd1mBxpr49veqseGlcI
 lTlSfIhluYKXC5FsRYs+4o7sD6m16yxf2FknsiPK+fhzkCg3s6zUmIlNbr/Wrl/YI
 dZ2kKXNuNC/ywFtd8A==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from gandalf.gmx.de ([185.89.38.151]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MmDEm-1sqB9D1QY4-00liq3; Sat, 18
 May 2024 12:57:43 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Dmitry Gutov <dmitry@HIDDEN>
Subject: Re: bug#70959: Tramp connection property can interact weirdly with
 cache
In-Reply-To: <d195a586-f3fb-4dbd-b87c-7ea0fce2453e@HIDDEN> (Dmitry Gutov's
 message of "Sat, 18 May 2024 04:38:10 +0300")
References: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@HIDDEN>
 <87h6exdal2.fsf@HIDDEN>
 <b3c4fb43-27a3-484d-b9ba-c9ade64f59d6@HIDDEN>
 <87a5kpd2iw.fsf@HIDDEN>
 <e1cc6bfe-7fd9-4972-8ba9-c03f3a143064@HIDDEN>
 <87wmnstsb3.fsf@HIDDEN>
 <d195a586-f3fb-4dbd-b87c-7ea0fce2453e@HIDDEN>
Date: Sat, 18 May 2024 12:57:42 +0200
Message-ID: <87pltjxu8p.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:mLSSSgtDgUwihyKl3n2PxXDYz/sGg+qUM85/N2f/k1kNV8jtz91
 yLHeakGb++koFLQdg0OWo1bB3HCHgLitq6UgsAT4eCGxsefZUFSHIjIWQDIjLpuGydniBhT
 msq7GCdXNs6AsSgE3pEtEw/3YEeuG4Y/XXU+xGMRBZ6ddbAvkxR4GviXs8pwa7jTlf8IoiM
 PO/fxjY7y2eYE77sfZu+w==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:xr3Tk8cnMzc=;Hr9NOnxhnMbfwVHlpZ0bwTHYt/G
 giJQSlvYb5T35IG80gwapeUFJ4tFpi+fcxjhCjDi2oJxdXqItMPbVx1uPATwsaMDzg5aHG1Rv
 4nhuvjIiyIH0JIcDE56hvFh18KlRqir21dnVpDURZPT/QTa6GiwfOwwa381V5/sW/m+gHTwi/
 PMyD1yj+1NITpOeDRQkpeFIV5tWdA26ec72o2ssaqJC3CJeOmXbUeLPk1/YzazjgC5e6D5zMh
 KMydvQoN7D60r5uU6W3XOFQPXXr1JYlH/PuyvNQY5TotqTLCgMKZTCEjWdxazN7Y9sMXdd3SV
 378G9zTSGITo8qZ86b57CbWcuG/ljjKya/9S0rp4xTOpwkuk9kWUo32HdcaikZWdei17uzGsd
 Aeyo+MxP4jgiCv6N5u9YOp+Ya4glMzxPf5D4rrZwXLCAKLOKh79HipsaC8X9exM2GV2u2EekG
 EQhgeoROQTgEEu2W0RWZ84vPyHs0HRKAm0TJEbmS3IcbkUHCTA2tpwOvlnoSY0cCF5QrOA57C
 3QDShGP6+UVBjZVCNF5iCelA9NmfCk0HuD3dPtRHmh3bAcPRFeakMqurg2NqC8u5hWr+aOOCn
 SRlEZadI5FUnYUEfQ9U40WNrzJrTNT57ixubHI/Gjx+rmXU1w4dqNL7zi0dAHgLstLv2nuYaX
 ejey5sf1VhjUKj5vlMNLkv6P8MCyXNVKfvydGYaqV9iNactMZjRFmonM+jEf0etqK/pazDIvu
 OqCb9MtpMY2R/Hgz4tNXHZHIko9KymIdcrJK2ub37LhYiS8JWG2fYoW/d8y6xhB2DOEMsQ1z/
 E/mDmi1qCE/5yLa6N6IltdGKaOcW7QkgnEQgbPD9meitLNfvOsMze1wGJsnFwXV7Dl
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 3.6 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Dmitry Gutov <dmitry@HIDDEN> writes: Hi Dmitry, >>> IMHO
 if it were possible (and easy enough to implement) to have the >>> property
 connection-wide without caching it,
 it would make for a >>> better user experience.
 >> What about to make it a conn [...] 
 Content analysis details:   (3.6 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [185.89.38.151 listed in zen.spamhaus.org]
 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL
 blocklist [URIs: gutov.dev]
 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL
 blocklist [URIs: gutov.dev]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (michael.albinus[at]gmx.de)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [212.227.17.21 listed in wl.mailspike.net]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [212.227.17.21 listed in list.dnswl.org]
X-Debbugs-Envelope-To: 70959
Cc: 70959 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.6 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Dmitry Gutov <dmitry@HIDDEN> writes: Hi Dmitry, >>> IMHO
    if it were possible (and easy enough to implement) to have the >>> property
    connection-wide without caching it, it would make for a >>> better user experience.
    >> What about to make it a conn [...] 
 
 Content analysis details:   (2.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [212.227.17.21 listed in wl.mailspike.net]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [185.89.38.151 listed in zen.spamhaus.org]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [212.227.17.21 listed in list.dnswl.org]
  0.1 URIBL_SBL_A            Contains URL's A record listed in the Spamhaus SBL
                             blocklist
                             [URIs: gutov.dev]
  0.6 URIBL_SBL              Contains an URL's NS IP listed in the Spamhaus SBL
                             blocklist
                             [URIs: gutov.dev]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (michael.albinus[at]gmx.de)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Dmitry Gutov <dmitry@HIDDEN> writes:

Hi Dmitry,

>>> IMHO if it were possible (and easy enough to implement) to have the
>>> property connection-wide without caching it, it would make for a
>>> better user experience.
>> What about to make it a connection-local variable?
>
> Maybe? How will that look in customization?
>
> Will we set some variable with 'setopt', or setq, or just have to do
> this through Customize?

You would do something like

=2D-8<---------------cut here---------------start------------->8---
(connection-local-set-profile-variables 'remote-direct-async
   '((tramp-direct-async-process . t)))

(connection-local-set-profiles
   '(:application tramp :machine "randomhost") 'remote-direct-async)
=2D-8<---------------cut here---------------end--------------->8---

`remote-direct-async' is a profile name you could choose
yourself. `tramp-direct-async-process' would be the respective Tramp
variable.

Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70959; Package emacs. Full text available.

Message received at 70959 <at> debbugs.gnu.org:


Received: (at 70959) by debbugs.gnu.org; 18 May 2024 01:38:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 17 21:38:26 2024
Received: from localhost ([127.0.0.1]:58380 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s891l-0005Gy-OL
	for submit <at> debbugs.gnu.org; Fri, 17 May 2024 21:38:25 -0400
Received: from fhigh3-smtp.messagingengine.com ([103.168.172.154]:46289)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dmitry@HIDDEN>) id 1s891j-0005Gs-EN
 for 70959 <at> debbugs.gnu.org; Fri, 17 May 2024 21:38:24 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailfhigh.nyi.internal (Postfix) with ESMTP id B29ED11401C9;
 Fri, 17 May 2024 21:38:14 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Fri, 17 May 2024 21:38:14 -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=fm2; t=1715996294;
 x=1716082694; bh=xni/+hABedzRqj7sW+hIPkU/+gAM7nDv76REIplqm5I=; b=
 qGNLwPtjobebvYN/QEkuuOhAx8EGIE1GBUhnOvB1AzhSNcy/36Du+UygQxTLReVj
 96LkEZ4vO9CE915HU+scR4PRSknWuwJiBdhQvGoj6HUIQbzMbMmyXDFle/Zx1zYx
 gNqw8Cn6jEAhQFLqnQZKTfStzrvMGROZvThNrCIV/gTUsSM0ziBYr8UuCN7IPrOE
 yCzDz33Y1I4+6T8+qJ9lirhOhvda3W0QpC6vW+LFrZ7AXXkeguJp0/6xFN1Al1jS
 9NZ+ffZEbfDPDJ4DO8d0KOEp+z7ZlGmZiQe3Haeygw/3TsHkuQ0bqPSZyZJVW7el
 Ywb2qVrT1CxvUl412mBF2Q==
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=fm3; t=1715996294; x=
 1716082694; bh=xni/+hABedzRqj7sW+hIPkU/+gAM7nDv76REIplqm5I=; b=V
 LOLZCyZahzCFLCCJ54auSybsEPRsef6j1AmQb2ZT3kf9XD/J3DLBHfEsw/REyGNx
 l7PndGLiTeCV4z9pyKJlYinfw2s57uBHtUf/4QDWx25f2AcgdLPUE60nmfP7XTNX
 EWfxws5a70ZhqJCgluS5sMXCPeLMEa5TRfpdbe7IXgoJQHcq4Nuc8n4xMy4/fydQ
 +rOLXk+wkvDuhk6w8lBL0FxjXLtwZp0UlQVVtoWCX/UsSoWwoImd6F+7dMusG1Od
 zx4y2LHT/tis9s8p2HGUykitTctmJIGOVrZ6+36UrbOX3b/BDpvUYiq4YQIojJRC
 CrbdrJD082Zsp5KYmpw/Q==
X-ME-Sender: <xms:hgZIZq69RcmHPCK_H7TB5LynCN0vQq4Fe3nErCxlf-Qt-XwfLCINqQ>
 <xme:hgZIZj4zemMSHp5t8jf1ZYKg0qKDaQrtrLR5eES_QpBT_IO1lDaZTtPWWgY03Z7Xn
 vnCAysxruf2XVA6QrE>
X-ME-Received: <xmr:hgZIZpfdmR0bEc4w__Ve9q7v5im-t_L0wo92rED4xYR9tKILBgiI_uV-IDBxGYJu3qp2>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehhedggeekucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi
 thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth
 htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu
 jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug
 hmihhtrhihsehguhhtohhvrdguvghv
X-ME-Proxy: <xmx:hgZIZnJvsFVoiiUeJdsZF1s6kGhBdnRCAB1-3U3SuEAsbTyTpLv4ww>
 <xmx:hgZIZuKjm9Uolww0bYL4IeMzjWPJXrmNZqVbXqQhr_XJ1DyuZ6VwHA>
 <xmx:hgZIZoxvwFnQF0HlxjJuKzRIRCw9t7iJ8Q255xq1AJ90x8pYJJjiOQ>
 <xmx:hgZIZiLY1MpcreE5kQfy1LmRdEdhuCj2LNvcmidDuCGgj_Y_3s12dA>
 <xmx:hgZIZlWLTv7vADF23JdcnABDUDY80OV7uetu1oLnMw5dTjMIqNd0kv3M>
Feedback-ID: i0e71465a:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 17 May 2024 21:38:13 -0400 (EDT)
Message-ID: <d195a586-f3fb-4dbd-b87c-7ea0fce2453e@HIDDEN>
Date: Sat, 18 May 2024 04:38:10 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#70959: Tramp connection property can interact weirdly with
 cache
To: Michael Albinus <michael.albinus@HIDDEN>
References: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@HIDDEN>
 <87h6exdal2.fsf@HIDDEN> <b3c4fb43-27a3-484d-b9ba-c9ade64f59d6@HIDDEN>
 <87a5kpd2iw.fsf@HIDDEN> <e1cc6bfe-7fd9-4972-8ba9-c03f3a143064@HIDDEN>
 <87wmnstsb3.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <87wmnstsb3.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70959
Cc: 70959 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 17/05/2024 17:40, Michael Albinus wrote:
> Hi Dmitry,
> 
>>>> Would it be difficult to have this connection property (perhaps all
>>>> such properties?) to take effect right away? Does caching it improve
>>>> performance in any realistic scenario?
>>> Caching is just a side effect. The idea for this connection property is
>>> to have it connection-wise.
>> IMHO if it were possible (and easy enough to implement) to have the
>> property connection-wide without caching it, it would make for a
>> better user experience.
> What about to make it a connection-local variable?

Maybe? How will that look in customization?

Will we set some variable with 'setopt', or setq, or just have to do 
this through Customize?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70959; Package emacs. Full text available.

Message received at 70959 <at> debbugs.gnu.org:


Received: (at 70959) by debbugs.gnu.org; 17 May 2024 14:41:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 17 10:41:08 2024
Received: from localhost ([127.0.0.1]:55600 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s7yld-0005Be-O0
	for submit <at> debbugs.gnu.org; Fri, 17 May 2024 10:41:08 -0400
Received: from mout.gmx.net ([212.227.17.22]:41281)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1s7ylZ-0005B5-9d
 for 70959 <at> debbugs.gnu.org; Fri, 17 May 2024 10:41:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de;
 s=s31663417; t=1715956849; x=1716561649; i=michael.albinus@HIDDEN;
 bh=CAJJl737xs1/KNhWlXJHGkvFnHW0YUJDjfwBFCk+1gw=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
 Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc:
 content-transfer-encoding:content-type:date:from:message-id:
 mime-version:reply-to:subject:to;
 b=cQHBaiZrFnJNyrbY7FNKOc9R++NPwzvffU0GSfhXFKJ/TobpgjxImwJHgO1xiYT5
 l0OWkhGf5OXwUnOIp4Wj365KrJFLx6fIZHex7DpZ8LnvqnEeGm7Tjkaw14gPodSnC
 N3fBoALDBTJ8Cb/Rvyh+ps/M/ratTQE93Ja+G5mEHgAfZSvTiDschgiClp2Q9kL9Y
 JJxvR0K5O5wG9hu7Rp8iEp8wyjQgrLmVazBkxi4+19JbO296RwyO1lHJnqvf2mJNR
 HVkxih9sMNybrWsb4JM3ZknreARxnRhwvaiS8XGFvE4rqLGBvpytz3l+wtTjd7kjc
 QlZHnCm+zPVhveULKQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from gandalf.gmx.de ([185.89.38.151]) by mail.gmx.net (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MXGvG-1s423j2lqw-00YkiZ; Fri, 17
 May 2024 16:40:49 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Dmitry Gutov <dmitry@HIDDEN>
Subject: Re: bug#70959: Tramp connection property can interact weirdly with
 cache
In-Reply-To: <e1cc6bfe-7fd9-4972-8ba9-c03f3a143064@HIDDEN> (Dmitry Gutov's
 message of "Thu, 16 May 2024 22:15:48 +0300")
References: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@HIDDEN>
 <87h6exdal2.fsf@HIDDEN>
 <b3c4fb43-27a3-484d-b9ba-c9ade64f59d6@HIDDEN>
 <87a5kpd2iw.fsf@HIDDEN>
 <e1cc6bfe-7fd9-4972-8ba9-c03f3a143064@HIDDEN>
Date: Fri, 17 May 2024 16:40:48 +0200
Message-ID: <87wmnstsb3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:uRLbyf/wKhA9cOejDNTjdHyR6oubflmKNRmzAIPbvvCGjH/eoaJ
 KxE+/WaL2J3RoEY/6KH7vzbhor30uSlb6jxY7Z0tC/MW6PxlPzxPFn8KN8NV7PgYwVN+XbF
 POUFTslWqF0qMwP7gmwHOOqVFSoH605WX4IAeq11tSqM3gZj7XyYPacmpkg4jKsYLFxxh2v
 DESGg16E/blNycQgH3WPA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:w5j7c7RY89I=;cLvOiBv4/HjA0MLeZjMOzXpHdFE
 t6Bv4TggjcV1RBHn6PQg7PZYVJ40KaCH4dWN0O9LZqgasXf3tPmTwKNYh51Hq1XDHaH9AhqB4
 Qm2SgXP3rPaPcDgr7N3IKxNq+h6Ec9L3nGv1r719DqBVuLy5Sn57cserEUpoVhOKk9i9hxiZA
 QIlhRvdoEo40sUJ7aS+UfMOohV7tl0G+N/4C7A93mydJ3Zt+h8ylHKF5x+HHuuvSINnfxBxHe
 j1kP1B/NDWzAJomYlcOmqhvH4BrykXyTy6Yodro7eyMrlMhKlwjt94EsFAoIqnbsVbZBaSLpd
 PrSYNaFBDu2DIhIs3joqqC++RsakPL0ZviwlcHBS42iRwi5AeRw4WrGBbPF+rwfsdJicCBxX9
 avzzDD0NSLZDlXZSwXaRR/ITa3z9DBZekLXCzA0j92/aQzrCmahcm+qrgwnl/iJqYnpPomlof
 PrYzpv+Rjq8ULV1/QaYJ/3UQFYF2tmkeX75vOKDmj826ykGt779GELZQdulJ/w19rmaZPO3DH
 BX9XUBUScS+2hFYFs4qrtFVyU+n0fGggTCCn5cs0V1Gpl0v+KtZ8CAHlWqtKkJXoZoTDeF0RH
 5v5FSvl9WYk4a7TWmlMC207F+EDT2yDTR69XXSbUeijiga+A23/ZI7hWh/BOH9ZpGqa6NS3no
 tTnQew2oG9EYcw/YTUKzM07ZmLlJhVQmRGuDKzXrGTy5BdsLFy+AiRyPKfDF9jKT3sEaTENuZ
 Jd17DGyrJf/bWDrhCQst9/lyDSvc2sudiv9alv0eB+GL/65Q+AKf+NGOYHQ046czcSmziOzpO
 pCgoMqXOOu+fnQ/Mb6zIReplzP7qNVuhhP1G+gPDcKanw6gJVqWDot3ucTzyS+clSO
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 3.6 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Dmitry Gutov <dmitry@HIDDEN> writes: Hi Dmitry, >>> Would
 it be difficult to have this connection property (perhaps all >>> such
 properties?)
 to take effect right away? Does caching it improve >>> performance in any
 realistic scenario? >> Caching i [...] 
 Content analysis details:   (3.6 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL
 blocklist [URIs: gutov.dev]
 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL
 blocklist [URIs: gutov.dev]
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [185.89.38.151 listed in zen.spamhaus.org]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (michael.albinus[at]gmx.de)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [212.227.17.22 listed in wl.mailspike.net]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [212.227.17.22 listed in list.dnswl.org]
X-Debbugs-Envelope-To: 70959
Cc: 70959 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.6 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Dmitry Gutov <dmitry@HIDDEN> writes: Hi Dmitry, >>> Would
    it be difficult to have this connection property (perhaps all >>> such properties?)
    to take effect right away? Does caching it improve >>> performance in any
    realistic scenario? >> Caching i [...] 
 
 Content analysis details:   (2.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [212.227.17.22 listed in wl.mailspike.net]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [185.89.38.151 listed in zen.spamhaus.org]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [212.227.17.22 listed in list.dnswl.org]
  0.1 URIBL_SBL_A            Contains URL's A record listed in the Spamhaus SBL
                             blocklist
                             [URIs: gutov.dev]
  0.6 URIBL_SBL              Contains an URL's NS IP listed in the Spamhaus SBL
                             blocklist
                             [URIs: gutov.dev]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (michael.albinus[at]gmx.de)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Dmitry Gutov <dmitry@HIDDEN> writes:

Hi Dmitry,

>>> Would it be difficult to have this connection property (perhaps all
>>> such properties?) to take effect right away? Does caching it improve
>>> performance in any realistic scenario?
>> Caching is just a side effect. The idea for this connection property is
>> to have it connection-wise.
>
> IMHO if it were possible (and easy enough to implement) to have the
> property connection-wide without caching it, it would make for a
> better user experience.

What about to make it a connection-local variable?

Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70959; Package emacs. Full text available.

Message received at 70959 <at> debbugs.gnu.org:


Received: (at 70959) by debbugs.gnu.org; 16 May 2024 19:16:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 16 15:16:03 2024
Received: from localhost ([127.0.0.1]:50480 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s7gaB-0002fx-47
	for submit <at> debbugs.gnu.org; Thu, 16 May 2024 15:16:03 -0400
Received: from fhigh8-smtp.messagingengine.com ([103.168.172.159]:55759)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dmitry@HIDDEN>) id 1s7ga7-0002fU-0V
 for 70959 <at> debbugs.gnu.org; Thu, 16 May 2024 15:16:01 -0400
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47])
 by mailfhigh.nyi.internal (Postfix) with ESMTP id DE94711400C2;
 Thu, 16 May 2024 15:15:50 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute6.internal (MEProxy); Thu, 16 May 2024 15:15:50 -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=fm2; t=1715886950;
 x=1715973350; bh=hhXbCtrwIHnaDMt8vrUX7t4siTOLLHXIQWsF65BM4vw=; b=
 gHStF6DzniLhqZXQDgpd8oLiduYBUb1tIyOIPOxusaNQPHfO6nl/5fMZoSCF6APe
 yd1kv80g22aB2KJqFMG0UvW8x5fVtftzTliOqbkMHZwg7JPrbkGweMayZiQ+HcMS
 NbHtFtwcUN0KMqNGB6SzKlcsoLz5fR9NA1/DC4UPoVZOPhsg00vAdiL53i8kGWZa
 ikisRf9C7QVOcoHhne5jyXtvcIzKmRzBCPWJ4ssKd+UHZiHNS67IVpCygrKbSEL1
 Rhk9mAhHMBfHaIWSOrB7jHs7zr9fI3q0fTsiWmC+ST0WVSJt6CD7q+yUwPypGk55
 igcljHKGjYBr039n+t2b/A==
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=fm3; t=1715886950; x=
 1715973350; bh=hhXbCtrwIHnaDMt8vrUX7t4siTOLLHXIQWsF65BM4vw=; b=E
 5T42W2CU5dYKRacN1EYLvCWxGdpEtYwQxfEM2Zwhd1SJN/oNEBYdtHTKAmeEJrJ8
 T2KwGK4tNthyiZSVFnVLiqNOHB37n7E53agBI6SAac1dUZhGuqjDFAhrOWVR88TL
 v6KkKbCDS2bqhsmGRATf+tCdNWdO7t171NDjmdElqDBknbVFepz2Co2pIxZutHu8
 ZWVc+29e3nm06GohkPqe0X4BhVtb2UMnTzQE40C/KMyg8hAzD3JVIg2WsHGUFBB+
 YmhZoPUg7RwYrn7HLO/HqmwihZFHhFmb7xnDDgkwwLAm9IbjB5XzLSqsCISnzUmQ
 GepJ+JFdnQWaUVwShDRFw==
X-ME-Sender: <xms:ZltGZmrD15CSA8qPMFEERtUzGYk0UDCPT9uGCxCr-k3uyoZ9DX4-mg>
 <xme:ZltGZkqMHd8_TDsfabDBY9MnVW9lzKv17JLqMvHTCRm2bgztLj6dp3WxLXPe926QI
 49P2v5_NfP-FTlk400>
X-ME-Received: <xmr:ZltGZrOPNwOcOBBNrpHaxzGcETvHo7ekawp5z4hETrFTs1lAAaTjowqF4o0AvD400nuB>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehuddgudeffecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhm
 ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg
 htthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedtvddtveefhfdvveeg
 udejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe
 gumhhithhrhiesghhuthhovhdruggvvh
X-ME-Proxy: <xmx:ZltGZl5tqkG9tUmN4wivqZs_mZja_mPL3fOFFPGz-qs-vXy-TjZOgQ>
 <xmx:ZltGZl7Jvqb-PEyMb8satz_yyce9kJWknLXukj4m_95NnRZgwzhoFA>
 <xmx:ZltGZljNtA8qEBLpF_Tm6mhm0k-rcsbx3QNeqwe_FoRdw8cm7NxNUA>
 <xmx:ZltGZv4PNjDfSCDlTPBZDgN7PCqC0Rkvz48hiDXbdJfwRzu5MPKH7A>
 <xmx:ZltGZlFkCje-Hq8Tpo8AN0Z1p82O2lIr_9SSym1cCEj6tG6K-yOvEWmf>
Feedback-ID: i0e71465a:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 16 May 2024 15:15:49 -0400 (EDT)
Message-ID: <e1cc6bfe-7fd9-4972-8ba9-c03f3a143064@HIDDEN>
Date: Thu, 16 May 2024 22:15:48 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#70959: Tramp connection property can interact weirdly with
 cache
To: Michael Albinus <michael.albinus@HIDDEN>
References: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@HIDDEN>
 <87h6exdal2.fsf@HIDDEN> <b3c4fb43-27a3-484d-b9ba-c9ade64f59d6@HIDDEN>
 <87a5kpd2iw.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <87a5kpd2iw.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70959
Cc: 70959 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 16/05/2024 21:39, Michael Albinus wrote:
> Hi Dmitry,
> 
>> Would it be difficult to have this connection property (perhaps all
>> such properties?) to take effect right away? Does caching it improve
>> performance in any realistic scenario?
> Caching is just a side effect. The idea for this connection property is
> to have it connection-wise.

IMHO if it were possible (and easy enough to implement) to have the 
property connection-wide without caching it, it would make for a better 
user experience.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70959; Package emacs. Full text available.

Message received at 70959 <at> debbugs.gnu.org:


Received: (at 70959) by debbugs.gnu.org; 16 May 2024 18:40:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 16 14:40:08 2024
Received: from localhost ([127.0.0.1]:50303 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s7g1Q-0002Bv-BR
	for submit <at> debbugs.gnu.org; Thu, 16 May 2024 14:40:08 -0400
Received: from mout.gmx.net ([212.227.15.19]:59105)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1s7g1L-0002BS-SX
 for 70959 <at> debbugs.gnu.org; Thu, 16 May 2024 14:40:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de;
 s=s31663417; t=1715884792; x=1716489592; i=michael.albinus@HIDDEN;
 bh=ezCM0+fQhlQiPuyfcepjl3pBHvpw7g3OdwuKGWx0Bmo=;
 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=jKh0l/r+c4X4VF0HOBoQEt7jX17Zo4KQuSI0uVrIgdnRDjFRlCBpb1Ah6PUnwywB
 42SF+AMpzfyADzNqtOMdVY9GSWIOS45FDwZhIANwUjOZB6SWIf9dGx1tNGE6JZGnu
 rY+pR+sDyHGqcGW6ag8KWFe0ltpDTKgHourwroTCdxgmkwR/X+YDWEW2OoAhP8Rog
 a//zOi7fiTwNX+Hu4tEHPjM+ONX67Q/Ugl5orqjTpcUwjr27BXiiTbQNoL63ws/BV
 0+EDT+ifL7mYGURYCmdpHS7SstXS6Z4WnXE5B/n5fkmR+KgKOXbT1SKNg8it6cTpO
 aSwRLFn533zSDJ6okQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from gandalf.gmx.de ([185.89.38.151]) by mail.gmx.net (mrgmx005
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MWzfv-1s5i2z2wJ7-00XNcZ; Thu, 16
 May 2024 20:39:52 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Dmitry Gutov <dmitry@HIDDEN>
Subject: Re: bug#70959: Tramp connection property can interact weirdly with
 cache
In-Reply-To: <b3c4fb43-27a3-484d-b9ba-c9ade64f59d6@HIDDEN> (Dmitry Gutov's
 message of "Thu, 16 May 2024 20:14:25 +0300")
References: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@HIDDEN>
 <87h6exdal2.fsf@HIDDEN>
 <b3c4fb43-27a3-484d-b9ba-c9ade64f59d6@HIDDEN>
Date: Thu, 16 May 2024 20:39:51 +0200
Message-ID: <87a5kpd2iw.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:T4JJaELKPGpiGy2gD0+c2T2ZvXkoZPbNNEx7G6PMV+JGckFtFCc
 VUOPr6XsPTfvHnCYZrPpefbvSU4alPS1Jgl34bk8ur7dlvUSevXxeqwCQdorkENOccyS/Ak
 +4LBjoTwbXOa7Nwcsth4fXkOcHTdyOdyCi6dcmcGtmcsG+LimgiHxrHDwb+xPi6TtVgAB3g
 KJ5NHbiWLhAaBdB9MA7Yw==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:l3DAaH/QjVA=;74LtD36iEo57zK1EIHCrsx0cLAa
 ysCIfTXjB0EZ+ZgMnH8yQ5qZDcxxf3Ir06CyS3aoh8/vh8fhSZx/pJvolo2qDQiDOCtIPzRSi
 eokmMlpNgdpRrxYsnTb0mtBtPZgPGVBP0TFt++J/asGTtDx2JiyUru20p3tprxCBg2m/qQafH
 EN+yQCgVZtppX/srOtz4abwMGlJw08YXgzUXrcpB34L95+xDmSTBkg4FYhfVqVZqTdV3ZlkkK
 /el7r8Vb1ByrbZgF3Gtc33l0XuANGL7nmY2emDHNck3HOjsZqSawjhH9BVgtJxgeEE/Mkga8z
 RIO9xBY63aKBgsUFAu0iPWWXkG3BkBp2DrAAYVvBjkqi/h50JXJ2IagiDXP17nyCpaan4i0Nl
 4ZCEkjdzQ/QTgJkEDBM+aS5EWkYD67Dn4DHS15ux6RCS33IbjTRMh+MTtDWkiyB75PpykcAJX
 VWdte0N0pfL7iO0vyJLj5SAM5Ge5Zg9weEfZ6n+kRUTq+88itCpa6vE1giTGh2NxDVsU0Z3Rh
 +CTN7m27sQKFj3a/6CQQEGuj3XWwm48ZQRkrNHx18YJuYxr0tx7H7W63Tf4xrd/Eai11wNv8o
 3o54EhD8/aU00LN+tQj+F2ISIxOyzFHTCCmR5Em5n1jTvWSk9cdmg0AJN69sXvNL6lHogt/cF
 f+0p6dwg03exgIksm6Cq4lcTSh6EG8im8iEiRtJbOcxxklHbk3WoTLcTi/QLQnRhwDaXjtTw6
 K1FocOrEbGVzMxxeMpN8986WeS0GZzD1wCQTu53xOeZ4u+uZrxiHwA7SGaGbWlb7+pGETJ1Fl
 hadYWILCwLp7/W0IZaEZDq2QTMVK/TTcoA15fshu8qm77vUAXXSiwzF9no8TAvH1qw
X-Spam-Score: 3.6 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Dmitry Gutov <dmitry@HIDDEN> writes: Hi Dmitry, > Would
 it be difficult to have this connection property (perhaps all > such
 properties?)
 to take effect right away? Does caching it improve > performance in any
 realistic scenario? 
 Content analysis details:   (3.6 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [185.89.38.151 listed in zen.spamhaus.org]
 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL
 blocklist [URIs: gutov.dev]
 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL
 blocklist [URIs: gutov.dev]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [212.227.15.19 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [212.227.15.19 listed in wl.mailspike.net]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (michael.albinus[at]gmx.de)
 -0.0 SPF_PASS               SPF: sender matches SPF record
X-Debbugs-Envelope-To: 70959
Cc: 70959 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.6 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Dmitry Gutov <dmitry@HIDDEN> writes: Hi Dmitry, > Would
    it be difficult to have this connection property (perhaps all > such properties?)
    to take effect right away? Does caching it improve > performance in any realistic
    scenario? 
 
 Content analysis details:   (2.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [212.227.15.19 listed in wl.mailspike.net]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [185.89.38.151 listed in zen.spamhaus.org]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [212.227.15.19 listed in list.dnswl.org]
  0.1 URIBL_SBL_A            Contains URL's A record listed in the Spamhaus SBL
                             blocklist
                             [URIs: gutov.dev]
  0.6 URIBL_SBL              Contains an URL's NS IP listed in the Spamhaus SBL
                             blocklist
                             [URIs: gutov.dev]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (michael.albinus[at]gmx.de)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Dmitry Gutov <dmitry@HIDDEN> writes:

Hi Dmitry,

> Would it be difficult to have this connection property (perhaps all
> such properties?) to take effect right away? Does caching it improve
> performance in any realistic scenario?

Caching is just a side effect. The idea for this connection property is
to have it connection-wise.

Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70959; Package emacs. Full text available.

Message received at 70959 <at> debbugs.gnu.org:


Received: (at 70959) by debbugs.gnu.org; 16 May 2024 17:14:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 16 13:14:40 2024
Received: from localhost ([127.0.0.1]:49918 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s7egi-00017i-B4
	for submit <at> debbugs.gnu.org; Thu, 16 May 2024 13:14:40 -0400
Received: from fout2-smtp.messagingengine.com ([103.168.172.145]:46705)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dmitry@HIDDEN>) id 1s7egf-00017c-8V
 for 70959 <at> debbugs.gnu.org; Thu, 16 May 2024 13:14:38 -0400
Received: from compute7.internal (compute7.nyi.internal [10.202.2.48])
 by mailfout.nyi.internal (Postfix) with ESMTP id 5785A1380E32;
 Thu, 16 May 2024 13:14:29 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute7.internal (MEProxy); Thu, 16 May 2024 13:14: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=fm2; t=1715879669;
 x=1715966069; bh=/P3l3ItiQ4AfgGmj3EOnVIf4zct1ynlkQMf/Jzguucs=; b=
 iUFrIWzCcFb6wx4BzTpm/Eq6nG/bRfi7ie62z3705Uceq+mzB2AjZxQZdnO4qYEm
 GlqUp6GdF2zSI4lnjRfHZDrSp5oDaif+LLJunpvixpgeT1nqdJr/VOAVngCqRdez
 Dwn0BBP44GgOWh0vGMou0a0LAG50XTq+PJTz89giNJuMioDiYKRgV+VljDb9i29p
 ogzUbM/QBP0Yr/IJCETuzYgs9CRoCzWA5MH3uRSNou2grgXjw+vfquqyPJzB1bXH
 KRu6YPUK4NRi+LEMd78UGI5KDusNySjkmwz4rM61cGLReimf28eXaPbg9ctWoT/D
 qn6YYZe26HW4CDQTqrlfNw==
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=fm3; t=1715879669; x=
 1715966069; bh=/P3l3ItiQ4AfgGmj3EOnVIf4zct1ynlkQMf/Jzguucs=; b=C
 tNE1bDdFKFVXdkz5S9Y6dYwrON9E84zBqxTEHO8VVNXV3xjFHFbfiIBNx57vSoun
 /F2Jaw0BoD6c8lCdNW8YswzRrkbG2swibbYg3Z/paZ2xUTThtoxnPh6VTvlvEICD
 03s0lepjqQPl7XMxlIESPQdSjhDOwPmo17o8tEnPdtZAKLciydJHiGdgVt5/xzBO
 r1IWDm7FWa4B/yHwA8ZHXV1XcPi2WFnu2fUMXic2oT1rPbsncUDFtMJK9Rxn2hay
 eaVOAU8eRY8LP3w2ShM83ZFHW2W/Asb5Np0Ut5Hu0jwecDWWHNxA3DKrIzCBl0iQ
 7bcmSGvD3lcRqobTGl1dw==
X-ME-Sender: <xms:9T5GZjS-gEqosNLsVtm13Cb4ww1SdkUKr3FLVwJ1_sfClU6wtpj_vQ>
 <xme:9T5GZkzQmRus_V0-l22a5daDDNpMtwJbP979F_E0MUCwdv2mYK5Y91z-xB035tcye
 YjuZSgm6Drf6c1nDuM>
X-ME-Received: <xmr:9T5GZo1QEtdyZ2UQ4EtmfDwMMUr8IuJfv7eWkZHFBVRt0EkdGTeqpHi7DmfLSh1UJn9s>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehuddguddtjecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhm
 ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg
 htthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedtvddtveefhfdvveeg
 udejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe
 gumhhithhrhiesghhuthhovhdruggvvh
X-ME-Proxy: <xmx:9T5GZjBmCtRoaFz1JHIO8S1QU__xhOfo4nM6ruSSd92zvKkoGGCX5A>
 <xmx:9T5GZshmwLDDtSk_orUQddUdxc2bDlfcExuBqVsyXnz0NyNGumT50g>
 <xmx:9T5GZnoPis_5AgE7hsRrAfGsN5rrGbX4z1ie-GQhhfq7Q8k-Lz_Ocw>
 <xmx:9T5GZnjExeq0L2z0o8kT7WbNboHR792rLvPOHvQJah9FpBer4kwAgA>
 <xmx:9T5GZvuEVhipyxM09DRMz_xcxpCDfFaL81LdeRh4rsXq2he_h-mOCFZ->
Feedback-ID: i0e71465a:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 16 May 2024 13:14:28 -0400 (EDT)
Message-ID: <b3c4fb43-27a3-484d-b9ba-c9ade64f59d6@HIDDEN>
Date: Thu, 16 May 2024 20:14:25 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#70959: Tramp connection property can interact weirdly with
 cache
To: Michael Albinus <michael.albinus@HIDDEN>
References: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@HIDDEN>
 <87h6exdal2.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <87h6exdal2.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70959
Cc: 70959 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 16/05/2024 18:45, Michael Albinus wrote:
> Dmitry Gutov<dmitry@HIDDEN>  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")

Thank you. I suppose this is well-documented. But as a user, it's not 
apparent that the change in the variable wouldn't take effect right away.

Would it be difficult to have this connection property (perhaps all such 
properties?) to take effect right away? Does caching it improve 
performance in any realistic scenario?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70959; Package emacs. Full text available.

Message received at 70959 <at> debbugs.gnu.org:


Received: (at 70959) by debbugs.gnu.org; 16 May 2024 15:46:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 16 11:46:02 2024
Received: from localhost ([127.0.0.1]:49414 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s7dIv-0008K1-On
	for submit <at> debbugs.gnu.org; Thu, 16 May 2024 11:46:02 -0400
Received: from mout.gmx.net ([212.227.15.19]:51127)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1s7dIq-0008Js-Tg
 for 70959 <at> 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@HIDDEN;
 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
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
From: Michael Albinus <michael.albinus@HIDDEN>
To: Dmitry Gutov <dmitry@HIDDEN>
Subject: Re: bug#70959: Tramp connection property can interact weirdly with
 cache
In-Reply-To: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@HIDDEN> (Dmitry Gutov's
 message of "Wed, 15 May 2024 17:51:00 +0300")
References: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@HIDDEN>
Date: Thu, 16 May 2024 17:45:45 +0200
Message-ID: <87h6exdal2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:abZ7RYtDuyN6TjCF8kDVjHtDLAIdbENKynYUHYmy1vVtj30XyFq
 Ud6tcd4l6qpIwt4ggf652FNJXu/zqs7ZRPL4BIfcLEOFi1juDZfX3PdrwB+hMurBec0RaTN
 i4oxVz3jz3Sks782X8FSKgz3oVv1239ggR4DJaSdBRwGaj4S77b/WBfhCKOZp/NOyX+PWwA
 SCoYd9y5CoQ/q6imC/hCg==
X-Spam-Flag: NO
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/TLHYbCbHBPwJgsWV
 gGO73eINcGloHML8HMDf8dH15tQZ+tsvduM8ZiEBQuDmM=
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70959
Cc: 70959 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Dmitry Gutov <dmitry@HIDDEN> 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")




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70959; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 May 2024 14:53:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 15 10:53:26 2024
Received: from localhost ([127.0.0.1]:42507 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s7G0U-0002GS-Jw
	for submit <at> debbugs.gnu.org; Wed, 15 May 2024 10:53:26 -0400
Received: from lists.gnu.org ([209.51.188.17]:44788)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dmitry@HIDDEN>) id 1s7G0S-0002GM-Gn
 for submit <at> debbugs.gnu.org; Wed, 15 May 2024 10:53:25 -0400
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 <dmitry@HIDDEN>) id 1s7FyI-0002bS-2U
 for bug-gnu-emacs@HIDDEN; Wed, 15 May 2024 10:51:10 -0400
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 <dmitry@HIDDEN>) id 1s7FyD-0004OO-Py
 for bug-gnu-emacs@HIDDEN; Wed, 15 May 2024 10:51:09 -0400
Received: from compute7.internal (compute7.nyi.internal [10.202.2.48])
 by mailfout.west.internal (Postfix) with ESMTP id 3BD771C0012B
 for <bug-gnu-emacs@HIDDEN>; Wed, 15 May 2024 10:51:03 -0400 (EDT)
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: <xms:1stEZmub3H3VrmsYZUr8hdOXwklzkJbZbEdLxznrqTZ13R3-vhIcWg>
 <xme:1stEZrdqKiNmrmc7v-iZFssaPOrgwtZbnozOtK4nbnjCZq10xHIHqBLJ-SWfRqJMJ
 wNyAnBIxJkMaKcooP0>
X-ME-Received: <xmr:1stEZhwyBB_9LqT9Q9PpPEk0-exNT7VB72O9avNc4vzsRMEHHFQj0p17rM1ZEOYVawQY>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdegkedgjeejucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfvhffutgfgsehtjeertd
 dtvdejnecuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthho
 vhdruggvvheqnecuggftrfgrthhtvghrnhepfeekfeeghfejveehkedtgefhffejgefgud
 etgfeguefhteekudeivefghfekgfevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr
 rghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghv
X-ME-Proxy: <xmx:1stEZhPqgbiiCrKodXJmybAtCX2A8Wv3m6A8OcEu6vqNN4bX8khkmg>
 <xmx:1stEZm-AZcc0bXUBN9WUkQrMz7Hr6_aVLi01ZGW_8_IJ1Cjl_9yHEA>
 <xmx:1stEZpUF1kD591awfXt5uM_N43nEYK74llIPenpfGDxPSloUYBRv-A>
 <xmx:1stEZvfPHbJgKzk7QnDPrshTRD6kbLMDGqwHsc_7G7n8ysluB5Lc1g>
 <xmx:1stEZskENza9Su2r82m1R26Nq8qMGsYfvgwwd_lGRvDO3-3u3u0YvyVg>
Feedback-ID: i0e71465a:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-gnu-emacs@HIDDEN>; Wed, 15 May 2024 10:51:01 -0400 (EDT)
Message-ID: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@HIDDEN>
Date: Wed, 15 May 2024 17:51:00 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: bug-gnu-emacs@HIDDEN
From: Dmitry Gutov <dmitry@HIDDEN>
Subject: Tramp connection property can interact weirdly with cache
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=64.147.123.147; envelope-from=dmitry@HIDDEN;
 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-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

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.




Acknowledgement sent to Dmitry Gutov <dmitry@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#70959; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 18 May 2024 13:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.