From unknown Sat Jun 21 05:05:48 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4907: 23.1; (elisp)Motion Events: Incorrect event description Reply-To: "Drew Adams" , 4907@debbugs.gnu.org Resent-From: "Drew Adams" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 11 Nov 2009 18:40:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4907 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12579643278851 (code B ref -1); Wed, 11 Nov 2009 18:40:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 11 Nov 2009 18:32:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.2 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nABIW6ww008847 for ; Wed, 11 Nov 2009 10:32:07 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8HzB-0004YC-M5 for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 13:32:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8Hz6-0004Rx-OL for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 13:32:05 -0500 Received: from [199.232.76.173] (port=54067 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8Hz6-0004Re-Iv for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 13:32:00 -0500 Received: from rcsinet11.oracle.com ([148.87.113.123]:57595 helo=rgminet11.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N8Hz3-0003Va-4D for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 13:31:58 -0500 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nABIVron023882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 11 Nov 2009 18:31:55 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nABESStW011470 for ; Wed, 11 Nov 2009 18:33:28 GMT Received: from abhmt016.oracle.com by acsmt353.oracle.com with ESMTP id 248840531257964303; Wed, 11 Nov 2009 10:31:43 -0800 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 11 Nov 2009 10:31:43 -0800 From: "Drew Adams" To: Date: Wed, 11 Nov 2009 10:31:45 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acpi/TkfMHUR2P/xQ6GW+xMl61Y0vA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4AFB0316.00A9:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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 (# 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)' From unknown Sat Jun 21 05:05:48 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Drew Adams" Subject: bug#4907 closed by Chong Yidong (23.1; (elisp)Motion Events: Incorrect event description) Message-ID: References: <87pr7l9lxc.fsf@stupidchicken.com> X-Emacs-PR-Message: they-closed 4907 X-Emacs-PR-Package: emacs Reply-To: 4907@debbugs.gnu.org Date: Sat, 14 Nov 2009 15:20:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1258212005-4221-1" This is a multi-part message in MIME format... ------------=_1258212005-4221-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #4907: 23.1; (elisp)Motion Events: Incorrect event description It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 4907: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4907 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1258212005-4221-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4907-done) by emacsbugs.donarmstrong.com; 14 Nov 2009 15:16:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.3 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po27.its.yale.edu (pantheon-po27.its.yale.edu [130.132.50.122]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAEFGL3e004149 for <4907-done@emacsbugs.donarmstrong.com>; Sat, 14 Nov 2009 07:16:22 -0800 Received: from furry (adsl-99-58-202-243.dsl.wlfrct.sbcglobal.net [99.58.202.243]) (authenticated bits=0) by pantheon-po27.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id nAEFGFIW031076 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <4907-done@emacsbugs.donarmstrong.com>; Sat, 14 Nov 2009 10:16:15 -0500 Received: by furry (Postfix, from userid 1000) id 285C5C070; Sat, 14 Nov 2009 10:16:15 -0500 (EST) From: Chong Yidong To: Drew@furry, Adams@furry, " "@furry Cc: 4907-done@debbugs.gnu.org Subject: 23.1; (elisp)Motion Events: Incorrect event description Date: Sat, 14 Nov 2009 10:16:15 -0500 Message-ID: <87pr7l9lxc.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > This is incorrect, AFAICT. (mouse-movement (POSITION)) should > instead be (mouse-movement POSITION). The value of POSITION is > itself a list. Fixed, thanks. ------------=_1258212005-4221-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 11 Nov 2009 18:32:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.2 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nABIW6ww008847 for ; Wed, 11 Nov 2009 10:32:07 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8HzB-0004YC-M5 for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 13:32:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8Hz6-0004Rx-OL for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 13:32:05 -0500 Received: from [199.232.76.173] (port=54067 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8Hz6-0004Re-Iv for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 13:32:00 -0500 Received: from rcsinet11.oracle.com ([148.87.113.123]:57595 helo=rgminet11.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N8Hz3-0003Va-4D for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 13:31:58 -0500 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nABIVron023882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 11 Nov 2009 18:31:55 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nABESStW011470 for ; Wed, 11 Nov 2009 18:33:28 GMT Received: from abhmt016.oracle.com by acsmt353.oracle.com with ESMTP id 248840531257964303; Wed, 11 Nov 2009 10:31:43 -0800 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 11 Nov 2009 10:31:43 -0800 From: "Drew Adams" To: Subject: 23.1; (elisp)Motion Events: Incorrect event description Date: Wed, 11 Nov 2009 10:31:45 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acpi/TkfMHUR2P/xQ6GW+xMl61Y0vA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4AFB0316.00A9:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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 (# 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)' ------------=_1258212005-4221-1--