unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: jasonr (Jason Rumney) @  f2s.com
Subject: Re: Setting mwheel down/up to new function
Date: Wed, 12 May 2004 21:50:36 +0100	[thread overview]
Message-ID: <uvfj1cqub.fsf@jasonrumney.net> (raw)
In-Reply-To: uu0ym7zv5.fsf@notvalid.se

burlo_stumproot@notvalid.se writes:

> jasonr (Jason Rumney) @  f2s.com writes:
>
>> burlo_stumproot@notvalid.se writes:
>> 
>> > I know, I know but my ntemacs is only used for gnus
>> >
>> > 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 "<mouse-wheel> 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.

  reply	other threads:[~2004-05-12 20:50 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
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=uvfj1cqub.fsf@jasonrumney.net \
    --to=jasonr@f2s.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).