bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25670: Feature request: ignore --help in --script mode


From: Clément Pit--Claudel
Subject: bug#25670: Feature request: ignore --help in --script mode
Date: Thu, 9 Feb 2017 16:00:59 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

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: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]