From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: y-or-n-p-with-timeout Date: Thu, 11 Nov 2004 10:20:59 +0100 Message-ID: References: <87wtwyn8tf.fsf@confusibombus.example.org> <200411092316.iA9NGCZ22010@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100164923 6366 80.91.229.6 (11 Nov 2004 09:22:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2004 09:22:03 +0000 (UTC) Cc: emacs-devel@gnu.org, Luc Teirlinck , monnier@iro.umontreal.ca, alex@emacswiki.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 11 10:21:48 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CSB9I-0006cN-00 for ; Thu, 11 Nov 2004 10:21:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSBHl-0001Oa-Vx for ged-emacs-devel@m.gmane.org; Thu, 11 Nov 2004 04:30:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CSBHL-0001My-E9 for emacs-devel@gnu.org; Thu, 11 Nov 2004 04:30:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CSBHK-0001MS-LW for emacs-devel@gnu.org; Thu, 11 Nov 2004 04:30:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSBHK-0001MK-Cg for emacs-devel@gnu.org; Thu, 11 Nov 2004 04:30:06 -0500 Original-Received: from [195.54.107.70] (helo=mxfep01.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSB8m-000583-Rb; Thu, 11 Nov 2004 04:21:17 -0500 Original-Received: from coolsville.localdomain ([83.226.180.220] [83.226.180.220]) by mxfep01.bredband.com with ESMTP id <20041111092115.LRJG4883.mxfep01.bredband.com@coolsville.localdomain>; Thu, 11 Nov 2004 10:21:15 +0100 In-Reply-To: Original-To: rms@gnu.org X-Mailer: Apple Mail (2.619) 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: main.gmane.org gmane.emacs.devel:29731 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29731 > If `y-or-n-p-with-timeout' is broken on some platforms in certain > situations does this not automatically imply that `with-timeout' is > broken on these same platforms in those same situations? > > Yes, the timeout won't work if the code in Emacs is not running timers. > > Since it turns out there is no harm in running Lisp code within > BLOCK_INPUT, can we arrange to check Lisp timers in the > places that currently fail to do so? This should only be needed where we BLOCK_INPUT for a longer time, and the places I know of are menus and dialogs. Are there any other operations that needs to be considered? I'm fixing menus and dialogs right now. Jan D.