Files
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
..
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-10-19 07:01:20 -04:00
2024-10-27 07:49:32 +01:00
2024-07-21 17:35:13 +02:00
2024-11-16 08:17:46 -08:00
2024-08-15 11:30:48 +03:00
2024-12-11 11:56:45 -08:00
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-08-29 00:17:10 +02:00
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-07-21 17:35:13 +02:00
2024-01-02 10:28:14 +08:00
2024-11-21 10:06:19 +01:00
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-09-02 21:02:09 +02:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-07-18 11:46:50 +02:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-07-21 17:35:13 +02:00
2024-01-02 10:28:14 +08:00
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-11-09 12:14:39 +02:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00