unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Dmitry Gutov <dmitry@gutov.dev>
Cc: 70959@debbugs.gnu.org
Subject: bug#70959: Tramp connection property can interact weirdly with cache
Date: Sat, 25 May 2024 16:58:02 +0200	[thread overview]
Message-ID: <87ikz2vszp.fsf@gmx.de> (raw)
In-Reply-To: <2af3f2df-bc33-4b32-8c0f-d156e4c349bf@gutov.dev> (Dmitry Gutov's message of "Sat, 25 May 2024 17:36:23 +0300")

Dmitry Gutov <dmitry@gutov.dev> writes:

> Hi Michael,

Hi Dmitry,

> Do you think we could also make it so
>
>  (setq tramp-direct-async-process t)

I don't want. It is too easy. People will set it, and months later they
report that direct async processes won't work, and they've forgotten
this setting, and there's a new host which needs an interactive password.

You can achieve the same effect, if you set the connection-local profile
w/o any :protocol, :user or :machine, just the :application. Something like

--8<---------------cut here---------------start------------->8---
     (connection-local-set-profiles
      '(:application tramp) 'remote-direct-async-process)
--8<---------------cut here---------------end--------------->8---

And be prepared that I'll blame you in case you report an error because
of this :-)

Best regards, Michael.





  reply	other threads:[~2024-05-25 14:58 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
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 [this message]
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=87ikz2vszp.fsf@gmx.de \
    --to=bug-gnu-emacs@gnu.org \
    --cc=70959@debbugs.gnu.org \
    --cc=dmitry@gutov.dev \
    --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).