all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: burlo_stumproot@notvalid.se
Subject: Re: Setting mwheel down/up to new function
Date: Tue, 11 May 2004 09:43:46 GMT	[thread overview]
Message-ID: <ufza7jo25.fsf@notvalid.se> (raw)
In-Reply-To: v9k6zkp0je.fsf@marauder.physik.uni-ulm.de

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?

  reply	other threads:[~2004-05-11  9:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-10 12:24 Setting mwheel down/up to new function burlo_stumproot
2004-05-10 19:03 ` Reiner Steib
2004-05-11  9:43   ` burlo_stumproot [this message]
2004-05-11 10:50     ` Reiner Steib
2004-05-12  9:21       ` burlo_stumproot
2004-05-11 23:42     ` Jason Rumney
2004-05-12  9:34       ` burlo_stumproot
2004-05-12 20:50         ` Jason Rumney
2004-05-13  7:40           ` burlo_stumproot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ufza7jo25.fsf@notvalid.se \
    --to=burlo_stumproot@notvalid.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.