From xemacs-m  Tue Feb 25 15:57:19 1997
Received: from steadfast.teradyne.com (steadfast.teradyne.com [131.101.1.200])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA08385
	for <xemacs-beta@xemacs.org>; Tue, 25 Feb 1997 15:57:17 -0600 (CST)
Received: from kiki.icd.teradyne.com (kiki.icd.teradyne.com [131.101.1.30]) by steadfast.teradyne.com (8.7.1/8.7.1) with ESMTP id RAA02795 for <xemacs-beta@xemacs.org>; Tue, 25 Feb 1997 17:00:33 -0500 (EST)
Received: from spacely.icd.teradyne.com (spacely.icd.teradyne.com [131.101.10.9]) by kiki.icd.teradyne.com (8.7.1/8.7.1) with SMTP id QAA12408 for <xemacs-beta@xemacs.org>; Tue, 25 Feb 1997 16:54:19 -0500 (EST)
Received: from spacely by spacely.icd.teradyne.com (SMI-8.6/SMI-SVR4)
	id QAA10874; Tue, 25 Feb 1997 16:57:16 -0500
Message-Id: <199702252157.QAA10874@spacely.icd.teradyne.com>
X-Mailer: exmh version 2.0gamma 1/27/96
To: xemacs-beta@xemacs.org
Subject: Re: [19.15b95]: input-pending-p is nil even after keypress 
In-reply-to: steve's message of 25 Feb 1997 13:47:53 -0800.
	     <m2k9nw7e2e.fsf@altair.xemacs.org> 
reply-to: acs@acm.org
X-Attribution: Vin
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 25 Feb 1997 16:57:15 -0500
From: Vinnie Shelton  <shelton@icd.teradyne.com>

>>>>> On 25 Feb 1997, Steven L Baur <steve@miranova.com> said:

Simon Marshall writes:
>> It seems that input-pending-p returns nil even after a simple keypress:
>> xemacs -no-init-file -no-site-file

>> (progn
>> (loop for fubar from 1 to 10000 by 1)
>> (input-pending-p)) C-j C-p
>> => nil

>> Which is wrong.  If I replace the loop with (sit-for 5) or add
>> (sit-for 5) before or after the loop, then the value is t.

sb> I can't duplicate this (after raising the loop count to something that
sb> gives sufficient delay) in 20.0, 20.1-b3 or 19.15-b96.

I cannot reproduce this, either; in Solaris 2.5: 20.1-b2 or 19.15-b95.
(W/o bumping the loopcount, I had to respond pretty quick!!)
Anyway, it eval'ed to t.

vin


