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: Sat, 18 May 2024 12:57:42 +0200 Message-ID: <87pltjxu8p.fsf@gmx.de> References: <3cbaaa39-c07b-4fde-bc94-0f3c6744e59a@gutov.dev> <87h6exdal2.fsf@gmx.de> <87a5kpd2iw.fsf@gmx.de> <87wmnstsb3.fsf@gmx.de> Reply-To: Michael Albinus Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8633"; 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 Sat May 18 12:58:10 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 1s8HlQ-00021S-Sb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 May 2024 12:58:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8HlK-000746-Gv; Sat, 18 May 2024 06:58:02 -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 1s8HlH-00073q-Uv for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 06:58:00 -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 1s8HlG-0004Fj-S5 for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 06:57:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8HlJ-0001id-VF for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 06:58: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: Sat, 18 May 2024 10:58:01 +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.17160298786599 (code B ref 70959); Sat, 18 May 2024 10:58:01 +0000 Original-Received: (at 70959) by debbugs.gnu.org; 18 May 2024 10:57:58 +0000 Original-Received: from localhost ([127.0.0.1]:32790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8HlG-0001iN-7e for submit@debbugs.gnu.org; Sat, 18 May 2024 06:57:58 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:45961) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8HlD-0001iB-K6 for 70959@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@gmx.de; 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 Original-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 In-Reply-To: (Dmitry Gutov's message of "Sat, 18 May 2024 04:38:10 +0300") X-Provags-ID: V03:K1:mLSSSgtDgUwihyKl3n2PxXDYz/sGg+qUM85/N2f/k1kNV8jtz91 yLHeakGb++koFLQdg0OWo1bB3HCHgLitq6UgsAT4eCGxsefZUFSHIjIWQDIjLpuGydniBhT msq7GCdXNs6AsSgE3pEtEw/3YEeuG4Y/XXU+xGMRBZ6ddbAvkxR4GviXs8pwa7jTlf8IoiM PO/fxjY7y2eYE77sfZu+w== 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 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:285319 Archived-At: Dmitry Gutov 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.