]> git.eshelyaron.com Git - emacs.git/commit
Add user option remote-file-name-access-timeout
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 3 Jul 2023 16:24:11 +0000 (18:24 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 3 Jul 2023 16:24:11 +0000 (18:24 +0200)
commitc565a6c62c2fdf79976b002299dfc9346697cb3d
treed7511d132afa52e9d2969d590a964207bb2fab52
parent0b060faf2e34b24cc550580e2e86ebcb16dc9cdf
Add user option remote-file-name-access-timeout

* doc/lispref/files.texi (Testing Accessibility):
Add user option remote-file-name-access-timeout.

* doc/misc/tramp.texi (Frequently Asked Questions):
Explain remote-file-name-access-timeout.

* etc/NEWS: Mention 'remote-file-name-access-timeout'.

* lisp/files.el (remote-file-name-access-timeout): New defcustom.
(remote-file-name-inhibit-auto-save-visited)
(remote-file-name-inhibit-locks, remote-file-name-inhibit-cache)
(remote-file-name-inhibit-delete-by-moving-to-trash):
* lisp/simple.el (remote-file-name-inhibit-auto-save): Add group `tramp'.

* lisp/net/tramp.el (with-tramp-timeout, with-tramp-suspended-timers):
New defmacros.
(tramp-dont-suspend-timers): New defvar.
(tramp-handle-access-file): Implement handling of
`remote-file-name-access-timeout'.  (Bug#64401)
(tramp-action-show-and-confirm-message, tramp-process-actions)
(with-tramp-locked-connection, tramp-wait-for-regexp)
(tramp-read-passwd, tramp-read-passwd-without-cache): Use the macros.

* test/lisp/net/tramp-tests.el (remote-file-name-access-timeout):
Declare.
(tramp-test18-file-attributes): Extend test.
doc/lispref/files.texi
doc/misc/tramp.texi
etc/NEWS
lisp/files.el
lisp/net/tramp.el
lisp/simple.el
test/lisp/net/tramp-tests.el