From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: RMAIL slows Date: Fri, 06 May 2005 13:32:14 -0400 Message-ID: <87psw4gt8x.fsf-monnier+emacs@gnu.org> References: <85ll7m8nbq.fsf@gnu.org> <87r7gln4r1.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115401030 12118 80.91.229.2 (6 May 2005 17:37:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 May 2005 17:37:10 +0000 (UTC) Cc: Kevin Rodgers , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 06 19:37:05 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DU6kO-0007Vt-72 for ged-emacs-devel@m.gmane.org; Fri, 06 May 2005 19:36:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DU6s9-0007WK-5I for ged-emacs-devel@m.gmane.org; Fri, 06 May 2005 13:44:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DU6io-0001Cz-FV for emacs-devel@gnu.org; Fri, 06 May 2005 13:34:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DU6il-0001Ao-AB for emacs-devel@gnu.org; Fri, 06 May 2005 13:34:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DU6ii-00017L-TQ for emacs-devel@gnu.org; Fri, 06 May 2005 13:34:36 -0400 Original-Received: from [209.226.175.4] (helo=tomts16-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DU6ll-0003D2-H6 for emacs-devel@gnu.org; Fri, 06 May 2005 13:37:45 -0400 Original-Received: from alfajor ([67.71.26.61]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050506173215.JEHJ27508.tomts16-srv.bellnexxia.net@alfajor>; Fri, 6 May 2005 13:32:15 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 0538ED72F6; Fri, 6 May 2005 13:32:15 -0400 (EDT) Original-To: bob@rattlesnake.com In-Reply-To: (Robert J. Chassell's message of "Fri, 6 May 2005 15:34:40 +0000 (UTC)") 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:36762 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36762 >> ... 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