1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-04 06:31:13 -08:00
emacs/test/lisp/net
Michael Albinus 83b1db043b 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'.
2020-08-04 14:19:51 +02:00
..
tramp-archive-resources Fix Bug#30293 2018-01-31 15:02:46 +01:00
dbus-tests.el Various dbus.el cleanups (bug#41744) 2020-06-18 12:20:48 +01:00
dig-tests.el Use lexical-binding in dig.el and add tests 2020-04-26 01:11:05 +02:00
gnutls-tests.el Use lexical-binding for all net tests 2020-04-24 20:26:36 +02:00
hmac-md5-tests.el Use lexical-binding in hmac-md5.el and add tests 2020-04-28 18:14:28 +02:00
mailcap-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
network-stream-tests.el Make make-{network,serial}-process handle :coding nil consistently 2020-04-03 14:45:49 +02:00
newsticker-tests.el Use lexical-binding for all net tests 2020-04-24 20:26:36 +02:00
nsm-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
puny-tests.el Use lexical-binding in puny.el and add more tests 2020-04-28 18:14:28 +02:00
rcirc-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rfc2104-tests.el Use lexical-binding for all net tests 2020-04-24 20:26:36 +02:00
sasl-scram-rfc-tests.el Add SASL SCRAM-SHA-256 support. 2020-01-16 08:54:04 +01:00
secrets-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
shr-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tramp-archive-tests.el Merge from origin/emacs-27 2020-04-15 07:50:15 -07:00
tramp-tests.el Add Tramp support of direct asynchronous process invocation 2020-08-04 14:19:51 +02:00
webjump-tests.el Use lexical-binding in webjump.el and add tests 2020-05-18 17:58:01 +02:00