From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: emacs -Q not documented Date: Wed, 06 Apr 2005 09:14:15 +0200 Message-ID: References: <20050329.162832.71106586.wl@gnu.org> <20050402.084718.31638992.wl@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112771731 4066 80.91.229.2 (6 Apr 2005 07:15:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2005 07:15:31 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 06 09:15:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJ4l0-0000U2-VA for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2005 09:15:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJ4K4-0005gR-8h for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2005 02:47:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DJ4Hu-00057i-Vh for emacs-devel@gnu.org; Wed, 06 Apr 2005 02:45:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJ4Hu-00057H-RT for emacs-devel@gnu.org; Wed, 06 Apr 2005 02:45:18 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1DJ4ka-0001jo-Gn for emacs-devel@gnu.org; Wed, 06 Apr 2005 03:14:56 -0400 Original-Received: (qmail 13884 invoked from network); 6 Apr 2005 07:14:31 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 6 Apr 2005 07:14:32 -0000 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 05 Apr 2005 23:02:41 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:35610 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35610 Richard Stallman writes: > It is intended to be an option turn off all "extra features". > > On what criterion are these features "extra"? They are various "decorations" to the basic Emacs frame or functionality. Turning them off, skips over a fairly big (and complex) part of internal redisplay code (e.g. building menu and tool bars which may run quite a deal of lisp code). > > But most important, running emacs -Q when debugging redisplay problems > makes it much easier to know what's going on. > > Why does the blinking cursor relate to this? It means running timers and async Lisp code, and triggers redisplay which may influense how a bug in redisplay manifests itself on the screen. Furthermore, it means you cannot just put a breakpoint on (or anywhere inside) redisplay_internal and then execute some code to generate a specific error... The blinking cursor timer will trigger that breakpoint every second, making it practically impossible to debug such problems. The -Q option has saved me many hours debugging rediplay problems! -- Kim F. Storm http://www.cua.dk