From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: sit-for Date: Fri, 28 Jul 2006 17:48:42 -0400 Message-ID: <87d5bppfid.fsf@stupidchicken.com> References: <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 1154123293 8156 80.91.229.2 (28 Jul 2006 21:48:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Jul 2006 21:48:13 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 28 23:48:10 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 1G6aBg-0001bE-O5 for ged-emacs-devel@m.gmane.org; Fri, 28 Jul 2006 23:48:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G6aBg-0007Wk-Cf for ged-emacs-devel@m.gmane.org; Fri, 28 Jul 2006 17:48:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G6aBW-0007WO-3M for emacs-devel@gnu.org; Fri, 28 Jul 2006 17:47:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G6aBS-0007Vr-JR for emacs-devel@gnu.org; Fri, 28 Jul 2006 17:47:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G6aBR-0007Vo-R7 for emacs-devel@gnu.org; Fri, 28 Jul 2006 17:47:49 -0400 Original-Received: from [18.19.1.138] (helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G6aDV-0007CY-DD; Fri, 28 Jul 2006 17:49:57 -0400 Original-Received: by cyd (Postfix, from userid 1000) id F0C094E2AB; Fri, 28 Jul 2006 17:48:42 -0400 (EDT) Original-To: David Kastrup In-Reply-To: <854px1e8xx.fsf@lola.goethe.zz> (David Kastrup's message of "Fri, 28 Jul 2006 23:06:02 +0200") 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:57756 Archived-At: David Kastrup writes: > 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. I haven't seen this problem in my usage of gnus. It would be helpful if you could be more specific: does the problem happen with the 2006-07-26 change to `read-event'? If so, did it start to happen at that time, or did it already happen after the Lisp-level `sit-for' was implemented? If it only started after the `read-event' change, one possibility is that read_char is getting stuck somewhere before we get to the point where we check if the timeout has elapsed. > 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. That's the story of the Emacs 22 feature freeze.