1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-23 21:13:52 -08:00
emacs/doc/misc
Jim Porter db745f37ae Follow POSIX/GNU argument conventions for 'eshell-eval-using-options'
* lisp/eshell/esh-opt.el (eshell--split-switch): New function.
(eshell-set-option): Allow setting a supplied value instead of always
consuming from 'eshell--args'.
(eshell--process-option): Support consuming option values specified as
a single token.
(eshell--process-args): For short options, pass full switch token to
'eshell--process-option'.

* test/lisp/eshell/esh-opt-tests.el (esh-opt-process-args-test): Fix
test.
(test-eshell-eval-using-options): Add tests for various types of
options.

* doc/misc/eshell.texi (Defining new built-in commands): New
subsection, describe how to use 'eshell-eval-using-options'.

* etc/NEWS: Announce the change.
2022-01-12 16:58:37 +02:00
..
auth.texi Update for the recent change 2022-01-10 20:52:20 -05:00
autotype.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
bovine.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
calc.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cc-mode.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
ChangeLog.1 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cl.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
dbus.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dired-x.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
doclicense.texi
ebrowse.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ede.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
ediff.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
edt.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
efaq-w32.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
efaq.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
eieio.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
emacs-gnutls.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
emacs-mime.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
epa.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
erc.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
ert.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
eshell.texi Follow POSIX/GNU argument conventions for 'eshell-eval-using-options' 2022-01-12 16:58:37 +02:00
eudc.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
eww.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
flymake.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
forms.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gnus-coding.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gnus-faq.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gnus.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
gpl.texi
htmlfontify.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
idlwave.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
ido.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
info.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
mairix-el.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
Makefile.in Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
message.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
mh-e.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
modus-themes.org Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
newsticker.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
nxml-mode.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
octave-mode.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
org-setup.org ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org.org ; Copyright year fixes 2022-01-01 10:02:17 -08: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 recent changes in rcirc documentation 2022-01-06 18:53:45 +02:00
reftex.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
remember.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05: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 Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
semantic.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ses.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sieve.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05: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 Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
texinfo.tex Update from gnulib 2022-01-04 13:17:25 -08:00
todo-mode.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
tramp.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
trampver.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
url.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
vhdl-mode.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
vip.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
viper.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
widget.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05: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