From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25671: Feature request: emacs -Q --script as a single binary Date: Fri, 10 Feb 2017 09:37:39 +0200 Message-ID: <83lgte4hto.fsf@gnu.org> References: <4d463814-5439-da70-d3af-b9e603121f8a@live.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1486712293 17585 195.159.176.226 (10 Feb 2017 07:38:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2017 07:38:13 +0000 (UTC) Cc: 25671@debbugs.gnu.org To: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 10 08:38:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cc5mQ-00049j-BV for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Feb 2017 08:38:06 +0100 Original-Received: from localhost ([::1]:42357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc5mV-00006n-TD for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Feb 2017 02:38:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc5mP-00006W-6C for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 02:38:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cc5mM-0003cT-3G for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 02:38:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35530) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cc5mM-0003cO-0c for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 02:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cc5mL-00007v-Ns for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 02:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Feb 2017 07:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25671 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25671-submit@debbugs.gnu.org id=B25671.1486712263454 (code B ref 25671); Fri, 10 Feb 2017 07:38:01 +0000 Original-Received: (at 25671) by debbugs.gnu.org; 10 Feb 2017 07:37:43 +0000 Original-Received: from localhost ([127.0.0.1]:33729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cc5m3-00007G-58 for submit@debbugs.gnu.org; Fri, 10 Feb 2017 02:37:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cc5m1-000073-7W for 25671@debbugs.gnu.org; Fri, 10 Feb 2017 02:37:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cc5ls-0003T0-Qt for 25671@debbugs.gnu.org; Fri, 10 Feb 2017 02:37:35 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc5ls-0003Sw-NS; Fri, 10 Feb 2017 02:37:32 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4492 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cc5lr-0007P9-Ue; Fri, 10 Feb 2017 02:37:32 -0500 In-reply-to: <4d463814-5439-da70-d3af-b9e603121f8a@live.com> (message from =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel on Thu, 9 Feb 2017 16:14:41 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:129181 Archived-At: > From: Clément Pit--Claudel > Date: Thu, 9 Feb 2017 16:14:41 -0500 > > Could we set up emacs to assume --script and possibly -Q when started as "elisp", or "emacs-script", or some other name (that is, could we make it so that invoking emacs with argv[0] = ".../elisp" starts emacs -Q --script)? (And ideally Emacs would ignore all options after the script's name, to let the script itself process them). I believe changing the program behavior depending on how it was named in the command that invoked it is against GNU coding standards.