1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-11 09:21:23 -07:00
emacs/doc/misc
Pengji Zhang 3959ea6644 Rework history Isearch for Eshell
This is to make history Isearch for Eshell similar to that of
'comint-mode', by hooking into Isearch properly instead of
defining new commands to emulate Isearch (bug#74287).

* lisp/eshell/em-hist.el (eshell-history-isearch): New user
option.
(eshell-goto-history, eshell--isearch-setup)
(eshell-history-isearch-end, eshell-history-isearch-search)
(eshell-history-isearch-message, eshell-history-isearch-wrap)
(eshell-history-isearch-push-state): New functions.
(eshell-isearch-backward-regexp, eshell-isearch-forward-regexp):
New commands.
(eshell--history-isearch-message-overlay)
(eshell--stored-incomplete-input, eshell--force-history-isearch):
New internal variables.
(eshell-hist-mode-map): Bind 'M-r' to
'eshell-isearch-backward-regexp' and free 'M-s' binding for
normal in-buffer search commands.
(eshell-isearch-backward, eshell-isearch-forward): Use the new
way to start searching.
(eshell-hist-initialize): Use the new Isearch setup function.
(eshell-previous-matching-input): Use 'eshell-goto-history'.
Also inhibit messages when searching.
(eshell-isearch-map, eshell-isearch-repeat-backward)
(eshell-isearch-abort, eshell-isearch-delete-char)
(eshell-isearch-return, eshell-isearch-cancel)
(eshell-isearch-repeat-forward, eshell-test-imatch)
(eshell-return-to-prompt, eshell-prepare-for-search): Remove.
These are for the old history Isearch implementation.

* doc/misc/eshell.texi (History): Document changes.

* etc/NEWS: Annouce changes.
2024-12-11 11:56:45 -08:00
..
auth.texi
autotype.texi
bovine.texi
calc.texi
cc-mode.texi CC Mode manual: Better document lines starting with a label 2024-12-01 19:46:16 +00:00
ChangeLog.1
cl.texi
dbus.texi
dired-x.texi
doclicense.texi
ebrowse.texi
ede.texi
ediff.texi
edt.texi
efaq-w32.texi
efaq.texi Merge from origin/emacs-30 2024-10-19 07:01:20 -04:00
eglot.texi Eglot: minor changes to doc and docstrings 2024-10-09 06:26:27 -05:00
eieio.texi ; Fix typos 2024-10-27 07:49:32 +01:00
emacs-gnutls.texi
emacs-mime.texi
epa.texi ; Improve documentation of 'epa-mail-verify' 2024-12-04 15:21:13 +02:00
erc.texi Backport: Don't autoload erc-modules 2024-11-16 08:17:46 -08:00
ert.texi
eshell.texi Rework history Isearch for Eshell 2024-12-11 11:56:45 -08:00
eudc.texi
eww.texi
flymake.texi
forms.texi
gnus-faq.texi
gnus.texi
gpl.texi
htmlfontify.texi
idlwave.texi
ido.texi
info.texi
mairix-el.texi
Makefile.in
message.texi
mh-e.texi
modus-themes.org ; Fix typos 2024-11-21 10:06:19 +01:00
newsticker.texi
nxml-mode.texi
octave-mode.texi
org-setup.org
org.org
pcl-cvs.texi
pgg.texi
rcirc.texi
reftex.texi
remember.texi
sasl.texi
sc.texi
sem-user.texi
semantic.texi
ses.texi
sieve.texi
smtpmail.texi
speedbar.texi
srecode.texi
texinfo.tex
todo-mode.texi
tramp.texi ; * doc/misc/tramp.texi (Frequently Asked Questions): Minor edits. 2024-11-26 18:01:38 +01:00
trampver.texi
transient.texi
url.texi
use-package.texi Document issues with 'use-package's ':custom' and byte compilation 2024-11-09 11:55:49 +02:00
vhdl-mode.texi
viper.texi
vtable.texi Update vtable documentation 2024-11-09 12:14:39 +02:00
widget.texi
wisent.texi
woman.texi