From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Proposal: emacs -Q option Date: 05 Feb 2004 13:41:44 +0100 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 1075981495 24804 80.91.224.253 (5 Feb 2004 11:44:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2004 11:44:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Feb 05 12:44:47 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 1Aohw7-0006vz-00 for ; Thu, 05 Feb 2004 12:44:47 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aohw6-00067m-00 for ; Thu, 05 Feb 2004 12:44:47 +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 1Aohvq-0005vx-1i for emacs-devel@quimby.gnus.org; Thu, 05 Feb 2004 06:44:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Aohuh-0005oP-AY for emacs-devel@gnu.org; Thu, 05 Feb 2004 06:43:19 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AohtM-0004oq-NA for emacs-devel@gnu.org; Thu, 05 Feb 2004 06:42:28 -0500 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.24) id 1AohtJ-0004iC-MO for emacs-devel@gnu.org; Thu, 05 Feb 2004 06:41:53 -0500 Original-Received: (qmail 24129 invoked from network); 5 Feb 2004 11:41:50 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 5 Feb 2004 11:41:50 -0000 Original-To: Eli Zaretskii In-Reply-To: Original-Lines: 64 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:19741 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19741 Eli Zaretskii writes: > > 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. Makes sense, so ok, -Q was a bad choice... > 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? I think I explained _WHY_ I want a single, easy-to-type, option: When I work on debugging redisplay related problems in emacs (I seem to be doing that quite a lot), I usually need to start emacs with as few display elements (like tool-bars, menu-bar, scroll-bars, etc) as possible, as well as not loading any of the various init files, > And what does visible-bell setting > have to do with turning off features? Nothing, which I indicated by this comment: (the last line is because the audible bell drives me crazy). and unfortunately, no, Linux cannot control the volume of the built-in speaker in my notebook. > > 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. Yes, indeed, we can add all sorts of new options which add new functionalities or combines other options, such as -Q meaning load no user or site defaults at all (including X resources?). But my requirement was an option which makes life easier for me as a GNU Emacs developer trying to debug redisplay related problems. So if -Q isn't the right option for that, what other simple option can I use? -K perhaps :-) -- Kim F. Storm http://www.cua.dk