]> git.eshelyaron.com Git - emacs.git/commit
Tramp: Do not raise an error when not connected (Bug#78572)
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 2 Jun 2025 09:44:43 +0000 (11:44 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 19:59:53 +0000 (21:59 +0200)
commit86531ac5d93f3cfbb124066b6537c464eb1bc011
treec16c4f9131e2ba9c2426bfda6ea61d1f2d43f0d8
parentd2a93fc9c9f57950a1336fe24ba7a4c24724e6f2
Tramp: Do not raise an error when not connected  (Bug#78572)

* lisp/net/tramp-cmds.el (tramp-cleanup-connection):
Use read syntax #' for `tramp-timeout-session',

* lisp/net/tramp.el (tramp-barf-if-file-missing): Do not raise an error
when not connected.  (Bug#78572)
(tramp-file-name-handler): Do not force the backtrace.
(tramp-connectable-p): Check also, whether initial handshake is finished.
(tramp-skeleton-directory-files)
(tramp-skeleton-directory-files-and-attributes)
(tramp-skeleton-set-file-modes-times-uid-gid): Rearrange sending
`file-missing' error.
(tramp-handle-access-file, tramp-handle-unlock-file):
Use `tramp-connectable-p'.

* test/lisp/net/tramp-tests.el (project-mode-line-format)
(project-mode-line): Declare.
(tramp-test48-session-timeout): New test.
(tramp-test49-auto-load, tramp-test49-delay-load)
(tramp-test49-recursive-load, tramp-test49-remote-load-path)
(tramp-test50-without-remote-files, tramp-test51-unload): Rename.

(cherry picked from commit 55691c61d4af972b999bb97bffb46cb8571c912c)
lisp/net/tramp-cmds.el
lisp/net/tramp-sh.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el