From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Emacs looping Date: Wed, 07 May 2008 01:42:18 +0200 Message-ID: <4820ECDA.5050201@gmail.com> References: <4820E7ED.1030100@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210117360 18392 80.91.229.12 (6 May 2008 23:42:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2008 23:42:40 +0000 (UTC) To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 07 01:43:15 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JtWoV-000696-0c for ged-emacs-devel@m.gmane.org; Wed, 07 May 2008 01:43:15 +0200 Original-Received: from localhost ([127.0.0.1]:53144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtWnm-0002PB-VF for ged-emacs-devel@m.gmane.org; Tue, 06 May 2008 19:42:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JtWni-0002Oc-Vu for emacs-devel@gnu.org; Tue, 06 May 2008 19:42:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JtWnh-0002NV-A0 for emacs-devel@gnu.org; Tue, 06 May 2008 19:42:26 -0400 Original-Received: from [199.232.76.173] (port=46216 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtWnh-0002NS-3f for emacs-devel@gnu.org; Tue, 06 May 2008 19:42:25 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JtWng-0006p7-Dl for emacs-devel@gnu.org; Tue, 06 May 2008 19:42:24 -0400 Original-Received: from c83-254-150-27.bredband.comhem.se ([83.254.150.27]:61279 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JtWne-0007fS-5K for emacs-devel@gnu.org; Wed, 07 May 2008 01:42:22 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <4820E7ED.1030100@gmail.com> X-Antivirus: avast! (VPS 080506-0, 2008-05-06), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.150.27 X-Scan-Result: No virus found in message 1JtWne-0007fS-5K. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JtWne-0007fS-5K 5b8f2a8029c1711203a7beec6b2d2cbf X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:96620 Archived-At: Lennart Borgman (gmail) wrote: > Sometimes Emacs starts eating CPU. Unfortunately I see this with my > patched Emacs. I have not seen this until today, but I have tested some > things today that I have not touched for a long while. > > I can reproduce the problem. It often (perhaps always) happens after an > indent region in mumamo, but sometimes after other actions too (but > sometimes not after the same action). I tried to find out where the loop > is, but I can't find it. Even if I kill all the timers Emacs goes on > looping. But it is most of the time still responsive. (But no other > program is...) > > Sometimes the looping stops a while after I have killed all buffers, > sometimes not. > > It looks to me like a problem with screen update, but I am not at all > sure about this. (In that case overlays might be involved.) > > GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-05-06 (patched) I think I found a cure. It looks like the problem was not at all screen update, but that I deleted some local variables corresponding to timers in nxml. But I don't understand why I could not see those timers then.