From: Michael Albinus <michael.albinus@gmx.de>
To: Jean Louis <bugs@gnu.support>
Cc: 44665@debbugs.gnu.org
Subject: bug#44665: 28.0.50; enhancement proposal: to have term run command with arguments
Date: Mon, 16 Nov 2020 10:28:16 +0100 [thread overview]
Message-ID: <87o8jx1wi7.fsf@gmx.de> (raw)
In-Reply-To: <courier.000000005FB18553.00007103@static.rcdrun.com>
Jean Louis <bugs@gnu.support> writes:
Hi,
> Currently I am using many times both M-x ansi-term or term and also
> dynamic module M-x vterm and I have this function for vterm:
>
> (defun run-with-vterm (command)
> "Runs command with vterm"
> (let ((vterm-kill-buffer-on-exit t)
> (buffer (format "Running within vterm: %s" command))
> (vterm-shell command))
> (vterm buffer)))
>
> That helps me to quickly open maildirs belonging to specific users for
> review. I can also invoke full string as command to `vterm-shell`.
>
> I am proposing that term and ansi-term also get the possibility to
> easier invoke full command.
eshell comes to mind. Internally, it uses term.el for interactive
commands like mutt. You can call simply it like
(eshell-command "mutt -s blabla anyone@anywhere") or whatever arguments
you prefer.
Best regards, Michael.
next prev parent reply other threads:[~2020-11-16 9:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-15 19:45 bug#44665: 28.0.50; enhancement proposal: to have term run command with arguments Jean Louis
2020-11-16 9:28 ` Michael Albinus [this message]
2020-11-16 11:12 ` Jean Louis
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o8jx1wi7.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=44665@debbugs.gnu.org \
--cc=bugs@gnu.support \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.