]> git.eshelyaron.com Git - emacs.git/commit
Trash remote files to local trash (Bug#44216)
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 1 Nov 2020 11:42:29 +0000 (12:42 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 1 Nov 2020 11:42:29 +0000 (12:42 +0100)
commit06585bb939ed61574a4b79455c58cab02f11f0fc
tree551e326730405ce7d0d9b3122fa215ac1d0b0765
parent881eeeef9452c42a04f531a9ed18e7c254642a6b
Trash remote files to local trash  (Bug#44216)

* doc/misc/tramp.texi (Frequently Asked Questions): Add trashing.

* lisp/net/tramp-adb.el (tramp-adb-handle-delete-directory)
(tramp-adb-handle-delete-file):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory)
(tramp-gvfs-handle-delete-file):
* lisp/net/tramp-sh.el (tramp-sh-handle-delete-directory)
(tramp-sh-handle-delete-file):
* lisp/net/tramp-smb.el (tramp-smb-handle-delete-directory)
(tramp-smb-handle-delete-file):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-delete-directory)
(tramp-sudoedit-handle-delete-file): Implement local trash.  (Bug#44216)

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

* lisp/net/tramp.el (tramp-skeleton-delete-directory): New defmacro.

* test/lisp/net/tramp-tests.el (tramp-test07-file-exists-p)
(tramp-test14-delete-directory): Add trashing.
doc/misc/tramp.texi
lisp/net/tramp-adb.el
lisp/net/tramp-crypt.el
lisp/net/tramp-gvfs.el
lisp/net/tramp-sh.el
lisp/net/tramp-smb.el
lisp/net/tramp-sudoedit.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el