GNU bug report logs - #44665
28.0.50; enhancement proposal: to have term run command with arguments

Previous Next

Package: emacs;

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


Message #11 received at 44665 <at> debbugs.gnu.org (full text, mbox):

From: Jean Louis <bugs <at> gnu.support>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 44665 <at> debbugs.gnu.org, Jean Louis <bugs <at> gnu.support>
Subject: Re: bug#44665: 28.0.50; enhancement proposal: to have term run
 command with arguments
Date: Mon, 16 Nov 2020 14:12:28 +0300
* Michael Albinus <michael.albinus <at> gmx.de> [2020-11-16 12:28]:
> 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.

Aha, yes, that way works well. Thank you. Closing.













-- 
There are 43 messages yet in my incoming mailbox.




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.