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: Tue, 11 May 2004 09:43:46 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 1084268794 6495 80.91.224.253 (11 May 2004 09:46:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 May 2004 09:46:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 11 11:46:25 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 1BNTqC-00075O-00 for ; Tue, 11 May 2004 11:46:24 +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 1BNTpq-0005tz-De for geh-help-gnu-emacs@m.gmane.org; Tue, 11 May 2004 05:46:02 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!info1.fnal.gov!nntp-server.caltech.edu!hammer.uoregon.edu!logbridge.uoregon.edu!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: 34 Original-NNTP-Posting-Host: 217.208.235.58 Original-X-Complaints-To: abuse@telia.com Original-X-Trace: newsb.telia.net 1084268626 217.208.235.58 (Tue, 11 May 2004 11:43:46 CEST) Original-NNTP-Posting-Date: Tue, 11 May 2004 11:43:46 CEST Original-Xref: shelby.stanford.edu gnu.emacs.help:123123 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:18413 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18413 Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes: > On Mon, May 10 2004, burlo_stumproot@notvalid.se wrote: > > > I would like to change the behavior of mouse-wheel up and mouse-wheel down. > > I though it would be nice to map them to gnus-article-goto-prev-page and > > gnus-summary-next-page. I tried putting the following in my .gnus > > but aparently it's completly ignored. > > > > (global-set-key [mouse-4] 'gnus-summary-next-page) > > (global-set-key [mouse-5] 'gnus-article-goto-prev-page) > > Global settings make no sense here. I know, I know but my ntemacs is only used for gnus and I dont remember how to set somthing only when running gnus. Over 10 years since I did any serios e-lisp stuff. > > > Any hints ? > > Did you try `mouse-wheel-follow-mouse'? A variable that let's you scroll the window your pointer is over. No and I dont know if it's relevant, I dont want any scrolling at all. But somthing is grabbing my mouse scrolling before this (global-set-key [mouse-4] 'gnus-summary-next-page) has a chance to run. I had a look in mwheel.el but is't over my head. So, any more tips?