From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: sit-for Date: Fri, 28 Jul 2006 23:06:02 +0200 Message-ID: <854px1e8xx.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1154120795 1577 80.91.229.2 (28 Jul 2006 21:06:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Jul 2006 21:06:35 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 28 23:06:33 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G6ZXK-0002r0-N1 for ged-emacs-devel@m.gmane.org; Fri, 28 Jul 2006 23:06:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G6ZXK-0002Wv-9o for ged-emacs-devel@m.gmane.org; Fri, 28 Jul 2006 17:06:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G6ZX7-0002W7-8b for emacs-devel@gnu.org; Fri, 28 Jul 2006 17:06:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G6ZX5-0002Sd-Is for emacs-devel@gnu.org; Fri, 28 Jul 2006 17:06:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G6ZX5-0002SZ-GB for emacs-devel@gnu.org; Fri, 28 Jul 2006 17:06:07 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G6ZZ9-0003ku-Jn for emacs-devel@gnu.org; Fri, 28 Jul 2006 17:08:15 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1G6ZX4-0000io-Os for emacs-devel@gnu.org; Fri, 28 Jul 2006 17:06:07 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 63C811C000B3; Fri, 28 Jul 2006 23:06:02 +0200 (CEST) Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:57755 Archived-At: Since we have the new sit-for implementation, I have a lot of times when Emacs just pauses in busy waiting for input. This happens spontaneously. One situation where it happens frequently is when reading news with gnus. If I type C-g at such a time with debug-on-quit set to t, I just get Debugger entered--Lisp error: (quit) in the *Backtrace* buffer. In contrast, when Emacs is actually waiting in a non-busy wait for input, the backtrace is Debugger entered--Lisp error: (quit) signal(quit nil) keyboard-quit() call-interactively(keyboard-quit) and this is what I would expect without those random lockups which tend to last for seconds and gobble up CPU power. This is really a nuisance. The change to sit-for is a fundamental change to some core mechanism of Emacs, and it is currently seemingly breaking quite a few things, apart from causing strange effects. It does not look like the implications of this code are obvious to anybody. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum