From: Dmitry Gutov <dmitry@gutov.dev>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 70959@debbugs.gnu.org
Subject: bug#70959: Tramp connection property can interact weirdly with cache
Date: Sat, 18 May 2024 16:15:47 +0300 [thread overview]
Message-ID: <fc192db5-31dd-4d10-8107-99de5d5e6904@gutov.dev> (raw)
In-Reply-To: <87pltjxu8p.fsf@gmx.de>
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).
next prev parent reply other threads:[~2024-05-18 13:15 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-15 14:51 bug#70959: Tramp connection property can interact weirdly with cache Dmitry Gutov
2024-05-16 15:45 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-16 17:14 ` Dmitry Gutov
2024-05-16 18:39 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-16 19:15 ` Dmitry Gutov
2024-05-17 14:40 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-18 1:38 ` Dmitry Gutov
2024-05-18 10:57 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-18 13:15 ` Dmitry Gutov [this message]
2024-05-18 18:43 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-19 0:27 ` Dmitry Gutov
2024-05-19 12:18 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-19 12:41 ` Dmitry Gutov
2024-05-25 14:36 ` Dmitry Gutov
2024-05-25 14:58 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-25 14:59 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fc192db5-31dd-4d10-8107-99de5d5e6904@gutov.dev \
--to=dmitry@gutov.dev \
--cc=70959@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).