]> git.eshelyaron.com Git - emacs.git/commit
Add support for explicitly-remote commands in Eshell
authorJim Porter <jporterbugs@gmail.com>
Sun, 9 Jul 2023 19:06:13 +0000 (12:06 -0700)
committerJim Porter <jporterbugs@gmail.com>
Mon, 10 Jul 2023 19:27:09 +0000 (12:27 -0700)
commita6e88dc72692a7a361cebdceb63851dc2427958d
treeb5f97ae4cad92bd10275e755a3296148a90a7180
parent438921161acaf3f4494f8866302c339e13c88cdb
Add support for explicitly-remote commands in Eshell

* lisp/files.el (file-remote-p):
* doc/lispref/files.texi (Magic File Names): Document 'never' for
CONNECTED argument.

* lisp/net/tramp.el (tramp-handle-file-remote-p): Handle CONNECTED
value of 'never'.

* lisp/eshell/esh-ext.el (eshell-explicit-remote-commands): New
option.
(eshell-ext-initialize): Apply 'eshell-handle-remote-command' when
requested.
(eshell-handle-remote-command): New function.
(eshell-remote-command): Reimplement this function and dispatch to
'eshell-external-command', which can handle remote processes on its
own.

* test/lisp/eshell/esh-ext-tests.el
(esh-ext-test/explicitly-remote-command)
(esh-ext-test/explicitly-local-command): New tests.

* doc/misc/eshell.texi (Remote Access): Document explicitly-remote
commands.

* etc/NEWS: Announce this change.
doc/lispref/files.texi
doc/misc/eshell.texi
etc/NEWS
lisp/eshell/esh-ext.el
lisp/files.el
lisp/net/tramp.el
test/lisp/eshell/esh-ext-tests.el