Gnus development mailing list
 help / color / mirror / Atom feed
* how to know what emacs is doing..
@ 2007-06-21  9:38 lagarde
  2007-06-21 14:20 ` David Z Maze
  0 siblings, 1 reply; 3+ messages in thread
From: lagarde @ 2007-06-21  9:38 UTC (permalink / raw)
  To: ding

Hello,

I changed my emacs version to GNU Emacs 22.0.91.1. Sometimes, my emacs process
uses the whole cpu and cant decrease. This behavior occures even if I edit a
text  and doesnt seem to result to a special command call.

So my question is to know if there is a way to know what emacs is currently
doing, and what are these most consuming threads.

thanks.




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

* Re: how to know what emacs is doing..
  2007-06-21  9:38 how to know what emacs is doing lagarde
@ 2007-06-21 14:20 ` David Z Maze
  2007-06-21 17:02   ` Reiner Steib
  0 siblings, 1 reply; 3+ messages in thread
From: David Z Maze @ 2007-06-21 14:20 UTC (permalink / raw)
  To: ding

lagarde <francois.lagarde@gmail.com> writes:

> I changed my emacs version to GNU Emacs 22.0.91.1. Sometimes, my emacs
> process uses the whole cpu and cant decrease. This behavior occures
> even if I edit a text and doesnt seem to result to a special command
> call.
>
> So my question is to know if there is a way to know what emacs is
> currently doing, and what are these most consuming threads.

Well, very basic Emacs debugging is to (setq debug-on-error t) and then
hit C-g when it appears to freeze up.  That will show you the current
evaluation stack, which might be a little counterintuitive, but it does
in fact tell you what Emacs is doing.  Unless Emacs 23 has changed (and
I definitely would have expected to hear on this list) it's not
multithreaded at all.

It looks like you found this list via gmane; you should probably be
aware that it's the developers' list for the Gnus mail reader, which is
part of Emacs but not Emacs itself.  The broader Usenet gnu.emacs.help
newsgroup might be a better place for general Emacs questions.

  --dzm



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

* Re: how to know what emacs is doing..
  2007-06-21 14:20 ` David Z Maze
@ 2007-06-21 17:02   ` Reiner Steib
  0 siblings, 0 replies; 3+ messages in thread
From: Reiner Steib @ 2007-06-21 17:02 UTC (permalink / raw)
  To: ding

On Thu, Jun 21 2007, David Z Maze wrote:

> Unless Emacs 23 has changed (and I definitely would have expected to
> hear on this list) it's not multithreaded at all.

He uses Emacs 22 (well, a pretest version thereof).  Emacs 23 won't be
multi-threaded as well.

> The broader Usenet gnu.emacs.help newsgroup 

aka gmane.emacs.help

> might be a better place for general Emacs questions.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




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

end of thread, other threads:[~2007-06-21 17:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-21  9:38 how to know what emacs is doing lagarde
2007-06-21 14:20 ` David Z Maze
2007-06-21 17:02   ` Reiner Steib

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).