From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Revamping sit-for [Was: Lingering input pending with motif menu bar] Date: Sun, 09 Jul 2006 15:03:02 -0400 Message-ID: References: <87mzbl3wrd.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1152471867 11208 80.91.229.2 (9 Jul 2006 19:04:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Jul 2006 19:04:27 +0000 (UTC) Cc: cyd@stupidchicken.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 09 21:04:25 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 1FzeZs-0003GI-6s for ged-emacs-devel@m.gmane.org; Sun, 09 Jul 2006 21:04:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FzeZr-0003T8-JW for ged-emacs-devel@m.gmane.org; Sun, 09 Jul 2006 15:04:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FzeYl-0002wx-7f for emacs-devel@gnu.org; Sun, 09 Jul 2006 15:03:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FzeYk-0002wa-Ju for emacs-devel@gnu.org; Sun, 09 Jul 2006 15:03:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FzeYk-0002wT-E1 for emacs-devel@gnu.org; Sun, 09 Jul 2006 15:03:14 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FzeZf-000586-Ih for emacs-devel@gnu.org; Sun, 09 Jul 2006 15:04:11 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FzeYY-0001oa-0i; Sun, 09 Jul 2006 15:03:02 -0400 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) 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:56858 Archived-At: Can you give a _precise_ description of what behaviour of the old sit-for is "lost" in the new sit-for. I don't have one, because that behavior was never designed. It was a bug. It arose in the 90s as an unintended consequence of the existence of events (I think even X events) that the user would never see. I think the behavior is that internal events can appear in the queue and cause sit-for to return, but then no input is really available. Chances are that this behavior causes nothing but bugs, and that all callers will benefit from the correction of it. However, I think we ought to check the callers, so as to make sure we don't introduce any new bugs by this change.