1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 08:11:05 -08:00
emacs/test/lisp/eshell
Jim Porter e260bf1be7 Use "/local:" prefix in Eshell to run local commands when cwd is remote
* lisp/eshell/esh-ext.el (eshell-explicit-remote-commands)
(eshell-explicit-command): Update docstrings.
(eshell--local-prefix): New constant.
(eshell-handle-remote-command): Remove.
(eshell-quoted-file-command): New function...
(eshell-ext-initialize): ... add it as a hook.
(eshell-remote-command): Support running commands on localhost.
(eshell-connection-local-command): Rename from
'eshell-external-command'.
(eshell-external-command): New implementation calling
'eshell-remote-command' or 'eshell-connection-local-command' as
appropriate.

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

* doc/misc/eshell.texi (Remote Access): Update documentation.

* etc/NEWS: Update announcement.
2024-05-15 18:50:54 -07:00
..
em-alias-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
em-basic-tests.el Support setting umask symbolically in Eshell 2024-01-27 22:21:23 -08:00
em-cmpl-tests.el ; Fix test failures from the fix for bug#67661 2024-01-17 09:32:18 -08:00
em-dirs-tests.el In Eshell, don't expand quoted tildes into a user's home directory 2024-01-28 16:02:05 -08:00
em-extpipe-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
em-glob-tests.el ; Fix an edge case with Eshell globs when the directory part is quoted 2024-05-09 17:15:14 -07:00
em-hist-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
em-ls-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
em-pred-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
em-prompt-tests.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
em-script-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
em-tramp-tests.el Fix command replacement with the Eshell builtin versions of "sudo" and "doas" 2024-01-27 12:22:57 -08:00
em-unix-tests.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
esh-arg-tests.el In Eshell, allow an escaped newline at the end of a command 2024-01-28 15:54:46 -08:00
esh-cmd-tests.el ; Add docstring to test 2024-01-26 11:56:47 -08:00
esh-ext-tests.el Use "/local:" prefix in Eshell to run local commands when cwd is remote 2024-05-15 18:50:54 -07:00
esh-io-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
esh-opt-tests.el ; Compute the list of symbols for 'eshell-eval-using-options' once 2024-02-13 12:27:38 -08:00
esh-proc-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
esh-util-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
esh-var-tests.el Add support for running commands via Eshell's "env" command 2024-01-25 21:05:02 -08:00
eshell-tests-helpers.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
eshell-tests-unload.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
eshell-tests.el Replace use of obsolete eshell-kill-output in test 2024-02-23 13:14:18 +01:00