From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Proposal: emacs -Q option Date: Sun, 08 Feb 2004 09:19:19 +0200 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87wu6yujeo.fsf@mail.jurta.org> References: <87ad3y6l2a.fsf@mail.jurta.org> <9003-Thu05Feb2004211456+0200-eliz@elta.co.il> <87wu6znx3a.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 1076225164 20325 80.91.224.253 (8 Feb 2004 07:26:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Feb 2004 07:26:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Feb 08 08:25:58 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 1ApjKI-0003vD-00 for ; Sun, 08 Feb 2004 08:25:58 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ApjKH-0003Jq-00 for ; Sun, 08 Feb 2004 08:25:58 +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 1ApjHG-0003cf-JV for emacs-devel@quimby.gnus.org; Sun, 08 Feb 2004 02:22:50 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ApjHB-0003bp-79 for emacs-devel@gnu.org; Sun, 08 Feb 2004 02:22:45 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ApjGe-0003At-5R for emacs-devel@gnu.org; Sun, 08 Feb 2004 02:22:44 -0500 Original-Received: from [66.33.219.6] (helo=knife.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ApjGd-0003AA-Qv for emacs-devel@gnu.org; Sun, 08 Feb 2004 02:22:11 -0500 Original-Received: from mail.jurta.org (80-235-34-181-dsl.mus.estpak.ee [80.235.34.181]) by knife.dreamhost.com (Postfix) with ESMTP id EE10FE402C; Sat, 7 Feb 2004 23:22:08 -0800 (PST) Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "07 Feb 2004 18:16:26 -0500") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) 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:19798 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19798 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. -- http://www.jurta.org/emacs/