From xemacs-m  Wed Feb 26 04:40:10 1997
Received: from maes.esrin.esa.it (maes.esrin.esa.it [192.106.252.50])
	by xemacs.org (8.8.5/8.8.5) with SMTP id EAA14048
	for <xemacs-beta@xemacs.org>; Wed, 26 Feb 1997 04:40:07 -0600 (CST)
Received: from mail.esrin.esa.it (plod.esrin.esa.it) by maes.esrin.esa.it with SMTP id AA00146
  (5.65c/IDA-1.4.4 for <xemacs-beta@xemacs.org>); Wed, 26 Feb 1997 11:40:12 +0100
Received: from penelope.esa.it by mail.esrin.esa.it (4.1/SMI-4.1)
	id AA24939; Wed, 26 Feb 97 10:40:12 GMT
Date: Wed, 26 Feb 97 10:40:11 GMT
Message-Id: <9702261040.AA24939@mail.esrin.esa.it>
Received: by penelope.esa.it (4.1/SMI-4.1)
	id AA19096; Wed, 26 Feb 97 11:44:52 +0100
From: Simon Marshall <Simon.Marshall@esrin.esa.it>
To: XEmacs Beta <xemacs-beta@xemacs.org>
In-Reply-To: <9702260819.AA23503@mail.esrin.esa.it> (message from Simon
	Marshall on Wed, 26 Feb 97 08:19:24 GMT)
Subject: Re: [19.15b95]: input-pending-p is nil even after keypress
Reply-To: Simon Marshall <Simon.Marshall@esrin.esa.it>

>> 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.

Do you mean b95 or is this the to-be-release b96?  Anyway, reproducible in
19.15b95, SunOS 4.1.3, gcc-2.7.2, x11r5.28, with and without -O2 optimisation.

