* eshell !foo expansion
@ 2024-10-09 17:46 Christopher Howard
0 siblings, 0 replies; only message in thread
From: Christopher Howard @ 2024-10-09 17:46 UTC (permalink / raw)
To: Emacs Devel Mailing List; +Cc: Jim Porter
Hi, I've been combing through the Emacs 30 Eshell manual, as I find the time. I like the !foo expansion syntax, which is very handy. However, I was wondering if there could be some function and keystroke added to expand the token immediately, so you could see the expansion before actually submitting the entire line to eshell. You might want to do this if, say, you weren't 100% sure that you are really calling up the desired history command, or perhaps you just want to make a slight tweak to the recalled command before running it.
The natural keystroke would be TAB, but that would conflict with preview complete, which is happening at the same time, so I'm not sure what would be best. Maybe just an interactive function would be enough.
--
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 http://gem.librehacker.com
בראשית ברא אלהים את השמים ואת הארץ
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-09 17:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-09 17:46 eshell !foo expansion Christopher Howard
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).