From: Christopher Howard <christopher@librehacker.com>
To: Emacs Devel Mailing List <emacs-devel@gnu.org>
Cc: Jim Porter <jporterbugs@gmail.com>
Subject: eshell !foo expansion
Date: Wed, 09 Oct 2024 09:46:51 -0800 [thread overview]
Message-ID: <87msjdp3sk.fsf@librehacker.com> (raw)
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
בראשית ברא אלהים את השמים ואת הארץ
reply other threads:[~2024-10-09 17:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87msjdp3sk.fsf@librehacker.com \
--to=christopher@librehacker.com \
--cc=emacs-devel@gnu.org \
--cc=jporterbugs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).