unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sean Whitton <spwhitton@spwhitton.name>
To: 74105@debbugs.gnu.org
Cc: michael.albinus@gmx.de
Subject: bug#74105: 30.0.92; Some issues in TRAMP NEWS entries
Date: Wed, 30 Oct 2024 19:10:30 +0800	[thread overview]
Message-ID: <87v7x9g82h.fsf@melete.silentflame.com> (raw)

X-debbugs-cc: michael.albinus@gmx.de

Hello,

In NEWS we have

    +++
    *** Direct asynchronous processes are indicated by a connection-local variable.
    If direct asynchronous processes shall be used, set the connection-local
    variable 'tramp-direct-async-process' to a non-nil value.  This has been
    changed, in previous Emacs versions this was indicated by the now
    deprecated connection property "direct-async-process".  See the Tramp
    manual "(tramp) Improving performance of asynchronous remote processes".

In my init.el I have this:

    (with-eval-after-load 'tramp
      (add-to-list 'tramp-connection-properties
                   '("/ssh:" "direct-async-process" t))
      (add-to-list 'tramp-connection-properties '(nil "session-timeout" nil)))

I have some documentation issues:

(1) The NEWS entry, together with the Info manual, were not sufficient
    for me to figure how to migrate my config.  For example, is the
    whole of tramp-connection-properties being replaced?  Or do I only
    need to migrate the direct-async-process part?

    I think additional documentation, even an explicit migration guide,
    would be desirable.

(2) Turning on direct async processes for all SSH connections seems like
    a common configuration.  How about adding that to the manual, in
    addition to the example for enabling them for one host?

(3) Has there been a change to how password caching works?

    I tried deleting the session-timeout configuration.  I made a
    /sudo:: connection.  After some time passed, I saw the familiar
    "Tramp connection timed out" message.  But it reconnected
    immediately when I tried to save a buffer I had open.  Does it now
    cache the sudo password?  In the past, you had to type it again,
    after the timeout.

    If there is a change here, it's security-relevant, so it should
    probably be in NEWS.

Thanks.

-- 
Sean Whitton





             reply	other threads:[~2024-10-30 11:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-30 11:10 Sean Whitton [this message]
2024-10-30 11:54 ` bug#74105: 30.0.92; Some issues in TRAMP NEWS entries Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=87v7x9g82h.fsf@melete.silentflame.com \
    --to=spwhitton@spwhitton.name \
    --cc=74105@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).