From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: RMAIL slows Date: Thu, 05 May 2005 15:46:09 -0400 Message-ID: References: <85ll7m8nbq.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1115322798 26770 80.91.229.2 (5 May 2005 19:53:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 May 2005 19:53:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 05 21:53:16 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DTmOA-0005j1-R2 for ged-emacs-devel@m.gmane.org; Thu, 05 May 2005 21:52:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DTmVk-0004IM-Fg for ged-emacs-devel@m.gmane.org; Thu, 05 May 2005 15:59:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DTmL8-0003WR-9A for emacs-devel@gnu.org; Thu, 05 May 2005 15:48:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DTmL3-0003TV-RQ for emacs-devel@gnu.org; Thu, 05 May 2005 15:48:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DTmL0-0003KA-7Y for emacs-devel@gnu.org; Thu, 05 May 2005 15:48:46 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DTmO6-0002bo-7T for emacs-devel@gnu.org; Thu, 05 May 2005 15:51:58 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DTmIT-00014Q-Fe; Thu, 05 May 2005 15:46:09 -0400 Original-To: bob@rattlesnake.com In-reply-to: (bob@rattlesnake.com) 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:36724 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36724 I put a breakpoint in `adjust_markers_for_delete' and looped at least 8 times. Well, this suggests it is a matter of the number of markers. I suggest you look at the chain of markers for (m = BUF_MARKERS (current_buffer); m; m = m->next) and see how long it is. (You could do that by setting a breakpoint in the loop that silently executes a command such as set $count++ and setting $count to 0 before the loop. At the end of the loop you can examine $count.) If the problem is due to an accumulation of markers, the question is why. The markers clearly are not dead, or they'd be GC'd. They must be used in some data structure. If you can determine what structure, we could fix this. Maybe the only way to find it is to look thru rmail to see what makes markers and puts them into data structures.