From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#20682: 25.0.50; Enable users to combine --script and --quick Date: Thu, 28 May 2015 16:30:19 -0400 Message-ID: References: <878uc8pzyc.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1432845081 12505 80.91.229.3 (28 May 2015 20:31:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 May 2015 20:31:21 +0000 (UTC) Cc: Michael Heerdegen , 20682@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 28 22:31:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yy4SM-0005bE-Vw for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 May 2015 22:31:11 +0200 Original-Received: from localhost ([::1]:60661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yy4SM-0002Gp-23 for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 May 2015 16:31:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yy4SI-0002Dv-7j for bug-gnu-emacs@gnu.org; Thu, 28 May 2015 16:31:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yy4SH-0008Fs-C2 for bug-gnu-emacs@gnu.org; Thu, 28 May 2015 16:31:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yy4SH-0008Fl-9F for bug-gnu-emacs@gnu.org; Thu, 28 May 2015 16:31:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yy4SG-0007I6-Cz for bug-gnu-emacs@gnu.org; Thu, 28 May 2015 16:31:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 May 2015 20:31:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20682 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20682-submit@debbugs.gnu.org id=B20682.143284502927156 (code B ref 20682); Thu, 28 May 2015 20:31:04 +0000 Original-Received: (at 20682) by debbugs.gnu.org; 28 May 2015 20:30:29 +0000 Original-Received: from localhost ([127.0.0.1]:59832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yy4Re-00073U-01 for submit@debbugs.gnu.org; Thu, 28 May 2015 16:30:27 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:35697 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yy4RY-00072H-Q1 for 20682@debbugs.gnu.org; Thu, 28 May 2015 16:30:22 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Yy4RX-0006cG-G9; Thu, 28 May 2015 16:30:19 -0400 X-Spook: undercover bank Bruxelles Mahmoud Ahmadinejad AK-47 X-Ran: hCQzCkq%YLu*72Ip6s;>yIuhG$Ek}&ZY+X<$!$yF#`V$K{!v$OEV! (Stefan Monnier's message of "Thu, 28 May 2015 14:48:04 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103284 Archived-At: Stefan Monnier wrote: > OTOH I'd be happy to see a new argument that lets you provide various > args as one. E.g. "emacs --args=-Q,--script" which would be more > generally useful to deal with the limit of only one arg in shebang. > Given the size limit of shebang lines, we'd also want this extra arg to > be shortish. > > An alternative would be to combine --args and --script, so you could > say "emacs --script=-Q" to get what you're asking for. Apparently it's somewhat conventional (perl, ruby) to use "-x" for this purpose. A nice write-up at https://github.com/smikes/node/blob/minus-x-switch/doc/Minus-X-Switch-Proposal.md Amazingly, "-x" is available as an Emacs command-line switch... Personally, I'd probably just use a trivial shell wrapper script.