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 16:50:19 -0400 Message-ID: References: <85ll7m8nbq.fsf@gnu.org> <87r7gln4r1.fsf-monnier+emacs@gnu.org> <87psw4gt8x.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 1115412996 21682 80.91.229.2 (6 May 2005 20:56:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 May 2005 20:56:36 +0000 (UTC) Cc: ihs_4664@yahoo.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 06 22:56:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DU9rh-0001Rt-Dk for ged-emacs-devel@m.gmane.org; Fri, 06 May 2005 22:56:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DU9zU-0008Na-2Q for ged-emacs-devel@m.gmane.org; Fri, 06 May 2005 17:04:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DU9se-0004uW-Um for emacs-devel@gnu.org; Fri, 06 May 2005 16:57:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DU9sd-0004ti-71 for emacs-devel@gnu.org; Fri, 06 May 2005 16:57:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DU9rR-0003iZ-Ft for emacs-devel@gnu.org; Fri, 06 May 2005 16:55:49 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DU9rZ-00006p-DR for emacs-devel@gnu.org; Fri, 06 May 2005 16:55:57 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id CCCAA34000B; Fri, 6 May 2005 16:50:24 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 3E3494AC008; Fri, 6 May 2005 16:50:20 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 17CA5E6C20; Fri, 6 May 2005 16:50:20 -0400 (EDT) Original-To: bob@rattlesnake.com In-Reply-To: (Robert J. Chassell's message of "Fri, 6 May 2005 18:49:37 +0000 (UTC)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.84, requis 5, autolearn=not spam, AWL 0.06, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:36778 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36778 > 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. > Here is part of what I see: > # # # # #) > These overlap dramatically. Not only they overlap but they're empty. Would 2144619 happen to be at/near the end of the RMAIL buffer (or at/near the last position of the buffer every displayed)? Maybe we just need to make goto-address mark its overlay with the `evaporate' propert so they disappear as soon as they beomce empty. I doubt it's going to be sufficient, bu it may be a good start. Stefan --- orig/lisp/net/goto-addr.el +++ mod/lisp/net/goto-addr.el @@ -165,6 +165,7 @@ (this-overlay (make-overlay s e))) (and goto-address-fontify-p (overlay-put this-overlay 'face goto-address-url-face)) + (overlay-put this-overlay 'evaporate t) (overlay-put this-overlay 'mouse-face goto-address-url-mouse-face) (overlay-put this-overlay @@ -179,6 +180,7 @@ (this-overlay (make-overlay s e))) (and goto-address-fontify-p (overlay-put this-overlay 'face goto-address-mail-face)) + (overlay-put this-overlay 'evaporate t) (overlay-put this-overlay 'mouse-face goto-address-mail-mouse-face) (overlay-put this-overlay