1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-04 22:50:59 -08:00
emacs/doc/misc
Jim Porter 6defbd65b6 Fix handling of output handles in nested Eshell forms
Previously, the output handles in nested forms would be reset to the
default, leading to wrong behavior for commands like

  {echo a; echo b} > file

"b" would be written to "file" as expected, but "a" would go to
standard output (bug#59545).

* lisp/eshell/esh-cmd.el (eshell-parse-command): Use
'eshell-with-copied-handles' for each statement within the whole
Eshell command.

* test/lisp/eshell/esh-io-tests.el (esh-io-test/redirect-subcommands)
(esh-io-test/redirect-subcommands/override)
(esh-io-test/redirect-subcommands/interpolated): New tests.

* test/lisp/eshell/em-script-tests.el
(em-script-test/source-script/redirect)
(em-script-test/source-script/redirect/dev-null): New tests.
(em-script-test/source-script, em-script-test/source-script/arg-vars)
(em-script-test/source-script/all-args-var): Tweak names/docstrings.

* test/lisp/eshell/em-extpipe-tests.el (em-extpipe-tests--deftest):
Skip over the newly-added 'eshell-with-copied-handles' form when
checking the parse results.

* test/lisp/eshell/em-tramp-tests.el (em-tramp-test/su-default)
(em-tramp-test/su-user, em-tramp-test/su-login)
(em-tramp-test/sudo-shell, em-tramp-test/sudo-user-shell)
(em-tramp-test/doas-shell, em-tramp-test/doas-user-shell): Update
expected command forms.
2022-12-22 11:35:12 -08:00
..
auth.texi Disable auth-source-pass-extra-query-keywords by default 2022-11-25 05:37:01 -08:00
autotype.texi Make quickurl.el obsolete (part 2/2) 2022-07-28 12:47:55 +02:00
bovine.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
calc.texi Abolish max-specpdl-size (bug#57911) 2022-09-19 19:30:03 +02:00
cc-mode.texi ; Fix typos 2022-11-22 02:24:20 +01:00
ChangeLog.1 ; Fix typos 2022-11-18 16:02:19 +01:00
cl.texi ; * doc/misc/cl.texi (Mapping over Sequences): Fix typos. 2022-11-02 17:19:46 +01:00
dbus.texi Remove mentions of GNOME MediaKeys from dbus documentation examples 2022-06-07 15:44:05 +08:00
dired-x.texi Move dired-guess commands from dired-x to dired 2022-08-17 16:21:09 +02:00
doclicense.texi
ebrowse.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ede.texi ; Fix typos 2022-11-20 12:59:39 +01:00
ediff.texi Make some versions in docs match package version 2022-09-03 01:14:12 +02:00
edt.texi ; Fix typos 2022-11-22 02:24:20 +01:00
efaq-w32.texi ; Fix typos 2022-11-22 02:24:20 +01:00
efaq.texi ; Fix typos 2022-11-11 15:52:37 +01:00
eglot.texi Eglot: Handle LSP progress with Emacs progress reporters (bug#59149) 2022-12-09 13:03:57 +00:00
eieio.texi * doc/misc/eieio.texi (Introduction, Generics): Remove outdated limits 2022-09-19 07:39:29 -04:00
emacs-gnutls.texi ; Fix typos 2022-11-22 02:24:20 +01:00
emacs-mime.texi Don't advertise obsolete library html2text.el 2022-08-14 23:46:33 +02:00
epa.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
erc.texi Add dedicated auth-source section in ERC manual 2022-12-14 06:40:55 -08:00
ert.texi Improve ert-test-erts-file documentation 2022-07-09 11:47:52 +02:00
eshell.texi Fix handling of output handles in nested Eshell forms 2022-12-22 11:35:12 -08:00
eudc.texi ; Fix typos (duplicate words) 2022-11-17 09:34:24 +01:00
eww.texi * doc/misc/eww.texi (Overview): Improve introduction. 2022-12-07 01:05:44 +01:00
flymake.texi ; Fix typos 2022-12-09 10:18:00 +01:00
forms.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gnus-faq.texi Improve wording and markup in gnus-faq.texi 2022-11-22 02:24:20 +01:00
gnus.texi ; Consistently call alists "association list" 2022-11-27 18:12:45 +01:00
gpl.texi
htmlfontify.texi Merge from origin/emacs-28 2022-08-23 06:30:36 +02:00
idlwave.texi ; Fix typos 2022-11-22 02:24:20 +01:00
ido.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
info.texi Allow searching for regexps with a prefix 2022-04-21 17:05:23 +02:00
mairix-el.texi ; Fix typos 2022-11-22 02:24:20 +01:00
Makefile.in * doc/misc/Makefile.in (need_emacsver): Add use-package. 2022-12-14 00:36:30 +01:00
message.texi ; Fix typos 2022-11-22 02:24:20 +01:00
mh-e.texi ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
modus-themes.org ; Fix typos (prefer US spelling) 2022-11-18 13:06:55 +01:00
newsticker.texi ; Fix quoting of non-nil in texinfo sources 2022-10-27 13:11:47 +02:00
nxml-mode.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
octave-mode.texi Improve and extend documentation of ElDoc 2022-10-21 16:10:08 +03:00
org-setup.org Update to Org 9.6-3-ga4d38e 2022-11-29 23:05:53 -05:00
org.org Update to Org 9.6-49-g47d129 2022-12-17 17:28:27 -05:00
pcl-cvs.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
pgg.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
rcirc.texi Fix typo in rcirc variable name 2022-12-16 08:02:17 +01:00
reftex.texi ; Fix typos 2022-11-18 16:02:19 +01:00
remember.texi ; Delete commented out reference to ancient org-mode 2022-10-15 13:06:45 +02:00
sasl.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sc.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sem-user.texi Improve and extend documentation of ElDoc 2022-10-21 16:10:08 +03:00
semantic.texi ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
ses.texi ; Fix typos (prefer US spelling) 2022-11-18 13:06:55 +01:00
sieve.texi ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
smtpmail.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
speedbar.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
srecode.texi ; Fix typos 2022-11-20 12:59:39 +01:00
texinfo.tex Update from Gnulib by running admin/merge-gnulib 2022-11-26 10:56:53 -08:00
todo-mode.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
tramp.texi Tramp cleanup 2022-11-29 17:00:02 +01:00
trampver.texi Tramp cleanup 2022-11-29 17:00:02 +01:00
transient.texi Update to Transient v0.3.7-182-gfe7dcbd 2022-11-30 21:34:05 +01:00
url.texi ; Fix quoting of non-nil in texinfo sources 2022-10-27 13:11:47 +02:00
use-package.texi use-package.texi: New section "Manual installation" 2022-12-12 08:45:40 +01:00
vhdl-mode.texi ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
vip.texi ; Fix typos 2022-11-18 16:02:19 +01:00
viper.texi Merge from origin/emacs-28 2022-09-08 23:35:04 +02:00
vtable.texi * doc/misc/vtable.texi (Commands): Fix typo. (Bug#56899) 2022-08-03 01:20:51 +02:00
widget.texi Revert "Decrease use of the word "Emacsen" in docs" 2022-10-01 22:34:47 +02:00
wisent.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
woman.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00