diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2019-02-03 11:07:36 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2019-02-03 11:07:36 +0100 |
commit | b32ac17c32486d8fce0fb9ecd5e09fe324448d3d (patch) | |
tree | be76b6825ea5f8f5fa98ef1359069fe840228324 /test/lib-src | |
parent | 713eece307bf48717b868f21789eed8160ada5ba (diff) | |
download | emacs-b32ac17c32486d8fce0fb9ecd5e09fe324448d3d.tar.gz emacs-b32ac17c32486d8fce0fb9ecd5e09fe324448d3d.tar.bz2 emacs-b32ac17c32486d8fce0fb9ecd5e09fe324448d3d.zip |
Work on accept-process-output in Tramp
* lisp/net/tramp.el (tramp-accept-process-output): Rework timer
handling.
(tramp-call-process): Adapt VEC if nil.
(tramp-interrupt-process): Use `tramp-accept-process-output'.
(tramp-process-lines): New defun.
* lisp/net/tramp-adb.el (tramp-adb-parse-device-names):
* lisp/net/tramp-rclone.el (tramp-rclone-parse-device-names): Use it.
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
Use timeout 0 in `tramp-accept-process-output'.
* test/lisp/net/tramp-tests.el (tramp--test-timeout-handler): Move up.
(tramp-test29-start-file-process, tramp-test30-make-process)
(tramp-test32-shell-command)
(tramp--test-shell-command-to-string-asynchronously): Use it.
(tramp-test35-remote-path): Suppress warning.
(tramp--test-asynchronous-requests-timeout): New defconst.
(tramp-test43-asynchronous-requests): Skip if not the only test.
Use `tramp--test-asynchronous-requests-timeout'.
Remove instrumentation. Use `start-process-shell-command' for
watchdog. Add timeout in timer function. Print status messages.
Remove file operations from sentinel. Suppress timers in
`accept-process-output'.
Diffstat (limited to 'test/lib-src')
0 files changed, 0 insertions, 0 deletions