1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00
emacs/lisp/eshell
Jim Porter c257fd3a40 Use the 'field' property to navigate through Eshell prompts
* lisp/eshell/esh-mode.el (eshell-skip-prompt-function): Make
obsolete.

* lisp/eshell/em-prompt.el (eshell-prompt-regexp): Update docstring.
(eshell-prompt-initialize): Don't set 'eshell-skip-prompt-function'.
(eshell-next-prompt): Search for the 'field' property set to 'prompt'
to find the next prompt.
(eshell-previous-prompt): Move 'forward-line' call into
'eshell-next-prompt'.
(eshell-forward-matching-input, eshell-backward-matching-input):
Reimplement on top of 'eshell-next-prompt'.
(eshell-skip-prompt): Make obsolete.

* test/lisp/eshell/em-prompt-tests.el
(em-prompt-test/next-previous-prompt): New test.
2023-01-14 11:13:42 -08:00
..
em-alias.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-banner.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-basic.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-cmpl.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-dirs.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-elecslash.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-extpipe.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-glob.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-hist.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-ls.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-pred.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-prompt.el Use the 'field' property to navigate through Eshell prompts 2023-01-14 11:13:42 -08:00
em-rebind.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-script.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-smart.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-term.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-tramp.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-unix.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-xtra.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-arg.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-cmd.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-ext.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-io.el Set the 'field' property for Eshell output 2023-01-14 11:09:02 -08:00
esh-mode.el Use the 'field' property to navigate through Eshell prompts 2023-01-14 11:13:42 -08:00
esh-module.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-opt.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-proc.el Set the 'field' property for Eshell output 2023-01-14 11:09:02 -08:00
esh-util.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-var.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
eshell.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00