all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs looping
@ 2008-05-06 23:21 Lennart Borgman (gmail)
  2008-05-06 23:42 ` Lennart Borgman (gmail)
  2008-05-07  8:07 ` Eli Zaretskii
  0 siblings, 2 replies; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2008-05-06 23:21 UTC (permalink / raw)
  To: Emacs Devel

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)




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs looping
  2008-05-06 23:21 Emacs looping Lennart Borgman (gmail)
@ 2008-05-06 23:42 ` Lennart Borgman (gmail)
  2008-05-07  8:07 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2008-05-06 23:42 UTC (permalink / raw)
  To: Emacs Devel

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs looping
  2008-05-06 23:21 Emacs looping Lennart Borgman (gmail)
  2008-05-06 23:42 ` Lennart Borgman (gmail)
@ 2008-05-07  8:07 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2008-05-07  8:07 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: emacs-devel

> Date: Wed, 07 May 2008 01:21:17 +0200
> From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
> 
> 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...)

etc/DEBUG has some advice on how to debug such situations.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-07  8:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-06 23:21 Emacs looping Lennart Borgman (gmail)
2008-05-06 23:42 ` Lennart Borgman (gmail)
2008-05-07  8:07 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.