1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 00:31:01 -08: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 * doc/misc/auth.texi: Minor copy edits. 2024-09-13 00:18:37 +02:00
autotype.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
bovine.texi ; Fix bad references to other manuals 2024-08-25 13:59:22 +03:00
calc.texi ; Fix bad references to other manuals 2024-08-25 13:59:22 +03:00
cc-mode.texi CC Mode manual: Better document lines starting with a label 2024-12-01 19:46:16 +00:00
ChangeLog.1 Update Arni Magnusson's email address 2024-10-05 02:30:41 +02:00
cl.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
dbus.texi ; Fix bad references to other manuals 2024-08-25 13:59:22 +03:00
dired-x.texi ; Fix markup in recent change to dired-x.texi. 2024-03-23 20:17:01 +01:00
doclicense.texi
ebrowse.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
ede.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
ediff.texi Add Ediff feature for copying all differences 2024-09-11 10:44:25 +02:00
edt.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
efaq-w32.texi Standardize possessive apostrophe usage in manuals, docs, and comments 2024-07-25 03:35:18 +02:00
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 ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
emacs-mime.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
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 Improve documentation of ERT 2024-08-15 11:30:48 +03:00
eshell.texi Rework history Isearch for Eshell 2024-12-11 11:56:45 -08:00
eudc.texi ; Fix bad references to other manuals 2024-08-25 13:59:22 +03:00
eww.texi Slice images based on their height in SHR, not their zoom level 2024-07-04 12:14:37 -07:00
flymake.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
forms.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
gnus-faq.texi Correctly typeset nil and t in texinfo 2024-07-22 10:14:51 +02:00
gnus.texi ; Fix typos 2024-08-29 00:17:10 +02:00
gpl.texi
htmlfontify.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
idlwave.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
ido.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
info.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
mairix-el.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
Makefile.in Delete some libraries obsolete since Emacs 24.4/24.5 2024-09-30 03:28:17 +02:00
message.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
mh-e.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
modus-themes.org ; Fix typos 2024-11-21 10:06:19 +01:00
newsticker.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
nxml-mode.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
octave-mode.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
org-setup.org ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
org.org Update FSF's address 2024-09-02 21:02:09 +02:00
pcl-cvs.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
pgg.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rcirc.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
reftex.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
remember.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sasl.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sc.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
sem-user.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
semantic.texi ; Fix typos 2024-07-18 11:46:50 +02:00
ses.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
sieve.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
smtpmail.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
speedbar.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
srecode.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
texinfo.tex Update from Gnulib by running admin/merge-gnulib 2024-02-14 22:05:06 -08:00
todo-mode.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
tramp.texi ; * doc/misc/tramp.texi (Frequently Asked Questions): Minor edits. 2024-11-26 18:01:38 +01:00
trampver.texi Remove Emacs 27 compatibility from Tramp 2024-07-24 15:25:55 +02:00
transient.texi ; Set Transient's version and add admin/MAINTAINERS entry 2024-09-14 19:23:40 +02:00
url.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
use-package.texi Document issues with 'use-package's ':custom' and byte compilation 2024-11-09 11:55:49 +02:00
vhdl-mode.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
viper.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
vtable.texi Update vtable documentation 2024-11-09 12:14:39 +02:00
widget.texi ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
wisent.texi ; Fix bad references to other manuals 2024-08-25 13:59:22 +03:00
woman.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00