From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Proposal: emacs -Q option Date: Thu, 5 Feb 2004 08:33:08 +0000 (GMT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1075972371 6663 80.91.224.253 (5 Feb 2004 09:12:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2004 09:12:51 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Feb 05 10:12:44 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 1AofYy-0006hc-00 for ; Thu, 05 Feb 2004 10:12:44 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AofYy-0002YR-00 for ; Thu, 05 Feb 2004 10:12:44 +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 1AofWp-0004To-7a for emacs-devel@quimby.gnus.org; Thu, 05 Feb 2004 04:10:31 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AofWO-0004Q0-71 for emacs-devel@gnu.org; Thu, 05 Feb 2004 04:10:04 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AofVl-000470-7K for emacs-devel@gnu.org; Thu, 05 Feb 2004 04:09:56 -0500 Original-Received: from [193.149.49.134] (helo=acm.acm) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AofVj-00045i-So for emacs-devel@gnu.org; Thu, 05 Feb 2004 04:09:24 -0500 Original-Received: from localhost (root@localhost) by acm.acm (8.8.8/8.8.8) with SMTP id IAA00298 for ; Thu, 5 Feb 2004 08:33:10 GMT X-Sender: root@acm.acm Original-To: emacs-devel@gnu.org In-Reply-To: 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:19734 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19734 On 5 Feb 2004, Eli Zaretskii wrote: >> From: no-spam@cua.dk (Kim F. Storm) >> Date: 05 Feb 2004 02:42:44 +0100 >> emacs -q --no-site-file --no-splash >> --eval '(blink-cursor-mode -1)' >> --eval '(tool-bar-mode -1)' >> --eval '(scroll-bar-mode -1)' >> --eval '(tooltip-mode -1)' >> --eval '(setq visible-bell t)' >> (the last line is because the audible bell drives me crazy). >> I propose to add a -Q option which is equivalent to this, i.e. >> emacs -Q >> does the same thing as the above call. >IMHO, using -Q for "-q --no-site-file" is fine, but adding all the other >turn-offs makes this switch too heavily loaded. Why does it make sense >to combine "-q --no-site-file", which basically means ``defeat all >local deviations from the defaults'' with the rest, which disable fancy >features? And what does visible-bell setting have to do with turning >off features? >I'd say let's make two options, one for "-q --no-site-file", the other >for --no-splash and the --eval options mentioned above, excluding the >visible-bell one. I'd say, make a command-line "user option" instead or as well. After all, Emacs is supposed to be user configurable. Say, -U or -U"string". This would set a variable `option-U' to the string (or t) before running .emacs (or, possibly site-start.el?). So, starting emacs with `emacs -U"v"' could partner up with this in one's .emacs: (when option-U (blink-cursor-mode -1) (tool-bar-mode -1) (scroll-bar-mode -1) (tooltip-mode -1)) (if (equal option-U "v") (setq visible-bell t)) -- Alan Mackenzie (Munich, Germany)