1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-21 05:00:47 -08:00
emacs/lisp/eshell
Jim Porter a3a7279a4a Improve the behavior of concatenating parts of Eshell arguments
Previously, concatenating a list to a string would first convert the
list to a string.  Now, the string is concatenated with the last
element of the list.

* lisp/eshell/esh-util.el (eshell-to-flat-string): Make obsolete.

* lisp/eshell/esh-arg.el (eshell-concat, eshell-concat-1): New
functions.
(eshell-resolve-current-argument): Use 'eshell-concat'.

* test/lisp/eshell/esh-var-tests.el (esh-var-test/interp-concat-cmd):
Add check for concatenation of multiline output of subcommands.
(esh-var-test/quoted-interp-concat-cmd): New test.

* test/lisp/eshell/em-extpipe-tests.el (em-extpipe-test-13): Use
'eshell-concat'.

* doc/misc/eshell.texi (Expansion): Document this behavior.

* etc/NEWS: Announce the change (bug#55236).
2022-05-03 18:23:02 +02:00
..
em-alias.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
em-banner.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
em-basic.el Don't use 'eshell-convert' when all we want is a number 2022-03-29 16:50:48 +02:00
em-cmpl.el Pcomplete: Better obey completion-at-point-functions 2022-03-18 11:59:32 -04:00
em-dirs.el Audit quoting the quote character in doc strings 2022-04-22 16:17:22 +02:00
em-elecslash.el New electric forward slash Eshell module 2022-04-21 11:57:12 -07:00
em-extpipe.el em-extpipe: Catch eshell-incomplete thrown while parsing 2022-04-02 16:08:41 +02:00
em-glob.el Add unit tests and documentation for Eshell pattern-based globs 2022-04-17 10:27:39 +03:00
em-hist.el Don't use 'eshell-convert' when all we want is a number 2022-03-29 16:50:48 +02:00
em-ls.el Make eshell link faces more distinctive on 8-color displays 2022-03-22 16:33:43 +01:00
em-pred.el Handle escaped characters in Eshell argument predicates/modifiers 2022-05-01 20:41:21 +02:00
em-prompt.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
em-rebind.el When executing an Eshell pipeline, send input to the first process 2022-02-03 20:02:22 +01:00
em-script.el Don't use 'eshell-eval-using-options' for 'eshell/source' or 'eshell/.' 2022-01-21 13:06:34 +01:00
em-smart.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
em-term.el When executing an Eshell pipeline, send input to the first process 2022-02-03 20:02:22 +01:00
em-tramp.el Make usage of su and sudo consistent in eshell (bug#53783) 2022-02-06 09:43:13 +01:00
em-unix.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
em-xtra.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
esh-arg.el Improve the behavior of concatenating parts of Eshell arguments 2022-05-03 18:23:02 +02:00
esh-cmd.el Add unit tests and documentation for Eshell predicates/modifiers 2022-04-17 10:28:23 +03:00
esh-ext.el Fix eshell-explicit-command-char doc string typo 2022-03-25 19:02:04 +01:00
esh-io.el Send SIGPIPE to external Eshell processes if their output target closes 2022-02-21 18:39:40 +01:00
esh-mode.el When executing an Eshell pipeline, send input to the first process 2022-02-03 20:02:22 +01:00
esh-module.el Add Eshell syntax to more easily bypass Eshell's own pipelining 2022-01-24 21:46:31 +01:00
esh-opt.el Treat "-" as a positional arg in 'eshell-eval-using-options' 2022-01-25 13:28:48 +01:00
esh-proc.el Don't superfluously emit prompts when terminating processes in Eshell 2022-02-24 10:35:54 +01:00
esh-util.el Improve the behavior of concatenating parts of Eshell arguments 2022-05-03 18:23:02 +02:00
esh-var.el Eshell variable expansion should always return strings inside quotes 2022-05-03 18:22:57 +02:00
eshell.el When executing an Eshell pipeline, send input to the first process 2022-02-03 20:02:22 +01:00