1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/lisp/eshell
Jim Porter e7d0aa248e During completion, convert all Eshell arguments to strings
Eshell was already converting some types (numbers, nil) to strings, as
well as fixing up multiple-dot forms like ".../", so this way is more
consistent and should produce fewer problems for Pcomplete functions.

* lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments): Always
convert parsed arguments to strings.

* test/lisp/eshell/em-cmpl-tests.el (eshell-arguments-equal,
eshell-arguments-equal--equal-explainer): New functions.
(em-cmpl-test/parse-arguments/pipeline)
(em-cmpl-test/parse-arguments/multiple-dots)
(em-cmpl-test/parse-arguments/variable/numeric)
(em-cmpl-test/parse-arguments/variable/nil)
(em-cmpl-test/parse-arguments/variable/list)
(em-cmpl-test/parse-arguments/variable/splice): Use
'eshell-arguments-equal'.
2023-01-30 17:49:11 -08:00
..
em-alias.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-banner.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-basic.el Use proper types for Eshell warnings 2023-01-18 09:14:59 -08:00
em-cmpl.el During completion, convert all Eshell arguments to strings 2023-01-30 17:49:11 -08:00
em-dirs.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-elecslash.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-extpipe.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-glob.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-hist.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-ls.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-pred.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-prompt.el Add 'file-user-uid' to get the connection-local effective UID 2023-01-16 17:11:02 -08:00
em-rebind.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-script.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-smart.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-term.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-tramp.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-unix.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-xtra.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-arg.el ; * lisp/eshell/esh-arg.el (eshell-prepare-splice): Fix quoting. 2023-01-23 11:37:01 +01:00
esh-cmd.el Add regression tests for Eshell completions 2023-01-30 17:49:11 -08:00
esh-ext.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-io.el Set the 'field' property for Eshell output 2023-01-14 11:09:02 -08:00
esh-mode.el Use the 'field' property to navigate through Eshell prompts 2023-01-14 11:13:42 -08:00
esh-module.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-opt.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-proc.el Merge from origin/emacs-29 2023-01-27 11:30:38 +01:00
esh-util.el Make 'eshell-number-regexp' into a regular defvar 2023-01-27 18:03:10 -08:00
esh-var.el Add support for negative indices and index ranges in Eshell 2023-01-27 18:03:10 -08:00
eshell.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00