From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64827 Path: news.gmane.org!not-for-mail From: David Z Maze Newsgroups: gmane.emacs.gnus.general Subject: Re: how to know what emacs is doing.. Date: Thu, 21 Jun 2007 10:20:32 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182436127 2314 80.91.229.12 (21 Jun 2007 14:28:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2007 14:28:47 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13338@lists.math.uh.edu Thu Jun 21 16:28:45 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1I1NeN-0002WD-LT for ding-account@gmane.org; Thu, 21 Jun 2007 16:28:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1I1NdY-00016Z-Ck; Thu, 21 Jun 2007 09:27:52 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1I1NdW-00016K-JW for ding@lists.math.uh.edu; Thu, 21 Jun 2007 09:27:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1I1NdV-0001QS-67 for ding@lists.math.uh.edu; Thu, 21 Jun 2007 09:27:50 -0500 Original-Received: from south-station-annex.mit.edu ([18.72.1.2]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1I1NdU-000300-00 for ; Thu, 21 Jun 2007 16:27:48 +0200 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id l5LERkAY008498 for ; Thu, 21 Jun 2007 10:27:46 -0400 (EDT) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id l5LEKawN024891; Thu, 21 Jun 2007 10:20:36 -0400 (EDT) Original-Received: from contents-vnder-pressvre.mit.edu (CONTENTS-VNDER-PRESSVRE.MIT.EDU [18.7.18.65]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id l5LEKWce006007; Thu, 21 Jun 2007 10:20:33 -0400 (EDT) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUGBgS83KhoOivUeFmC pXj4o39qeFZD1JPmAAACOklEQVR4nE2UQY/bIBCFkVPlbpX0bA2tz7sQcl5SlnsWc7cclv// E/oGjNNxokjz8eYxA7HwR9xLKQGRC4eQezqUj7KWnDOzAOB3EjaBKDl4KPARzkvpAIqoUTwI a2op6WVoeXHOlfgsnJPM1kl0SdMIFEJ0AaIJshiRhkCsHbC/51LycKDmgiw2jVJy9B9IDPNN U5NkSMQoR+c5/zTW3qjZgwg5ylpJ2YT4wubO7FEVEs0NhvPJaqzxDaDS2gUpGUjyDkau9NxB fKsmu4Ir2XSpwAjxYwfsfeqlbJwqcAwwcLINxGRWtIhhMEB7ZLoAJudd4aE42e4RCQDjYMXK CpS6XOBtNM7EVfPAbRgihfU08Sg9jqIr9G9JJuo70cCty66gwY6kzJ9xIygyJs7mDNQcSEUV iPSE1qt5mLgUkcGj8ExTbrvii2CwG3UCQkxUXDUPE03KIqPw8Iq33IBfUcbw/Ez9eeo8VvPr qrRNj2RU1DjeaN6cG8c6RKVNnTg+GIDWfAkPBVdK2jC84fCq4n4yik+VNICNtoPlPkScrKmh bPw+FIGSYmBrOUPeNfATjajPpFXtMl0Hvyt4imfzqDvC9zZ3cAEYvlt/ADq7rvDbNKj3RuxC B7gsZRWzbSAaymNXSPxjia8id1GmV6kUyjDMf9vd3daXAiYFd4GvXNzmaT7AspRyJnoif6Nn Ob8UC94fN6KybTSbvB0e46d3Tyzm+I7v4QWW5WGswZulXFNyv/4DGFvqYRv4BxSm28ZwQ4mv AAAAAElFTkSuQmCC X-Face: &OO..E]'&$Q?jm[7H$]lCS"t#FD[|jK.HfvP#![KZ`/,O)lQ(pE<2QS1i~K3+u\{Bh"(4h4G0W#R-F2zZNO6n\!8bk;tu%)f>y{C` P*^7yM`e/x"b1q[?^-9zxTp In-Reply-To: (francois.lagarde@gmail.com's message of "Thu\, 21 Jun 2007 09\:38\:20 +0000 \(UTC\)") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (usg-unix-v) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: -2.599 X-Spam-Flag: NO X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64827 Archived-At: lagarde 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