From xemacs-m  Sun Mar  2 17:03:34 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA01782
	for <xemacs-beta@xemacs.org>; Sun, 2 Mar 1997 17:03:32 -0600 (CST)
Received: by crystal.WonderWorks.COM 
	id QQcfeq14364; Sun, 2 Mar 1997 18:03:32 -0500 (EST)
Date: Sun, 2 Mar 1997 18:03:32 -0500 (EST)
Message-Id: <QQcfeq14364.199703022303@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: xemacs-beta@xemacs.org
Subject: event-timestamp
In-Reply-To: <199703022043.PAA18770@blight.IntraNet.com>
References: <QQcfdu08997.199703021733@crystal.WonderWorks.COM>
	<199703022043.PAA18770@blight.IntraNet.com>
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
        0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
        Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
        ,qz]Z,Zz\{E.,]'EO+F)@$KtF&V

Jonathan Edwards writes:
 > Kyle Jones writes:
 > > event-timestamp would be more useful if it returned a list in the
 > > same form as current-time.  The time returned would be the time
 > > XEmacs processed the event, rather than the X11 event timestamp
 > > or whatever XEmacs is currently returning.
 > 
 > How about:
 > 
 > last-input-time's value is (13081 . 58940)
 >   -- a simple built-in variable.

Thanks for the pointer; this is certainly better than nothing.
The alternative was to put a function on pre-idle-hook that
recorded the current time just before Emacs went idle, creating a
new Lisp cons cell each time.  Using last-input-time is better,
even without milli- or microsecond resolution.

