all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Robert Pluim <rpluim@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: master b34f9a44393: Apply remote-file-name-access-timeout in desktop.el and recentf.el
Date: Tue, 04 Jul 2023 16:42:43 +0200	[thread overview]
Message-ID: <87sfa3n3fg.fsf@gmx.de> (raw)
In-Reply-To: <87jzvf92yw.fsf@gmail.com> (Robert Pluim's message of "Tue, 04 Jul 2023 16:16:23 +0200")

Robert Pluim <rpluim@gmail.com> writes:

Hi Robert,

> This is a good change, although I wonder if we should set
> `remote-file-name-access-timeout' non-nil by default, maybe something
> relatively conservative like 60 seconds?

See the discussion in bug#64401. Initially, I've proposed a default of
30 seconds (IIRC); Eli replied with a proposal of 10 seconds.

But this is theory. If a connection is already established, a small
value of even 1 second would suffice. OTOH, if you need the initial
connection phase (f.e. during Emacs startup), with a slow connection to
the remote host, 60 seconds might be too short. And think about
multi-hops, where the initial connection phase could last longer.

That's why I've decided for the nil value, which is also the equivalent
to the current behavior - no timeout. But this is not set in stone, if
people believe another value is godd, then let's try it.

Btw, I've thought also about supporting connection-local values for
remote-file-name-access-timeout. For a fast connection you set it to 10
seconds, for another connection you use a larger value. Not implemented
yet, I don't know whether users want such a fine-grained customization.

> (I also see you use `natnump' for
> `remote-file-name-access-timeout'. Is 0 a sane value to allow, I think
> it would cause immediate timeout?)

Yes, an immediate timeout.

> Robert

Best regards, Michael.



  reply	other threads:[~2023-07-04 14:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <168847723857.12043.8020935461264507935@vcs2.savannah.gnu.org>
     [not found] ` <20230704132719.3251EC11DCA@vcs2.savannah.gnu.org>
2023-07-04 14:16   ` master b34f9a44393: Apply remote-file-name-access-timeout in desktop.el and recentf.el Robert Pluim
2023-07-04 14:42     ` Michael Albinus [this message]
2023-07-04 15:41       ` Robert Pluim
2023-07-04 16:29         ` Eli Zaretskii
2023-07-04 17:28           ` Robert Pluim
2023-07-04 16:40         ` Michael Albinus

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfa3n3fg.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=rpluim@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.