1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
emacs/lisp/eshell
Jim Porter 9199fa00ca Add support for completing special references (e.g. buffers) in Eshell
* lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments): Handle
special references.

* lisp/eshell/em-arg.el (eshell-parse-special-reference): Ensure point
is just after the "#<" when incomplete, and handle backslash escapes
more thoroughly.
(eshell-complete-special-reference): New function.

* test/lisp/eshell/esh-arg-tests.el
(esh-arg-test/special-reference/default)
(esh-arg-test/special-reference/buffer)
(esh-arg-test/special-reference/special):
* test/lisp/eshell/em-cmpl-tests.el
(em-cmpl-test/special-ref-completion/type)
(em-cmpl-test/special-ref-completion/implicit-buffer)
(em-cmpl-test/special-ref-completion/buffer): New tests.
2023-03-11 18:49:28 -08: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 Add support for completing special references (e.g. buffers) in Eshell 2023-03-11 18:49:28 -08:00
em-dirs.el ; Return t or nil for 'test-completion' of Eshell user references 2023-02-23 15:13:38 -08: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 ; Throw strings as the values for 'eshell-incomplete' 2023-02-23 14:09:36 -08:00
em-hist.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
em-ls.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
em-pred.el ; Throw strings as the values for 'eshell-incomplete' 2023-02-23 14:09:36 -08:00
em-prompt.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08: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 Merge from origin/emacs-29 2023-01-01 05:47:47 -05: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 ; Throw strings as the values for 'eshell-incomplete' 2023-02-23 14:09:36 -08: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 Ensure that Eshell users can run lines of command output as input 2023-02-09 22:32:51 -08:00
esh-util.el Ensure that Eshell users can run lines of command output as input 2023-02-09 22:32:51 -08:00
esh-var.el Be more cautious in completing Eshell variable assignments 2023-02-25 20:38:55 -08:00
eshell.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00