1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-07 23:10:28 -08:00
emacs/lisp/eshell
Tony Zorman f2aae8b879 eshell-next-prompt: More precisely navigate to the prompt (bug#63748)
* lisp/eshell/em-prompt.el (eshell-next-prompt): Navigate to the
current prompt more accurately by using text properties instead of
going to the beginning of the line.  This is important for multiline
prompts, as they don't necessarily start at the beginning of the
current line.

* test/lisp/eshell/em-prompt-tests.el
(em-prompt-test--with-multiline):
Execute a given body with a multiline prompt.

(em-prompt-test/next-previous-prompt-with):
(em-prompt-test/forward-backward-matching-input-with):
Helper functions for code reuse.

(em-prompt-test/forward-backward-matching-input):
(em-prompt-test/next-previous-prompt):
Rewrite in terms of the appropriate helper functions.

(em-prompt-test/next-previous-prompt-multiline):
(em-prompt-test/forward-backward-matching-input-multiline):
Add multiline variants of existing tests.
2023-06-15 09:40:12 -07:00
..
em-alias.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-banner.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-basic.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-cmpl.el Avoid parsing some Eshell forms when performing completion 2023-03-28 12:03:29 -07:00
em-dirs.el Fix expansion of globs that contain a ~USER reference 2023-03-27 21:04:27 -07:00
em-elecslash.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-extpipe.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
em-glob.el Use t for non-nil default values in boolean defcustom declarations 2023-04-28 15:03:47 +02:00
em-hist.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
em-ls.el Use connection-aware functions when getting the UID/GID in Eshell 2023-05-02 21:28:34 -07:00
em-pred.el Use connection-aware functions when getting the UID/GID in Eshell 2023-05-02 21:28:34 -07:00
em-prompt.el eshell-next-prompt: More precisely navigate to the prompt (bug#63748) 2023-06-15 09:40:12 -07:00
em-rebind.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-script.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-smart.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
em-term.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-tramp.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-unix.el Use connection-aware functions when getting the UID/GID in Eshell 2023-05-02 21:28:34 -07:00
em-xtra.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
esh-arg.el Add support for completing special references (e.g. buffers) in Eshell 2023-03-11 18:49:28 -08:00
esh-cmd.el Fix using background commands in 'eshell-command' 2023-04-02 15:05:53 -07: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 ; Throw strings as the values for 'eshell-incomplete' 2023-02-23 14:09:36 -08:00
esh-module.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
esh-opt.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
esh-proc.el ; Add tests for synchronous processes in Eshell 2023-04-02 14:15:45 -07:00
esh-util.el Use connection-aware functions when getting the UID/GID in Eshell 2023-05-02 21:28:34 -07:00
esh-var.el Simplify parsing subcommands slightly 2023-03-28 12:02:46 -07:00
eshell.el Use the 'interactive' spec to set arguments for 'eshell-command' 2023-04-02 15:05:53 -07:00