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

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita <at> gmail.com>

Date: Fri, 25 Jul 2014 15:21:02 UTC

Severity: wishlist

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18105 in the body.
You can then email your comments to 18105 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#18105; Package emacs. (Fri, 25 Jul 2014 15:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Carlos Pita <carlosjosepita <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 25 Jul 2014 15:21:02 GMT) Full text and rfc822 format available.

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

From: Carlos Pita <carlosjosepita <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: term, ansi-term: allow to pass arguments to command
Date: Fri, 25 Jul 2014 12:19:34 -0300
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).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18105; Package emacs. (Wed, 11 May 2022 15:11:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Carlos Pita <carlosjosepita <at> gmail.com>
Cc: 18105 <at> debbugs.gnu.org
Subject: Re: bug#18105: term, ansi-term: allow to pass arguments to command
Date: Wed, 11 May 2022 17:10:47 +0200
Carlos Pita <carlosjosepita <at> 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




bug marked as fixed in version 29.1, send any further explanations to 18105 <at> debbugs.gnu.org and Carlos Pita <carlosjosepita <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 11 May 2022 15:11:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Jun 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.