1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 00:51:50 -08:00
emacs/test/lisp/eshell
Jim Porter 18d83b9452 Ensure Eshell variable aliases properly handle indexing
* lisp/eshell/em-dirs.el (eshell-dirs-initialize): Properly handle
indexing for variable aliases.

* lisp/eshell/esh-var (eshell-variable-aliases-list): Properly handle
indexing for variable aliases, and add SIMPLE-FUNCTION entry for
aliases.
(eshell-get-variable): Update how variable alias functions are called.

* test/lisp/eshell/em-alias-tests.el
(em-alias-test/alias-arg-vars-indices)
(em-alias-test/alias-arg-vars-split-indices)
(em-alias-test/alias-all-args-var-split-indices):
* test/lisp/eshell/em-dirs-tests.el (em-dirs-test/pwd-var-indices)
(em-dirs-test/oldpwd-var-indices)
(em-dirs-test/directory-ring-var-indices):
* test/lisp/eshell/esh-var-tests.el
(esh-var-test/inside-emacs-var-split-indices)
(esh-var-test/last-result-var-split-indices): New tests.
(esh-var-test/last-arg-var-split-indices): Expand test to check
conversion behavior inside double quotes (bug#56509).
2022-07-12 15:11:00 +02:00
..
em-alias-tests.el Ensure Eshell variable aliases properly handle indexing 2022-07-12 15:11:00 +02:00
em-basic-tests.el Add tests for Eshell's umask command 2022-03-29 16:50:45 +02:00
em-dirs-tests.el Ensure Eshell variable aliases properly handle indexing 2022-07-12 15:11:00 +02:00
em-extpipe-tests.el When closing an Eshell process target, send EOF three times 2022-06-26 18:27:20 +02:00
em-glob-tests.el Make Eshell globs ending in "/" match directories only 2022-06-26 16:52:38 +02:00
em-hist-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
em-ls-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
em-pred-tests.el Optionally signal an error if an Eshell predicate fails to match anything 2022-06-26 16:51:21 +02:00
em-script-tests.el Improve tests/organization for built-in variables 2022-07-12 15:10:54 +02:00
em-tramp-tests.el Adapt em-tramp-tests.el 2022-02-06 18:50:16 +01:00
esh-opt-tests.el Treat "-" as a positional arg in 'eshell-eval-using-options' 2022-01-25 13:28:48 +01:00
esh-proc-tests.el Fix esh-proc-tests on macOS 2022-03-13 11:01:59 +01:00
esh-var-tests.el Ensure Eshell variable aliases properly handle indexing 2022-07-12 15:11:00 +02:00
eshell-tests-helpers.el Handle escaped characters in Eshell special references (e.g. buffers) 2022-05-01 20:41:23 +02:00
eshell-tests.el Improve tests/organization for built-in variables 2022-07-12 15:10:54 +02:00