From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: RMAIL slows Date: Fri, 6 May 2005 18:49:37 +0000 (UTC) Message-ID: References: <85ll7m8nbq.fsf@gnu.org> <87r7gln4r1.fsf-monnier+emacs@gnu.org> <87psw4gt8x.fsf-monnier+emacs@gnu.org> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1115406325 31620 80.91.229.2 (6 May 2005 19:05:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 May 2005 19:05:25 +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 21:05:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DU87z-0003oV-3X for ged-emacs-devel@m.gmane.org; Fri, 06 May 2005 21:04:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DU8Fk-00074h-ST for ged-emacs-devel@m.gmane.org; Fri, 06 May 2005 15:12:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DU8Ae-0004hP-E2 for emacs-devel@gnu.org; Fri, 06 May 2005 15:07:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DU8Ac-0004g0-8e for emacs-devel@gnu.org; Fri, 06 May 2005 15:07:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DU86L-0002b8-Ms for emacs-devel@gnu.org; Fri, 06 May 2005 15:03:05 -0400 Original-Received: from [69.168.108.225] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DU7yz-0001bk-P2 for emacs-devel@gnu.org; Fri, 06 May 2005 14:55:30 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Fri, 6 May 2005 18:49:37 +0000 (UTC) Original-To: Stefan Monnier In-reply-to: <87psw4gt8x.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Fri, 06 May 2005 13:32:14 -0400) 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:36772 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36772 Stefan Monnier suggested 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. Here is part of what I see: # # # # #) These overlap dramatically. 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. OK. The following (pp (save-restriction (widen) (overlay-properties (car (overlays-in 2144619 2144619)))) (get-buffer-create "*overlays-1*")) shows this: (goto-address t keymap (keymap (3 keymap (13 . goto-address-at-point)) (mouse-2 . goto-address-at-mouse)) help-echo "mouse-2, C-c RET: mail this address" mouse-face secondary-selection face italic) which is the same as looking at the `nth 2' and `nth 6' overlays. I do have the following in my .emacs file: (add-hook 'rmail-show-message-hook 'goto-address) When I comment that out and start a fresh instance of Emacs, I see just this in my *overlays* buffer for the same RMAIL file on the same message: (# #) These overlays do not overlap. Moreover, (pp (save-restriction (widen) (overlay-properties (car (overlays-in (point-min) (point-max))))) (get-buffer-create "*overlays*")) shows (face bold) which is the same as for `nth 1'. -- Robert J. Chassell bob@rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.rattlesnake.com http://www.teak.cc