emacs-devel
[Top][All Lists]
Advanced

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

Re: RMAIL slows


From: Stefan Monnier
Subject: Re: RMAIL slows
Date: Fri, 06 May 2005 13:32:14 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> ... Can you go to the RMAIL buffer and try something like
>> (length (save-restriction (widen) (overlays-in (point-min) (point-max))))
>> 6128
>     How many did you expect?
> Under 1000.  Now my RMAIL has slowed even more and I have 13604 overlays.

Looks like it may be the culprit.  Could you try and take a look at those
overlays to see what they look like?
If you just

  (pp (save-restriction (widen) (overlays-in (point-min) (point-max)))
      (get-buffer-create "*overlays*"))

and then look at the *overlays* buffer, you should be able to see the
start/end points of those overlays, so you can at least see if
they're empty.  You maybe also want to check whether some/many of them seem
to be piled up one of top of the other.

Further than that you'll have to use `overlay-properties' on some of
those overlays to get an idea of where they come from and what they're
supposed to do.


        Stefan




reply via email to

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