From 9f6d79dd967294317aa51801c5edaaf30f644120 Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Fri, 7 Jul 2023 17:30:26 -0700 Subject: [PATCH] Document some missing Eshell commands Do not merge to master. This is a backport of f7a899d7ca0. * doc/misc/eshell.texi (Built-ins): Document 'eshell-debug'. (Extra built-in commands): Document 'count', 'ff', and 'gf'. --- doc/misc/eshell.texi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi index 9680d246af9..58b8e4365d9 100644 --- a/doc/misc/eshell.texi +++ b/doc/misc/eshell.texi @@ -575,6 +575,14 @@ Prints the current environment variables. Unlike in Bash, this command does not yet support running commands with a modified environment. +@item eshell-debug +@cmindex eshell-debug +Toggle debugging information for Eshell itself. You can pass this +command the argument @code{errors} to enable/disable Eshell trapping +errors when evaluating commands, or the argument @code{commands} to +show/hide command execution progress in the buffer @code{*eshell last +cmd*}. + @item exit @cmindex exit Exit Eshell and save the history. By default, this command kills the @@ -2046,11 +2054,27 @@ add @code{eshell-xtra} to @code{eshell-modules-list}. @table @code +@item count +@cmindex count +A wrapper around the function @code{cl-count} (@pxref{Searching +Sequences,,, cl, GNU Emacs Common Lisp Emulation}). This command can +be used for comparing lists of strings. + @item expr @cmindex expr An implementation of @command{expr} using the Calc package. @xref{Top,,, calc, The GNU Emacs Calculator}. +@item ff +@cmindex ff +Shorthand for the the function @code{find-name-dired} (@pxref{Dired +and Find, , , elisp, The Emacs Lisp Reference Manual}). + +@item gf +@cmindex gf +Shorthand for the the function @code{find-grep-dired} (@pxref{Dired +and Find, , , elisp, The Emacs Lisp Reference Manual}). + @item intersection @cmindex intersection A wrapper around the function @code{cl-intersection} (@pxref{Lists as -- 2.39.2