robert delius royar <xemacs(a)frinabulax.org> writes:
On Wed, 30 Jul 2003 about 17:11 +0100 UTC Avis, Ed wrote:
> Norbert Koch <viteno(a)xemacs.org> wrote:
>
> >(mwheel-install)
> >(setq mwheel-follow-mouse t)
>
> Nope, still doesn't make the mouse wheel work. I tried entering these
> in the *scratch* buffer and using M-x eval-last-sexp after each; I
> have also put them in c:\.xemacs\init.el (which did not exist before
> although custom.el did exist in that place). The mouse wheel does
> nothing, just as before.
>
> Doesn't the mwheel package simply respond to button4 or button5 events
> from the X server? So it will help you if your XEmacs beeps and says
> 'button4 not defined', but when XEmacs is completely insensible to
> mouse wheel events mwheel can't help. Something lower-level and more
> Windows-specific is needed, I think.
It has been a while, but I believe that I had to trial-and-error through
setting in the windows mouse control panel to get XEmacs to recognize the
wheel as anything. I've only been able to get my Logitech mouse to work
with XEmacs if in the control panel it is set as the middle button. There
are other settings in there that may need to be adjusted. I remember also
that everytime I upgraded the driver, the wheel no longer worked in XEmacs
and I had to reset the settings to what I had had. I think there is a
setting about following Office scroll commands or something that was
important, but that may be Logitech only.
Anyway, try the control panel setting for your mouse until you get XEmacs to
see the wheel-down as an event.
In a 21.4.13 XEmacs under Win XP, started as -vanilla, my mouse wheel
works perfectly: when I display a buffer larger than a screenful, I
can scroll it up and down using the mousewheel.
In my mouse properties, the Wheel Button is assigned to "AutoScroll
(default)".
HTH,
Vin