emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: 100% CPU load for (mouse-wheel...


From: Stefan
Subject: Re: 100% CPU load for (mouse-wheel...
Date: Wed, 13 Oct 2004 21:27:08 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin)

> I have experienced 100% CPU load with Emacs, when it is off-screen.
> Exactly, when you are not typing more that cca 3 sec, emacs become
> busy. When Emacs is out of focus or in focus, but not typing, about
> 3 sec is in 100% load, then 1 sec without load and loop repeats. When
> you start typing again, you have to wait about for 4 sec for freeing
> cursor.

This is usually due to jit-lock-stealth which does font-locking in the
background when Emacs is idle.  Try (setq jit-lock-stealth-time nil)
in your .emacs (that's what I use and I recommend it if you're running on
battery or if your CPU is not dedicated solely to Emacs).

> Experimenting with my setting, it seems, that problem disappears after
> commenting out following .emacs settings:

>  '(mouse-wheel-follow-mouse t)
>  '(mouse-wheel-mode t nil (mwheel))

It's odd that those would make any difference.


        Syefan




reply via email to

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