From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Problem with `while-no-input' Date: Sat, 11 Mar 2006 12:35:49 +0000 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142080690 17637 80.91.229.2 (11 Mar 2006 12:38:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2006 12:38:10 +0000 (UTC) Cc: emacs-devel@gnu.org, storm@cua.dk, klaus.berndl@sdm.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 11 13:38:08 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 1FI3MC-0003ik-7z for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 13:38:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FI3MB-0006YD-20 for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 07:38:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FI3Ly-0006Y7-It for emacs-devel@gnu.org; Sat, 11 Mar 2006 07:37:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FI3Lx-0006X2-Nf for emacs-devel@gnu.org; Sat, 11 Mar 2006 07:37:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FI3Lx-0006Wn-KB for emacs-devel@gnu.org; Sat, 11 Mar 2006 07:37:49 -0500 Original-Received: from [194.106.33.237] (helo=outmail.freedom2surf.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FI3PP-0006lG-SU; Sat, 11 Mar 2006 07:41:24 -0500 Original-Received: from wanchan.jasonrumney.net (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail.freedom2surf.net (8.12.10/8.12.10) with ESMTP id k2BCbJ5K017490; Sat, 11 Mar 2006 12:37:19 GMT Original-Received: from TONKOTSU-RAMEN (tonkotsu-ramen.jasonrumney.net [10.0.0.28]) by wanchan.jasonrumney.net (Postfix) with ESMTP id AD98432; Sat, 11 Mar 2006 12:37:18 +0000 (GMT) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Fri, 10 Mar 2006 19:08:06 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) 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:51462 Archived-At: Richard Stallman writes: > Hmm, would it not better, to enable while-not-input also working with Windows? ;-) > > Yes, it would be better, but that may be very difficult. (I don't > know.) We should document it if we can't fix it. I think the relevant code is in keyboard.c in the POLL_FOR_INPUT conditional blocks. Currently this code handles detection of C-g according to the comments, I do not know why it manages to do that without also handling general detection of input. I don't know if this code is only used on Windows, or other systems also use it (maybe old versions of X?). It doesn't appear to have been written specifically for Windows.