[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master b34f9a44393: Apply remote-file-name-access-timeout in desktop
From: |
Robert Pluim |
Subject: |
Re: master b34f9a44393: Apply remote-file-name-access-timeout in desktop.el and recentf.el |
Date: |
Tue, 04 Jul 2023 16:16:23 +0200 |
>>>>> On Tue, 4 Jul 2023 09:27:18 -0400 (EDT), Michael Albinus
>>>>> <Michael.Albinus@gmx.de> said:
Michael> branch: master
Michael> commit b34f9a44393a331c866268d93b16ad69567a3cd4
Michael> Author: Michael Albinus <michael.albinus@gmx.de>
Michael> Commit: Michael Albinus <michael.albinus@gmx.de>
Michael> Apply remote-file-name-access-timeout in desktop.el and
recentf.el
Michael> * doc/emacs/files.texi (File Conveniences):
Michael> * doc/emacs/misc.texi (Saving Emacs Sessions):
Michael> Mention remote-file-name-access-timeout.
Michael> * doc/misc/tramp.texi (Frequently Asked Questions): Add note.
Michael> * etc/NEWS: Explain use of 'remote-file-name-access-timeout' in
Michael> desktop.el and recentf.el.
Michael> * lisp/desktop.el (desktop-access-file): New defun.
Michael> (desktop-restore-file-buffer): Use it.
Michael> * lisp/recentf.el (recentf-access-file): New defun.
Michael> (recentf-keep-default-predicate): Use it.
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?
(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?)
Robert
--
- Re: master b34f9a44393: Apply remote-file-name-access-timeout in desktop.el and recentf.el,
Robert Pluim <=