[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mwheel scroll horizontally
From: |
Stefan Monnier |
Subject: |
Re: mwheel scroll horizontally |
Date: |
Sat, 09 Oct 2010 01:56:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
> Maybe something like (in bindings.el or in term/x-win.el):
> (define-key function-key-map [mouse-4] [wheel-down])
> (define-key function-key-map [mouse-5] [wheel-up])
Of course, in general, we'll want S-mouse-4 to go to S-wheel-down, and
same thing for all other (combinations of) modifiers. There's an entry
about this problem in etc/TODO.
> (defcustom mouse-wheel-down-event
> (if (or (featurep 'w32-win) (featurep 'ns-win))
> 'wheel-up
> Does this mean that w32-win and ns-win already generate
> these events instead of mouse-4 and mouse-5?
Yes. mouse-4/5 is an X11 idiosyncrasy.
> Could someone with access to these systems with a two-wheeled mouse
> please tell what events they generate for the second wheel?
AFAIK they generate wheel-left/right.
Stefan