1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 15:52:00 -08:00
emacs/test/lisp/net
Michael Albinus ec105a45c9 Add remote-file-name-inhibit-delete-by-moving-to-trash
* doc/emacs/files.texi (Misc File Ops):
* doc/lispref/files.texi (Changing Files):
* doc/misc/tramp.texi (Frequently Asked Questions):
* etc/NEWS: Explain remote-file-name-inhibit-delete-by-moving-to-trash.

* lisp/files.el (remote-file-name-inhibit-delete-by-moving-to-trash):
New defcustom.  (Bug#60460)

* lisp/net/ange-ftp.el (ange-ftp-delete-file):
* lisp/net/tramp.el (tramp-skeleton-delete-directory):
Handle `remote-file-name-inhibit-delete-by-moving-to-trash'.
(tramp-skeleton-delete-file): New defmacro.

* lisp/net/tramp-adb.el (tramp-adb-handle-delete-file):
* lisp/net/tramp-fuse.el (tramp-fuse-handle-delete-file):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-file):
* lisp/net/tramp-sh.el (tramp-sh-handle-delete-file):
* lisp/net/tramp-smb.el (tramp-smb-handle-delete-file):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-delete-file): Use it.

* lisp/net/tramp-crypt.el (tramp-crypt-handle-delete-directory)
(tramp-crypt-handle-delete-file): Rearrange.

* lisp/net/tramp-fuse.el (tramp-fuse-handle-delete-directory):
Use `tramp-skeleton-delete-directory'.

* test/lisp/net/tramp-tests.el
(remote-file-name-inhibit-delete-by-moving-to-trash): Declare.
(tramp-test07-file-exists-p, tramp-test14-delete-directory)
(tramp-test48-unload): Extend tests.
2023-01-08 19:24:17 +01:00
..
dbus-resources
eudc-resources EUDC: Improve LDAP and BBDB tests 2022-11-24 02:21:38 -05:00
mailcap-resources Add some more mailcap tests. 2022-01-16 00:21:17 +01:00
network-stream-resources Move more test data to follow our conventions 2020-10-23 21:07:26 +02:00
ntlm-resources Implement NTLM server for ntlm.el testing 2021-02-18 18:59:18 -05:00
puny-resources ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
shr-resources Move shr.el test data to follow our conventions 2020-10-24 02:29:04 +02:00
tramp-archive-resources
tramp-resources Add Tramp test 2022-05-05 09:54:31 +02:00
browse-url-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dbus-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dig-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudc-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
gnutls-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
hmac-md5-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mailcap-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
network-stream-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
newsticker-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
nsm-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ntlm-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
puny-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
rcirc-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
rfc2104-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl-cram-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl-scram-rfc-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
secrets-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
shr-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
socks-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tramp-archive-tests.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-tests.el Add remote-file-name-inhibit-delete-by-moving-to-trash 2023-01-08 19:24:17 +01:00
webjump-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00