1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-09 07:41:40 -07:00
emacs/test/lisp/net
Michael Albinus 0de3844f80 Fix file-name-all-completions for symlinked directories in Tramp
* lisp/net/tramp.el (tramp-skeleton-file-name-all-completions):
* lisp/net/tramp-adb.el (tramp-adb-handle-file-name-all-completions):
* lisp/net/tramp-crypt.el (tramp-crypt-handle-file-name-all-completions):
* lisp/net/tramp-fuse.el (tramp-fuse-handle-file-name-all-completions):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-name-all-completions):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
* lisp/net/tramp-smb.el (tramp-smb-handle-file-name-all-completions):
* lisp/net/tramp-sudoedit.el
(tramp-sudoedit-handle-file-name-all-completions): Simplify.
* tramp-tests.el (tramp-test32-shell-command): Adapt test.

* lisp/net/tramp-ftp.el (tramp-disable-ange-ftp): Use `seq-difference'.

* lisp/net/tramp-gvfs.el (tramp-gvfs-monitor-process-filter):
Use `thread-last'.

* lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory):
Use `seq-difference'.
(tramp-sh-gio-monitor-process-filter): Use `thread-last'.

* lisp/net/tramp-smb.el (tramp-smb-get-file-entries): Do not add
virtual entry ""; it isn't needed anymore.

* lisp/net/tramp.el (tramp-make-tramp-hop-name): Use `thread-last'.
(tramp-completion-handle-file-directory-p): Use `tramp-prefix-format'.
(tramp-fnac-add-trailing-slash): New defvar.
(tramp-skeleton-file-name-all-completions): Handle also symlinked
directories.
(tramp-skeleton-directory-files): Use `tramp-fnac-add-trailing-slash'.
(tramp-handle-file-name-completion): Use `seq-difference'.
(tramp-handle-make-process): Handle "%w" format specifier.

* test/lisp/net/tramp-tests.el (tramp-test26-file-name-completion)
(tramp-test32-shell-command, tramp-test36-vc-registered): Adapt tests.
2026-03-28 10:03:22 +01:00
..
dbus-resources Don't call dbus-launch in dbus-tests.el 2025-10-06 18:10:06 +02:00
eudc-resources EUDC: Improve LDAP and BBDB tests 2022-11-24 02:21:38 -05:00
mailcap-resources
network-stream-resources
ntlm-resources
puny-resources ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
shr-resources Fix formatting of tables with thead/tfoot but no tbody 2024-07-06 21:10:39 +02:00
tramp-archive-resources Tramp cleanup 2025-10-20 14:42:12 +02:00
tramp-resources Revert "* test/lisp/net/tramp-resources/foo.tar.gz: Remove." 2025-10-20 14:58:38 +02:00
browse-url-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
dbus-tests.el ; * test/lisp/net/dbus-tests.el: Remove obsolete function declarations. 2026-02-11 14:17:30 +01:00
dig-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudc-tests.el Revert "Repair serious breakage in the batch tests." 2026-03-04 19:24:52 +01:00
eww-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
gnutls-tests.el Add SHA-3 support to secure-hash 2026-02-23 00:22:17 -08:00
hmac-md5-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
mailcap-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
network-stream-tests.el Revert "Repair serious breakage in the batch tests." 2026-03-04 19:24:52 +01:00
newsticker-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
nsm-tests.el Revert "Repair serious breakage in the batch tests." 2026-03-04 19:24:52 +01:00
ntlm-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
puny-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
rcirc-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
rfc2104-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
sasl-cram-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
sasl-scram-rfc-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
sasl-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
secrets-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
shr-tests.el Escape attribute values and string DOMs when inserting them 2026-02-14 15:04:31 +02:00
socks-tests.el Revert "Repair serious breakage in the batch tests." 2026-03-04 19:24:52 +01:00
tramp-archive-tests.el Tramp signals 'remote-file-error' consequently 2026-02-12 19:24:10 +01:00
tramp-tests.el Fix file-name-all-completions for symlinked directories in Tramp 2026-03-28 10:03:22 +01:00
webjump-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00