From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: burlo_stumproot@notvalid.se Newsgroups: gmane.emacs.help Subject: Re: Setting mwheel down/up to new function Date: Thu, 13 May 2004 07:40:09 GMT Organization: ?noitazinagrO Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084437827 22716 80.91.224.253 (13 May 2004 08:43:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 May 2004 08:43:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 13 10:43:36 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOBoW-0003XX-00 for ; Thu, 13 May 2004 10:43:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOAuP-0001zz-4Q for geh-help-gnu-emacs@m.gmane.org; Thu, 13 May 2004 03:45:37 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news-stoc.telia.net!news-stoa.telia.net!telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Lines: 28 Original-NNTP-Posting-Host: 217.208.235.58 Original-X-Complaints-To: abuse@telia.com Original-X-Trace: newsb.telia.net 1084434009 217.208.235.58 (Thu, 13 May 2004 09:40:09 CEST) Original-NNTP-Posting-Date: Thu, 13 May 2004 09:40:09 CEST Original-Xref: shelby.stanford.edu gnu.emacs.help:123160 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18453 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18453 jasonr (Jason Rumney) @ f2s.com writes: > burlo_stumproot@notvalid.se writes: > > jasonr (Jason Rumney) @ f2s.com writes: > >> burlo_stumproot@notvalid.se writes: > >> > >> > But somthing is grabbing my mouse scrolling before this > >> > (global-set-key [mouse-4] 'gnus-summary-next-page) has a chance > >> > to run. > >> > >> Unlike the usual X configuration, Windows does not map the mouse wheel > >> to mouse-4 and mouse-5. Try [wheel-up] and [wheel-down] instead. > > > > I tried that also, but all I ever get when using the mouse wheel > > is mouse-wheel-scroll-line. > > > > A C-h c gives " runs the command mouse-wheel-scroll-line" > > no matter if I scroll the mouse-wheel up or down. > > The mouse-wheel event is special in that it contains extra info about > direction and magnitude. The current CVS uses wheel-up and wheel-down > because they are a lot easier for the end user to work with, but for > 21.3, if you look in lisp/term/w32-win.el, you should be able to find > the code that deals with the [mouse-wheel] event so you can copy it > and customize it yourself. Thank you, I found what I needed in w32-win.el.