From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.windows,gmane.emacs.bugs,gmane.emacs.help Subject: mouse wheel support in Emacs 21.3.50 Date: Thu, 23 Sep 2004 23:17:46 -0700 Sender: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1096006738 860 80.91.229.6 (24 Sep 2004 06:18:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2004 06:18:58 +0000 (UTC) Original-X-From: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Fri Sep 24 08:18:45 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAjPo-0000CI-00 for ; Fri, 24 Sep 2004 08:18:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAjVt-0003ST-3B for gnu-help-emacs-windows@m.gmane.org; Fri, 24 Sep 2004 02:25:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CAjVY-0003Qh-Og for help-emacs-windows@gnu.org; Fri, 24 Sep 2004 02:24:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CAjVX-0003QV-4Z for help-emacs-windows@gnu.org; Fri, 24 Sep 2004 02:24:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAjVX-0003QS-12; Fri, 24 Sep 2004 02:24:39 -0400 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CAjOw-0003dT-9h; Fri, 24 Sep 2004 02:17:50 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.191.10]) by agminet01.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i8O6Hmon001655; Thu, 23 Sep 2004 23:17:48 -0700 Original-Received: from rgmgw1.us.oracle.com (localhost [127.0.0.1]) by rgmgw1.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i8O6HmdP031139; Fri, 24 Sep 2004 00:17:48 -0600 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-81-200.vpn.oracle.com [141.144.81.200]) by rgmgw1.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id i8O6Hlv8031128; Fri, 24 Sep 2004 00:17:47 -0600 Original-To: , "Help-Gnu-Emacs" , "Help-Emacs-Windows" , X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-BeenThere: help-emacs-windows@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion forum for users of the GNU Emacs port to Windows List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.windows:2291 gmane.emacs.bugs:9069 gmane.emacs.help:20850 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9069 GNU Emacs 21.3.50.1 (i386-mingw-nt5.1.2600) of 2004-07-26 on BERATUNG4, Windows XP SP1. 1. Bug?: Searching Elisp Info for "wheel" shows nothing that is current. It shows the same stuff as for Emacs 20 ("mouse-wheel"...). Yet, looking at real mouse wheel events, I see stuff like wheel-up that is not in Info, and I don't see "mouse-wheel" in real events. 2. What is the latest mouse wheel support? In this version of Emacs (21.3.50.1), I see mwheel code with no version number, copyright ... 2002. Is that the latest? Is there any doc for this, besides the source code comments? 3. I'd like to know how to interpret the components of the various mouse events. In Emacs 20 this was simple; there was just the POSITION and the DELTA. Now I see lots of components (with no Elisp Info) - what does each mean? In particular, if I call read-event and get mouse wheel events, where can I get the DELTA info that used to be there? Actually, I can pretty much see what's going on in mwheel-scroll, in terms of getting the DELTA info (amount), but before I base new code on what happens in (this 2002) mwheel-scroll code, I wonder if this is a good model; that is, if this deals with the latest event structure and is the recommended (i.e. current) way to go about things. 4. Also, how to interpret the various mouse wheel events that I see via apropos, such as double-wheel-up? Double-clicking I understand, but what is double-wheeling? And the whole treatment of the wheel as buttons 4 & 5 is not clear to me. (I imagine that is behind this business of double-wheeling.) And what if (as I do) I have 5 mouse buttons and a wheel? I can see that mouse-4 and mouse-5 are correctly bound to real buttons, so what is their relation to wheeling? 5. Finally, although I have little real hope for this, are there any guidelines for trying to make code that deals with making the mouse wheel work in both Emacs 20 and 21? Don't laugh; there are lots of people who use GNU Emacs 20 - maybe as many as use XEmacs - and who will continue to do so for one reason or another. It sometimes seems to me that the mapping (upgrade path, compatibility matrix) between GNU Emacs versions is less well documented than the mapping between current XEmacs and GNU Emacs. Maybe that's the way it should be; maybe not. No holy war here, please. Thanks, Drew