bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse events are generated without mouse


From: Gerd Moellmann
Subject: Re: Mouse events are generated without mouse
Date: 22 Oct 2001 19:34:59 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

Roman Belenov <address@hidden> writes:

> In GNU Emacs 21.1.1 (i386-msvc-nt5.0.2195)
>  of 2001-10-22 on NNWRBELENOV21

[...]

> Run clean emacs (emacs -q) and make it somehow display when new mouse
> event is generated. I used the following code
> 
> (defun xxx-display-time (event) (interactive "e")
>   (message (format-time-string "%H:%M:%S" (current-time))))
> (define-key special-event-map [mouse-movement] 'xxx-display-time)
> (setq track-mouse t)
> 
> It shows that, e.g., pressing M-x generates mouse movement event
> (current time appears in modeline), although no real mouse movement
> happened.

That seems to be specific to the MS-Windows port; it doesn't happen on
X here.  I've CC'd the maintainers of the port.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]