From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#4907: 23.1; (elisp)Motion Events: Incorrect event description Date: Wed, 11 Nov 2009 10:31:45 -0800 Message-ID: Reply-To: Drew Adams , 4907@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1257966364 11660 80.91.229.12 (11 Nov 2009 19:06:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Nov 2009 19:06:04 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 11 20:05:56 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N8IVt-00048K-Nc for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Nov 2009 20:05:54 +0100 Original-Received: from localhost ([127.0.0.1]:49751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8IVt-0001mD-89 for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Nov 2009 14:05:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8IE2-00036E-NE for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 13:47:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8IDx-00031B-SE for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 13:47:26 -0500 Original-Received: from [199.232.76.173] (port=45289 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8IDx-00030p-LQ for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 13:47:21 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55062) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N8IDw-00066j-Qz for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 13:47:21 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nABIlI1t010615; Wed, 11 Nov 2009 10:47:19 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nABIe6YL009663; Wed, 11 Nov 2009 10:40:06 -0800 Resent-Date: Wed, 11 Nov 2009 10:40:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 11 Nov 2009 18:40:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4907 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12579643278851 (code B ref -1); Wed, 11 Nov 2009 18:40:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 11 Nov 2009 18:32:07 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-Received: from abhmt016.oracle.com by acsmt353.oracle.com with ESMTP id 248840531257964303; Wed, 11 Nov 2009 10:31:43 -0800 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 11 Nov 2009 10:31:43 -0800 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) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 11 Nov 2009 13:47:26 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32546 Archived-At: 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)'