GNU bug report logs -
#44665
28.0.50; enhancement proposal: to have term run command with arguments
Previous Next
Reported by: Jean Louis <bugs <at> gnu.support>
Date: Sun, 15 Nov 2020 19:46:02 UTC
Severity: wishlist
Tags: notabug
Found in version 28.0.50
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Jean Louis <bugs <at> 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 <at> anywhere") or whatever arguments
you prefer.
Best regards, Michael.
This bug report was last modified 4 years and 243 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.