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: Mon, 09 Feb 2004 09:59:29 +0200 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87llncn0nx.fsf@mail.jurta.org> 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 1076314780 27427 80.91.224.253 (9 Feb 2004 08:19:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2004 08:19:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Feb 09 09:19:32 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 1Aq6df-0004kP-00 for ; Mon, 09 Feb 2004 09:19:31 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aq6df-0005PY-00 for ; Mon, 09 Feb 2004 09:19:31 +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 1Aq6Yt-0005D6-21 for emacs-devel@quimby.gnus.org; Mon, 09 Feb 2004 03:14:35 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Aq6YK-0005BU-UP for emacs-devel@gnu.org; Mon, 09 Feb 2004 03:14:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Aq6Xo-0004za-GS for emacs-devel@gnu.org; Mon, 09 Feb 2004 03:13:59 -0500 Original-Received: from [66.33.219.6] (helo=knife.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Aq6TC-0002CE-QZ for emacs-devel@gnu.org; Mon, 09 Feb 2004 03:08:42 -0500 Original-Received: from mail.jurta.org (80-235-32-31-dsl.mus.estpak.ee [80.235.32.31]) by knife.dreamhost.com (Postfix) with ESMTP id 469D3E4038; Mon, 9 Feb 2004 00:08:39 -0800 (PST) Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "08 Feb 2004 11:56:15 -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:19815 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19815 Stefan Monnier writes: > 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? I think it's better to always show all options (except perhaps some system-dependent options filtered out at compile-time like --no-shared-memory as you suggested earlier). The --help message is needed for users to quickly look at all options before starting Emacs, and fastest way to show it to the user is as a static text. After Emacs is started the user can consult the Emacs manual for full descriptions of all options. > 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. Your proposal looks like a new Emacs command that will collect a list of available options from different Emacs packages and show it to the user in an Emacs buffer or to stderr when called in batch mode. This might produce more correct option list but it is much slower than current static --help message and should not replace it. -- http://www.jurta.org/emacs/