1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-24 13:32:41 -08:00
emacs/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
..
ange-ftp.el Add remote-file-name-inhibit-delete-by-moving-to-trash 2023-01-08 19:24:17 +01:00
browse-url.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dbus.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dictionary-connection.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dictionary.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dig.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dns.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudc-bob.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudc-capf.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudc-export.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudc-hotlist.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudc-vars.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudc.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudcb-bbdb.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudcb-ecomplete.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudcb-ldap.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudcb-mab.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudcb-macos-contacts.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudcb-mailabbrev.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eww.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
gnutls.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
goto-addr.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
hmac-def.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
hmac-md5.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
imap.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ldap.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mailcap.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mairix.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
net-utils.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
network-stream.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
newst-backend.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
newst-plainview.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
newst-reader.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
newst-ticker.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
newst-treeview.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
newsticker.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
nsm.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ntlm.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
pop3.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
puny.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
rcirc.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
rfc2104.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl-cram.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl-digest.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl-ntlm.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl-scram-rfc.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl-scram-sha256.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
secrets.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
shr-color.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
shr.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sieve-manage.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sieve-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sieve.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
snmp-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
soap-client.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
soap-inspect.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
socks.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
telnet.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tramp-adb.el Add remote-file-name-inhibit-delete-by-moving-to-trash 2023-01-08 19:24:17 +01:00
tramp-archive.el Minor tramp-archive.el fix 2023-01-07 12:07:10 +01:00
tramp-cache.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-cmds.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-compat.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-container.el Add new Tramp method "toolbox" 2023-01-07 12:14:26 +01:00
tramp-crypt.el Add remote-file-name-inhibit-delete-by-moving-to-trash 2023-01-08 19:24:17 +01:00
tramp-ftp.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tramp-fuse.el Add remote-file-name-inhibit-delete-by-moving-to-trash 2023-01-08 19:24:17 +01:00
tramp-gvfs.el Add remote-file-name-inhibit-delete-by-moving-to-trash 2023-01-08 19:24:17 +01:00
tramp-integration.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-rclone.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-sh.el Add remote-file-name-inhibit-delete-by-moving-to-trash 2023-01-08 19:24:17 +01:00
tramp-smb.el Add remote-file-name-inhibit-delete-by-moving-to-trash 2023-01-08 19:24:17 +01:00
tramp-sshfs.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-sudoedit.el Add remote-file-name-inhibit-delete-by-moving-to-trash 2023-01-08 19:24:17 +01:00
tramp-uu.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tramp.el Add remote-file-name-inhibit-delete-by-moving-to-trash 2023-01-08 19:24:17 +01:00
trampver.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
webjump.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
zeroconf.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00