From: "Clément Pit--Claudel" <clement.pitclaudel@live.com>
To: 25670@debbugs.gnu.org
Subject: bug#25670: Feature request: ignore --help in --script mode
Date: Thu, 9 Feb 2017 16:00:59 -0500 [thread overview]
Message-ID: <e374c522-3912-913d-347e-6aa0ba2253d9@live.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 619 bytes --]
Hi bug-gnu-emacs,
Event with --script, Emacs still displays its help when passed --help. This is confusing for users (they might write emacs --script some-script.el --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 Emacs' help?
More generally, could we guarantee that options that appear *after* "--script" aren't processed by Emacs itself (and instead left to the script)? Or would that break things?
Thanks!
Clément.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2017-02-09 21:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 21:00 Clément Pit--Claudel [this message]
2017-02-10 4:40 ` bug#25670: Feature request: ignore --help in --script mode Glenn Morris
2017-02-10 15:05 ` Ted Zlatanov
2017-02-10 16:52 ` Clément Pit--Claudel
2017-02-10 17:36 ` Glenn Morris
2017-02-10 20:23 ` Clément Pit--Claudel
2017-02-18 9:59 ` Eli Zaretskii
2017-02-18 13:46 ` Clément Pit--Claudel
2017-02-18 14:18 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e374c522-3912-913d-347e-6aa0ba2253d9@live.com \
--to=clement.pitclaudel@live.com \
--cc=25670@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.