bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18105: term, ansi-term: allow to pass arguments to command


From: Lars Ingebrigtsen
Subject: bug#18105: term, ansi-term: allow to pass arguments to command
Date: Wed, 11 May 2022 17:10:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Carlos Pita <carlosjosepita@gmail.com> writes:

> It's a somewhat surprising limitation that M-x term doesn't take
> further (optional) command line parameters to pass to `PROGRAM`. The
> underlying workhorse functions do take a `switches` parameters, so
> this is more of a frontend matter than a real limitation in term.el.
> Please change the interactive functions `term` and `ansi-term` to take
> further arguments to be passed to exec. This would be a simple change,
> backwards compatible and more Unix-friendly (I can't think of a
> command apart from its arguments).

I've now done this in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]