From xemacs-m  Tue Feb 25 15:36:21 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA08241
	for <xemacs-beta@xemacs.org>; Tue, 25 Feb 1997 15:36:18 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id NAA19868;
	Tue, 25 Feb 1997 13:47:58 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: [19.15b95]: input-pending-p is nil even after keypress
References: <9702251612.AA18237@mail.esrin.esa.it>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Simon Marshall's message of Tue, 25 Feb 97 16:12:31 GMT
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 25 Feb 1997 13:47:53 -0800
Message-ID: <m2k9nw7e2e.fsf@altair.xemacs.org>
Lines: 18
X-Mailer: Gnus v5.4.15/XEmacs 20.1

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.

I can't duplicate this (after raising the loop count to something that
gives sufficient delay) in 20.0, 20.1-b3 or 19.15-b96.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

