From 1c1a82bbedf2a70d97e266d403ba6c45cc139c9b Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Thu, 24 Nov 2022 17:22:53 -0800 Subject: [PATCH] ; Fix up some NEWS entries for Eshell * etc/NEWS (Incompatible changes in Emacs 29.1): Move an entry from here... (Changes in Specialized Modes and Packages in Emacs 29.1): ... to here. Additionally, improve wording of another entry to be more precise. --- etc/NEWS | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 13f21381246..7b64752f46c 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -371,11 +371,6 @@ node in the Eshell manual for more details. *** Eshell pipelines now only pipe stdout by default. To pipe both stdout and stderr, use the '|&' operator instead of '|'. -*** New eshell built-in command 'doas'. -The privilege-escalation program 'doas' has been added to the existing -'su' and 'sudo' commands from the 'eshell-tramp' module. The external -command may still be accessed by using '*doas'. - --- ** The 'delete-forward-char' command now deletes by grapheme clusters. This command is by default bound to the function key @@ -2729,6 +2724,12 @@ example, you can now redirect both stdout and stderr via '&>' or duplicate one output handle to another via 'NEW-FD>&OLD-FD'. For more information, see the "(eshell) Redirection" node in the Eshell manual. ++++ +*** New eshell built-in command 'doas'. +The privilege-escalation program 'doas' has been added to the existing +'su' and 'sudo' commands from the 'eshell-tramp' module. The external +command may still be accessed by using '*doas'. + +++ *** Double-quoting an Eshell expansion now treats the result as a single string. If an Eshell expansion like '$FOO' is surrounded by double quotes, the @@ -2765,10 +2766,11 @@ symlinks in the latter case). +++ *** Lisp forms in Eshell now treat a 'nil' result as a failed exit status. -When executing a command that looks like '(lisp form)', Eshell will -set the exit status (available in the '$?' variable) to 2. This -allows commands like that to be used as conditionals. To change this -behavior, customize the new 'eshell-lisp-form-nil-is-failure' option. +When executing a command that looks like '(lisp form)' and returns +'nil', Eshell will set the exit status (available in the '$?' +variable) to 2. This allows commands like that to be used in +conditionals. To change this behavior, customize the new +'eshell-lisp-form-nil-is-failure' option. ** Shell -- 2.39.2