From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Newsgroups: gmane.emacs.bugs Subject: bug#25671: Feature request: emacs -Q --script as a single binary Date: Fri, 10 Feb 2017 15:21:33 -0500 Message-ID: <52b9f11d-85eb-a8bd-7155-b781baaeb4ac@live.com> References: <4d463814-5439-da70-d3af-b9e603121f8a@live.com> <83lgte4hto.fsf@gnu.org> <372ac0e0-a3d1-70ba-efe0-2e1519088c57@live.com> <831sv63x8b.fsf@gnu.org> <83shnm2dai.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rDwfcl0MSXtnMUGwQ4M3tNrtUXPGtULiU" X-Trace: blaine.gmane.org 1486758140 14505 195.159.176.226 (10 Feb 2017 20:22:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2017 20:22:20 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 Cc: 25671@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 10 21:22:14 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 1ccHhs-0003G0-7l for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Feb 2017 21:22:12 +0100 Original-Received: from localhost ([::1]:45805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccHhx-0006dA-FE for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Feb 2017 15:22:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccHhp-0006Zl-If for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 15:22:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccHhk-0005TC-L1 for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 15:22:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36831) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ccHhk-0005Rs-I4 for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 15:22:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ccHhi-0004js-6W for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 15:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Feb 2017 20:22:02 +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.148675810318185 (code B ref 25671); Fri, 10 Feb 2017 20:22:02 +0000 Original-Received: (at 25671) by debbugs.gnu.org; 10 Feb 2017 20:21:43 +0000 Original-Received: from localhost ([127.0.0.1]:35029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccHhP-0004jF-73 for submit@debbugs.gnu.org; Fri, 10 Feb 2017 15:21:43 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.133]:61021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccHhN-0004iw-Ou for 25671@debbugs.gnu.org; Fri, 10 Feb 2017 15:21:42 -0500 Original-Received: from [18.26.2.123] ([18.26.2.123]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.168]) with ESMTPSA (Nemesis) id 0MN912-1cVi7j1l5k-006hrE; Fri, 10 Feb 2017 21:21:35 +0100 In-Reply-To: <83shnm2dai.fsf@gnu.org> X-Provags-ID: V03:K0:d5T1chIb3dQvGg+owNhMtUAqMlqc/oWvjShg3ShcIFI5Fu+1GC4 SNIGjsyTE6kdEaTumRzsV6ZkPJ2C7OeooIFwAw48YkzfznGvdC8wLGdkCW+4cIoYfMG1TZ9 mnbDPZOy0PtE1p9wksG2PA47uBD1ICkobjZN2W2Twqk8nj5+JvwTj/pfJDisTxEbOrMaeJ1 QqR8rJ01Gor3n4GyL6aXg== X-UI-Out-Filterresults: notjunk:1;V01:K0:aqZh8f9E4l4=:joHHEIfE5AHgmEKd6bOzyr ZlK4fLsuUPAkz4S1e8dKVORMSV4B1rWHgG7tSW9bbxUez/KYSHP7drJ9sFlKVW+m7CLHKgiEn hjRobn12BadjlANztv62K5+IEClqDv1exi2zWdDQvWxKRagfnQzPUf3JWwI2mZmGh/aznp5Xp 7Hd9OsKGgq5S8lfcvg73naTG+jCV2VGM8Ni9erf9G1cpqgiZAqHsuNdxct6fpagfIH8LqR7cP 3LCDeNbRn1RA92vU9+Bsz+Hdjtq7EtZgpEnNslNKqxNksDYEGUnAXCpVUBituoWLdtsU968Ev ERFT488eoWOx63Y0FcOQIUK5vd5Ro+tYR4oo6sev3VI6aFGUVQuu9YED1tvEdNbHoq1IIjXkI mN0Y54BmDk1ipUvaV12ZGhmhHGO26Rn9Lmu+0YQ+HJii9K4FTl6IP7ZaH70pXESdB5+qLmI9Q Tp5t7GM0XtK+EDg+vsvn/kYpoPj0J9rKokZRTOFhpwxYOeGApALxuN3Q3hCTw5jSTMneBLeNM /EUQJAN9wldSOS5KZ80/GdhA7MzRDnJ97YkW73SRw+LwGDjyQ2mUKwKEStyjyRxkId4DdPNEI T2S5Z2dkN9d10hpCBpkeFo9zLgj2Gv/vHOIUsuMFR9+m5cDbNeNjROVtw/LoZenUvjGRBN8AE ++oQM2OFZXhapZHQ9aM0yibXEiD7GFmBgp2j4i3iJKjSr+4ahxQwnnAOprk0m2wIXsdc= 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:129217 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rDwfcl0MSXtnMUGwQ4M3tNrtUXPGtULiU Content-Type: multipart/mixed; boundary="QjoKUPWghKxv0oOUlBAtabcxB0puK89gf"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: Eli Zaretskii Cc: 25671@debbugs.gnu.org Message-ID: <52b9f11d-85eb-a8bd-7155-b781baaeb4ac@live.com> Subject: Re: bug#25671: Feature request: emacs -Q --script as a single binary References: <4d463814-5439-da70-d3af-b9e603121f8a@live.com> <83lgte4hto.fsf@gnu.org> <372ac0e0-a3d1-70ba-efe0-2e1519088c57@live.com> <831sv63x8b.fsf@gnu.org> <83shnm2dai.fsf@gnu.org> In-Reply-To: <83shnm2dai.fsf@gnu.org> --QjoKUPWghKxv0oOUlBAtabcxB0puK89gf Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2017-02-10 11:58, Eli Zaretskii wrote: >> Cc: 25671@debbugs.gnu.org >> From: Cl=C3=A9ment Pit--Claudel >> Date: Fri, 10 Feb 2017 11:45:55 -0500 >> >>>>> I believe changing the program behavior depending on how it was nam= ed >>>>> in the command that invoked it is against GNU coding standards. >>>> >>>> What about providing elisp or emacs-script as a separate binary? >>> >>> What about it? >> >> Would that be OK? Could it work? >=20 > Yes, it will. Although distributing two large binaries might be > overkill. (All that just to make shell scripts slightly simpler?) Right; that's why I thought the "two possible names for the same binary" = approach was nice :/ It would make it possible to run elisp command line programs in Windows w= ithout a batch script wrapper, and it would make these scripts nicer in G= NU/Linux and macOS. But arguably that's still a limited benefit. If the= re's no way to reuse the Emacs binary (that is, if there's no way to make= "elisp" just be a wrapper around "emacs"), then I think we should close = this issue. Cheers, Cl=C3=A9ment. --QjoKUPWghKxv0oOUlBAtabcxB0puK89gf-- --rDwfcl0MSXtnMUGwQ4M3tNrtUXPGtULiU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYniDNAAoJEPqg+cTm90wjReAQAJUcMsgLntU+2kodgXfCeYZY rlShye/DRWMsXY7nHCFgS5as2AjHGDJ56vrTGmRKUgS1XuoA90mNzK4zBO5xDJHx lrSYWg9CLfOUjtF8bCr0bB2ymrBteHPCMTjqbChq+uYJi2VJNMkKf/5bdfXhFBsF aGBFS7wsbtUMdDwtvcadH92e+t3+Ed7cGD7dQ1JMQYn2QJBHKRVxUIYKq4ihqIt8 A4UGaLQ6xpxIai7LXoB09HkwGAIbRAMiq7AZ7vabkfGNK/qMzHKm4MApjF4a9LZI /c6TVK6Ab5rib4hKY94xm6W8/xA49+wVeXPoEsUWeKnicKFpbLleG7/OZMdcW556 SPFsp0+jNjSXWtHqZ7TTVuVvAK+HzFx0afBq24ssXquoIqmoxUajgsBhU7gBGqgE 6A0QW6aZMCQmF2BYpisgXAmh2B9l1pENayfsz1JV8TIf0ryhtfsvWcqnkrKOlJAh NpUDnVO8/xnVMqKu+dQTt86nYiI2e3LRxV+X/WviY9t1yPobvLPHpa7RcnFUamwf qqx62Mb+kFl3in9We1Up1/GwOMl+IIrQFNPL2v8nQlQcF67mHhTq+fIg8q5jQCbW /vgN+PlrkqBNZnKqlg74tpXlOUFYXSBAEsI2+OSrYNUb+i3MTsl251KpQUGorE+p /+wMwHx14VK6QxBWuMdV =PBSH -----END PGP SIGNATURE----- --rDwfcl0MSXtnMUGwQ4M3tNrtUXPGtULiU--