emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs -Q not documented


From: Kim F. Storm
Subject: Re: emacs -Q not documented
Date: Wed, 06 Apr 2005 09:14:15 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> 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 <address@hidden> http://www.cua.dk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]