all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#18105: term, ansi-term: allow to pass arguments to command
@ 2014-07-25 15:19 Carlos Pita
  2022-05-11 15:10 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos Pita @ 2014-07-25 15:19 UTC (permalink / raw)
  To: 18105

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).





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#18105: term, ansi-term: allow to pass arguments to command
  2014-07-25 15:19 bug#18105: term, ansi-term: allow to pass arguments to command Carlos Pita
@ 2022-05-11 15:10 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-11 15:10 UTC (permalink / raw)
  To: Carlos Pita; +Cc: 18105

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-11 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-25 15:19 bug#18105: term, ansi-term: allow to pass arguments to command Carlos Pita
2022-05-11 15:10 ` Lars Ingebrigtsen

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.