]> git.eshelyaron.com Git - emacs.git/commit
Rework direct async processes in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 23 Aug 2020 11:30:43 +0000 (13:30 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 23 Aug 2020 11:30:43 +0000 (13:30 +0200)
commit4aff89ece6d9ceee882375879518b71ca6a89a70
treea741ca8a47f6e47a1b00ce838f2c34aa44a57bf7
parent608b8113cbfb2f24fd806b63306333db7154eb61
Rework direct async processes in Tramp

* doc/misc/tramp.texi (Remote processes): Precise restrictions for direct
async processes.

* lisp/net/tramp.el (tramp-methods): Adapt docstring.
(tramp-direct-async-process-p): Make it more precise.
(tramp-handle-make-process): Rewrite, based on `make-process'.

* test/lisp/net/tramp-tests.el (tramp-test-temporary-file-directory):
Add `tramp-direct-async-args` for mock method.
(tramp-test29-start-file-process, tramp-test30-make-process):
Use weaker regexp checking "foo".
(tramp-test30-make-process): Do not check stderr for direct async processes.
(tramp--test--deftest-direct-async-process): New defmacro.
(tramp-test29-start-file-process-direct-async)
(tramp-test30-make-process-direct-async): New tests.
doc/misc/tramp.texi
lisp/net/tramp.el
test/lisp/net/tramp-tests.el