]> git.eshelyaron.com Git - emacs.git/commit
Add direct remote copying in Tramp's scp support
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 22 Jan 2022 16:12:14 +0000 (17:12 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 22 Jan 2022 16:12:14 +0000 (17:12 +0100)
commit6139a05241aa3f082b49cbfe90ce61ceb0189bf7
tree07f4b3de21625fbb7d3cbc9aed8843dbb919f449
parent1edde2fc7a1a82b0e65d2b7a4237e7c18d0bc0c1
Add direct remote copying in Tramp's scp support

* doc/misc/tramp.texi: Use @trampfn{} function where possible.
(Top, Configuration): Insert section 'Ssh setup' and remove
section 'Windows setup hints' in menu.
(Default Method): Mention tramp-use-scp-direct-remote-copying.
(Ssh setup): New node.
(Windows setup hints): Move it to that new node.
(Frequently Asked Questions): Move items about ssh config to that node.

* etc/NEWS: Add Tramp's direct remote copying feature.  Fix typos.

* lisp/net/tramp-sh.el (tramp-use-scp-direct-remote-copying):
New defcustom.
(tramp-methods) <scp, scpx>: Add "%y" marker.
(tramp-scp-direct-remote-copying): New defun.
(tramp-do-copy-or-rename-file-out-of-band): Extend for direct
remote copying.

* lisp/net/tramp.el (tramp-methods): Extend docstring.
(tramp-password-prompt-not-unique): New defvar.
(tramp-read-passwd): Adapt docstring.
(tramp-read-passwd-without-cache): New defun.
(tramp-action-password): Call it.
doc/misc/tramp.texi
etc/NEWS
lisp/net/tramp-sh.el
lisp/net/tramp.el