emacs/doc/emacs
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
..
abbrevs.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ack.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
anti.texi Update Antinews in the user manual for Emacs 29 2023-01-01 17:38:23 +02:00
arevert-xtra.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
back.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
basic.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
book-spine.texi ; Yet another last-minute change in Emacs manual for printing 2021-07-24 13:15:50 +03:00
buffers.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
building.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
cal-xtra.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
calendar.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ChangeLog.1 ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
cmdargs.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
commands.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
custom.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dired-xtra.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dired.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
display.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
doclicense.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
docstyle.texi Minor copyedits in the Emacs user manual 2021-06-06 12:58:40 +03:00
emacs-xtra.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
emacs.texi Update Antinews in the user manual for Emacs 29 2023-01-01 17:38:23 +02:00
emacsver.texi.in Stop keeping doc/emacs/emacsver.texi in the repository 2014-11-09 16:17:17 -08:00
emerge-xtra.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
entering.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
files.texi Add remote-file-name-inhibit-delete-by-moving-to-trash 2023-01-08 19:24:17 +01:00
fixit.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
fortran-xtra.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
frames.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
glossary.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
gnu.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
gpl.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
haiku.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
help.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
indent.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
killing.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
kmacro.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
m-x.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
macos.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
maintaining.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
Makefile.in ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mark.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mini.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
misc.texi Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
modes.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
msdos-xtra.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
msdos.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mule.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
package.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
picture-xtra.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
programs.texi Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
regs.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
rmail.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
screen.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
search.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sending.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
text.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
trouble.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
vc-xtra.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
vc1-xtra.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
windows.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
xresources.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00