From xemacs-m  Wed Mar 12 17:32:20 1997
Received: from mailbox1.ucsd.edu (mailbox1.ucsd.edu [132.239.1.53])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA14305
	for <xemacs-beta@xemacs.org>; Wed, 12 Mar 1997 17:32:20 -0600 (CST)
Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by mailbox1.ucsd.edu (8.8.5/8.6.9) with SMTP id PAA00827 for <xemacs-beta@xemacs.org>; Wed, 12 Mar 1997 15:32:20 -0800 (PST)
Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4)
	id PAA01299; Wed, 12 Mar 1997 15:34:27 -0800
Sender: dmoore@sdnp5.ucsd.edu
To: XEmacs Beta <xemacs-beta@xemacs.org>
Subject: Re: lazy-lock (can't have everything, I guess)
References: <9703120842.AA04686@mail.esrin.esa.it>
X-Face: "oX;zS#-JU$-,WKSzG.1gGE]x^cIg!hW.dq>.f6pzS^A+(k!T|M:}5{_%>Io<>L&{hO7W4cicOQ|>/lZ1G(m%7iaCf,6Qgk0%%Bz7b2-W3jd0m_UG\Y;?]}4s0O-U)uox>P3JN)9cm]O\@,vy2e{`3pb!"pqmRy3peB90*2L
Mail-Copies-To: never
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
From: David Moore <dmoore@ucsd.edu>
Date: 12 Mar 1997 15:34:25 -0800
In-Reply-To: Simon Marshall's message of Wed, 12 Mar 97 08:42:06 GMT
Message-ID: <rvn2s8elby.fsf@sdnp5.ucsd.edu>
Lines: 26
X-Mailer: Gnus v5.4.24/XEmacs 19.15

Simon Marshall <Simon.Marshall@esrin.esa.it> writes:

> ;; 3.  In XEmacs 19.12, when the last command was invoked via a mouse event,
> ;; because of a bug/feature in/of `sit-for'.
> 
> Anyway, the same problem is back:
> 
> (defun fubar ()
>   (message "sit-for = %s" (sit-for 0)))
> (add-hook 'post-command-hook 'fubar)
> 
> Gives you nil when you mouse-2 in Dired.  Ta, Si.

	I get nil in 19.14 too.  What do you think it should say?  It is
returning nil, because there is still a mouse-up event to be processed.
You'll notice that if you press mouse-2 and don't release it, then the
file will be loaded and sit-for will be t.

	I also notice that if I load the lazy-lock.el from 19.14 it
properly works in 19.15b98.

-- 
David Moore <dmoore@ucsd.edu>       | Computer Systems Lab      __o
UCSD Dept. Computer Science - 0114  | Work: (619) 534-8604    _ \<,_
La Jolla, CA 92093-0114             | Fax:  (619) 534-1445   (_)/ (_)
<URL:http://oj.egbt.org/dmoore/>    | In a cloud bones of steel.

