]> git.eshelyaron.com Git - emacs.git/commit
Add Tramp support of direct asynchronous process invocation
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 4 Aug 2020 12:19:51 +0000 (14:19 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 4 Aug 2020 12:19:51 +0000 (14:19 +0200)
commit83b1db043b44a8efb091ced873eab686e671c5ac
tree65d8f4c20f3b450e67825f9d5d4ae031d7a70ef8
parentb8b25400d544b2178ddc51de05a681ed11d581d6
Add Tramp support of direct asynchronous process invocation

* doc/misc/tramp.texi (Predefined connection information):
Add "direct-async-process".
(Remote processes): New subsection "Improving performance of
asynchronous remote processes".

* lisp/net/tramp-adb.el (tramp-methods) <adb>: Add `tramp-login-program'
and `tramp-login-args'.
(tramp-adb-handle-make-process): Use `tramp-handle-make-process'.
(tramp-adb-maybe-open-connection): Add "set +o vi +o emacs" command.

* lisp/net/tramp-sh.el (tramp-sh-handle-make-process):
Use `tramp-handle-make-process'.
(tramp-sh-file-name-handler-p, tramp-multi-hop-p): New defuns.
(tramp-compute-multi-hops): Use `tramp-multi-hop-p'.

* lisp/net/tramp.el (tramp-dissect-file-name, tramp-dissect-hop-name):
Use `tramp-multi-hop-p'.
(tramp-handle-insert-file-contents, tramp-local-host-p):
Use `tramp-sh-file-name-handler-p'.
(tramp-handle-make-process): New defun.

* test/README: Add another example how to use SELECTOR.

* test/lisp/net/tramp-tests.el (tramp-test03-file-name-method-rules):
Adapt test.
(tramp--test-sh-p): Use `tramp-sh-file-name-handler-p'.
doc/misc/tramp.texi
lisp/net/tramp-adb.el
lisp/net/tramp-sh.el
lisp/net/tramp.el
test/README
test/lisp/net/tramp-tests.el