diff options
| author | Jim Porter <jporterbugs@gmail.com> | 2023-10-09 20:25:28 -0700 |
|---|---|---|
| committer | Jim Porter <jporterbugs@gmail.com> | 2023-10-24 12:28:00 -0700 |
| commit | 64aa01f60ad17af2bd438895a19343f3c369bc43 (patch) | |
| tree | 8d9f118fe7eed99a55c50b848b61aa264c9d5fcd /etc/NEWS | |
| parent | 69e8333210ae678407d6a5ba647657cc301932b7 (diff) | |
| download | emacs-64aa01f60ad17af2bd438895a19343f3c369bc43.tar.gz | |
Add a new Eshell special reference type for markers
* lisp/eshell/esh-arg.el (eshell-get-marker, eshell-insert-marker)
(eshell-complete-marker-ref): New functions...
(eshell-special-ref-alist): ... Add them to the new "marker" entry.
* test/lisp/eshell/esh-arg-tests.el
(esh-arg-test/special-reference/marker)
(esh-arg-test/special-reference/nested)
(esh-arg-test/special-reference/lisp-form):
* test/lisp/eshell/em-cmpl-tests.el
(em-cmpl-test/special-ref-completion/type)
(em-cmpl-test/special-ref-completion/marker): New tests.
* doc/misc/eshell.texi (Arguments): Document the new special ref type.
* etc/NEWS: Announce this change (bug#66458).
Diffstat (limited to 'etc/NEWS')
| -rw-r--r-- | etc/NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -431,6 +431,14 @@ For more information, see the "(eshell) Built-ins" node in the Eshell manual. +++ +*** New special reference type '#<marker POSITION BUFFER>'. +This special reference type returns a marker at 'POSITION' in +'BUFFER'. You can insert it by typing or using the new interactive +command 'eshell-insert-marker'. You can also insert markers of any +type with the new command 'eshell-insert-special-reference'. See the +"(eshell) Arguments" node in the Eshell manual for more details. + ++++ *** New splice operator for Eshell dollar expansions. Dollar expansions in Eshell now let you splice the elements of the expansion in-place using '$@expr'. This makes it easier to fill lists |
