From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Subject: w32 mouse wheel handling Date: 27 May 2003 08:21:56 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <25058549.1053701279594.JavaMail.www@wwinf0601> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054020847 15643 80.91.224.249 (27 May 2003 07:34:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 27 May 2003 07:34:07 +0000 (UTC) Cc: emacs-devel Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 27 09:33:57 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19KYy5-00042y-00 for ; Tue, 27 May 2003 09:33:57 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19KZBf-0005yn-00 for ; Tue, 27 May 2003 09:48:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19KYz1-0006ni-W1 for emacs-devel@quimby.gnus.org; Tue, 27 May 2003 03:34:56 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19KYxm-0006CU-ID for emacs-devel@gnu.org; Tue, 27 May 2003 03:33:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19KYpK-0002gv-BZ for emacs-devel@gnu.org; Tue, 27 May 2003 03:24:54 -0400 Original-Received: from server0011.freedom2surf.net ([194.106.56.14] helo=server0027.freedom2surf.net) by monty-python.gnu.org with esmtp (Exim 4.20) id 19KYmk-000234-AX for emacs-devel@gnu.org; Tue, 27 May 2003 03:22:14 -0400 Original-Received: from wanchan.jasonr.f2s.com ([195.137.103.251]) h4R7MACb009009; Tue, 27 May 2003 07:22:11 GMT Original-Received: from NYAUMO (nyaumo.jasonr.f2s.com [10.0.0.27]) by wanchan.jasonr.f2s.com (Postfix) with ESMTP id 8CE82DDD73; Tue, 27 May 2003 08:22:10 +0100 (BST) Original-To: david.ponce@wanadoo.fr In-Reply-To: <25058549.1053701279594.JavaMail.www@wwinf0601> Original-Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14303 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14303 David PONCE writes: > I submit you the following patch to handle mouse wheel events in NT > Emacs like in X, that is as mouse click events. Scrolling the wheel > up produces mouse-4 events, and scrolling the wheel down produces > mouse-5 events, eventually prefixed by header or mode line depending > on the mouse location :-) I see the patch has been committed despite several people objecting to the use of mouse-4 and mouse-5. I am not sure what will happen now with my 5-button mouse, probably buttons 4 and 5 will be indistinguishable from the wheel, since the values are hard-coded.