]> git.eshelyaron.com Git - emacs.git/commit
Add debug instrumentation for Eshell process management
authorJim Porter <jporterbugs@gmail.com>
Wed, 30 Aug 2023 00:11:42 +0000 (17:11 -0700)
committerJim Porter <jporterbugs@gmail.com>
Fri, 1 Sep 2023 01:42:03 +0000 (18:42 -0700)
commit7f5a2d0a2512ccecc896134521724fb8e733951f
tree9b5d63967382525d322cffee5c75805a2a7467b4
parentccb62321d234993a66287c4e1a3cfdea63d140ff
Add debug instrumentation for Eshell process management

* lisp/eshell/esh-util.el (eshell-debug-command)
* lisp/eshell/em-basic.el (eshell/eshell-debug)
(pcomplete/eshell-mode/eshell-debug): Add 'process' type.

* lisp/eshell/esh-proc.el (eshell-gather-process-output)
(eshell-interactive-process-filter, eshell-insertion-filter)
(eshell-sentinel): Call 'eshell-debug-command'.

* test/lisp/eshell/eshell-tests-helpers.el (with-temp-eshell): Add
'process' to 'eshell-debug-command'
(eshell-get-debug-logs): New function...
(eshell-match-command-output, eshell-command-result-equal): ... use
it.

* doc/misc/eshell.texi (Built-ins): Mention "process" debug type.
doc/misc/eshell.texi
lisp/eshell/em-basic.el
lisp/eshell/esh-proc.el
lisp/eshell/esh-util.el
test/lisp/eshell/eshell-tests-helpers.el