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#25670: Feature request: ignore --help in --script mode Date: Thu, 9 Feb 2017 16:00:59 -0500 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BWPlmguwRF4pR4gaMxs9PH9CaDOUXdtFT" X-Trace: blaine.gmane.org 1486674136 16853 195.159.176.226 (9 Feb 2017 21:02:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2017 21:02:16 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 To: 25670@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 09 22:02:10 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 1cbvqz-00046E-Ln for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Feb 2017 22:02:09 +0100 Original-Received: from localhost ([::1]:40219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbvr5-0007lQ-75 for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Feb 2017 16:02:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbvqx-0007lE-DP for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 16:02:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbvqs-0002nx-JV for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 16:02:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35292) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbvqs-0002nt-Fx for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 16:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cbvqs-0005IX-5c for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 16:02: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: Thu, 09 Feb 2017 21:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25670 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148667409820336 (code B ref -1); Thu, 09 Feb 2017 21:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Feb 2017 21:01:38 +0000 Original-Received: from localhost ([127.0.0.1]:33491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbvqU-0005Hw-Hv for submit@debbugs.gnu.org; Thu, 09 Feb 2017 16:01:38 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbvqT-0005Hj-0s for submit@debbugs.gnu.org; Thu, 09 Feb 2017 16:01:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbvqM-0002l4-W2 for submit@debbugs.gnu.org; Thu, 09 Feb 2017 16:01:31 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49538) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cbvqM-0002l0-TJ for submit@debbugs.gnu.org; Thu, 09 Feb 2017 16:01:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbvqL-000704-TC for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 16:01:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbvqH-0002kY-3J for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 16:01:29 -0500 Original-Received: from mout.kundenserver.de ([217.72.192.74]:60961) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbvqG-0002k1-P3 for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 16:01:25 -0500 Original-Received: from [18.111.113.197] ([18.111.113.197]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.184]) with ESMTPSA (Nemesis) id 0Mg7K1-1coE4N2CLV-00NUGq for ; Thu, 09 Feb 2017 22:01:22 +0100 X-Provags-ID: V03:K0:u7CQnmfZQriUp0UelXWuUXyI+WkjrUHVwouRPlkN9QQhD9uK1Cd dK7B/dGeBb+3CqFH9Pq3A4dgR5wDqLjVScjRGPlNxJ0WfLnby8EbGYMlF4M0zYsk50unF0k vIZ7O0Fa388+F418W0i7i/0Ks7cbjmPjWWURrp8rbKMdEZ2QeVeuK7gMsz/uu/QJR8B6MdT 12pFzvYJ6DuyzoB/87jWA== X-UI-Out-Filterresults: notjunk:1;V01:K0:76PXlr4p1Oo=:pHsAuq/QvNMk6055WSPl+P 6QXsqP8JLpIibfbHj8zAfNKqG/XZhYKTX7oDZn6kfyOoeCyvNU2iuYHUlFN9Bpy/lND8BaEvm pcd96Cvq9L6ZoHTytsdJ/Q+yjaGx9q2zWslQbo8Cg4phyBjezPT3CwOtZoeJ25gcaHuSh6AiZ FAQv1v0mvaO0CBtLgTqaE8xb5w8+O2v9FM93ayiJT5K/PAHADv4xjotHV3PZo0sU9EsjfzC8V z8bSk7rgj3a+NKP9iU6uN/txWfwOi273NIWkyD3PnVD5xffeOIN1CUdqRU7cKKXVqWk0zF+Yn uubsH71OTHCackA8mr+1/RG4jwEEYGa0La6onAOVowQhf1Upbg+Yy7fUgEZpCpN9pQvkNypg8 g01QU9Wnx/9R/Oi0/U3Zpf95JN6zdsv7r8JYR2edAPdhNQUxhQbdO43NGc8HsmpfB5Ow5eRYQ nqeIJPSQN4H7LT6VvGbtRiUatNOc7LxTGYYbxUO08+kRlBfst2ecwHsGxVJ+bTmjJDkB9dF8Y 0Hs+5YQi8uZbDeXBCEnjhKLdN3PiXxH6kfukg6zz3IumOtsOVzi443GoUAR/osAIc7ZMshsVd arF1at0aMU1m608ogB2HypIhUncnobFE7o5JIS8TX8hOU/SpjP+kBcu8DVG8kcayiv/Sicjzh 2hYIf9BjJjg8YnWEeiNn3d8iFk0ozoLCw+TPiEAgMRaRaJ8524UeY+celk/BQIDHKayA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:129161 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BWPlmguwRF4pR4gaMxs9PH9CaDOUXdtFT Content-Type: multipart/mixed; boundary="HxepK7wKRBnWFUtsFkJUispBuIFt6etRA"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: bug-gnu-emacs@gnu.org Message-ID: Subject: Feature request: ignore --help in --script mode --HxepK7wKRBnWFUtsFkJUispBuIFt6etRA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi bug-gnu-emacs, Event with --script, Emacs still displays its help when passed --help. T= his is confusing for users (they might write emacs --script some-script.e= l --help expecting to get help on the script, but instead they get Emacs'= help), and it force ELisp scripts to use --usage or some other harder-to= -guess synonym. Could this be changed so that emacs --script a.el --help does not show Em= acs' help? More generally, could we guarantee that options that appear *after* "--sc= ript" aren't processed by Emacs itself (and instead left to the script)? = Or would that break things? Thanks! Cl=C3=A9ment. --HxepK7wKRBnWFUtsFkJUispBuIFt6etRA-- --BWPlmguwRF4pR4gaMxs9PH9CaDOUXdtFT 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 iQIcBAEBCAAGBQJYnNiLAAoJEPqg+cTm90wjVhwP/R7J+g1updA0+cHCYNdDWbmi Qb5847qGCyCCkRLRpKk8zPwmOe8Jl5Uq0h0QtAS3YYLiFbGQ09J2pL3r6L+/OJSF AE2JnOjLuSl5o4zb37/zID6pBTv6zSVVa2+yHlBviqWJkB52H984kfXgiEs7bdHJ 7Nh9Z6kRy/fzuExKGcnpzAA6OcDztt3F6Ogki2h9tqtHGgOVxnuD6cldLUC1IdPa EY0kdEzJlg0ZSY/VH1atcvegX05yzU/Ie5aG7VtrZzYLmR11j9wR205ncAt0oquj uDFgztndwYxK6SM9tnzVte0WUuxEHHEB6k+0Xw8daKQ8k++3yWsjXN+rSldJ7zTd PzdFqdr9pSRtqbyIFnCVZ3e9qUjga1F4wPBolVxPl8KnQUuUJFq7RrM6wSRzf8ca v/98m1DG5a4FUCajbwbWsOKNM3oEBHW4izBYrw5ggag2U22yKXdOAiqz0yM9OYdM MXwvJRmfXg5JB+s1KjnWFaBHvposcU+tZn50IZFUgkNZnZ1Z5KzUv2njJMbrQuTv fJx9WOcyBUJogz2l8sneU8r7oWRDdvjjeIy+qqZeO+iw7NHsX9cyXYLqAhK79T7b CI78xfvSm/wHg6yW9s0RjW/gbUYZdkfaHLcCglFz16GhkunnOBklSZW5Is7m/5ir vKpgGDJwOglNoDV6erXe =63JF -----END PGP SIGNATURE----- --BWPlmguwRF4pR4gaMxs9PH9CaDOUXdtFT--