GNU bug report logs - #4907
23.1; (elisp)Motion Events: Incorrect event description

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 11 Nov 2009 18:40:05 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4907 in the body.
You can then email your comments to 4907 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4907; Package emacs. (Wed, 11 Nov 2009 18:40:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 11 Nov 2009 18:40:06 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 23.1; (elisp)Motion Events: Incorrect event description
Date: Wed, 11 Nov 2009 10:31:45 -0800
The node says:
 
 Emacs sometimes generates "mouse motion" events to describe motion of
 the mouse without any button activity.  Mouse motion events are
 represented by lists that look like this:
 
     (mouse-movement (POSITION))
 
   The second element of the list describes the current position of the
 mouse, just as in a click event (*note Click Events::).
 
   The special form `track-mouse' enables generation of motion events
 within its body.  Outside of `track-mouse' forms, Emacs does not
 generate events for mere motion of the mouse, and these events do not
 appear.  *Note Mouse Tracking::.
 
This is incorrect, AFAICT. (mouse-movement (POSITION)) should
instead be (mouse-movement POSITION).  The value of POSITION is
itself a list.  This is an example value of a motion event:
 
(mouse-movement (#<window 10 on *info*> mode-line (256 . 332) 9231031
(#(" (elisp) Motion Events" 9 22 (face mode-line-buffer-id help-echo
"mouse-1: scroll forward, mouse-3: scroll back" mouse-face
mode-line-highlight local-map (keymap (mode-line keymap (mouse-3
. Info-mouse-scroll-down) (mouse-1 . Info-mouse-scroll-up))))) . 12)
82181 (31 . 155) nil (7 . 12) (8 . 16)))

In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
 





Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Sat, 14 Nov 2009 15:20:05 GMT) Full text and rfc822 format available.

Notification sent to "Drew Adams" <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Sat, 14 Nov 2009 15:20:05 GMT) Full text and rfc822 format available.

Message #10 received at 4907-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Drew <at> furry, Adams <at> furry, " <drew.adams <at> oracle.com>"@furry
Cc: 4907-done <at> debbugs.gnu.org
Subject: 23.1; (elisp)Motion Events: Incorrect event description
Date: Sat, 14 Nov 2009 10:16:15 -0500
> This is incorrect, AFAICT. (mouse-movement (POSITION)) should
> instead be (mouse-movement POSITION).  The value of POSITION is
> itself a list.

Fixed, thanks.



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 12 Dec 2009 15:24:25 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.