From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Proposal: emacs -Q option Date: 08 Feb 2004 11:56:15 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87ad3y6l2a.fsf@mail.jurta.org> <9003-Thu05Feb2004211456+0200-eliz@elta.co.il> <87wu6znx3a.fsf@mail.jurta.org> <87wu6yujeo.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1076259507 8888 80.91.224.253 (8 Feb 2004 16:58:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Feb 2004 16:58:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Feb 08 17:58:17 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ApsG9-0006Mw-00 for ; Sun, 08 Feb 2004 17:58:17 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ApsG9-00006R-00 for ; Sun, 08 Feb 2004 17:58:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ApsF5-0002Yk-R5 for emacs-devel@quimby.gnus.org; Sun, 08 Feb 2004 11:57:11 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ApsEl-0002YT-1H for emacs-devel@gnu.org; Sun, 08 Feb 2004 11:56:51 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ApsEE-0002IL-7w for emacs-devel@gnu.org; Sun, 08 Feb 2004 11:56:50 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ApsED-0002II-Ta for emacs-devel@gnu.org; Sun, 08 Feb 2004 11:56:17 -0500 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 37734213CE; Sun, 8 Feb 2004 11:56:16 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 023548C708; Sun, 8 Feb 2004 11:56:15 -0500 (EST) Original-To: Juri Linkov In-Reply-To: <87wu6yujeo.fsf@mail.jurta.org> Original-Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-0.908, requis 5, BAYES_10 -0.91) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19805 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19805 > Stefan Monnier writes: >> This said, I really think the --help text should be generated more >> dynamically to match the exact set of args accepted by the executed Emacs. > There is one disadvantage to dynamically generated option list: it > will require to start Emacs completely to generate correct option > list. For instance, look at the --no-desktop option processed in the > desktop.el file: it can add own option to the option list correctly > only when .emacs file with (desktop-save-mode 1) is loaded, desktop.el > is loaded, and desktop.el finds a saved desktop file. Otherwise, > showing this option to the user makes no sense. Huh? Where's the disadvantage exactly? You mean it's better to never show the option (even if the user does have the above things in his .emacs) or to always show it? To me the whole point of making it dynamic is that it can take into account local config changes (in site-start.el and in .emacs). Of course when called with `-q --help' it might return something different than with just `--help', but that's the whole point. Stefan