From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: mwheel scroll horizontally
Date: Sat, 09 Oct 2010 01:56:37 +0200 [thread overview]
Message-ID: <jwvlj68s0k6.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87d3rlpskq.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 07 Oct 2010 23:05:09 +0100")
> 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
prev parent reply other threads:[~2010-10-08 23:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-04 22:50 mwheel scroll horizontally Juri Linkov
2010-10-04 23:21 ` Drew Adams
2010-10-04 23:39 ` Juri Linkov
2010-10-05 0:01 ` Drew Adams
2010-10-05 4:29 ` Stephen J. Turnbull
2010-10-04 23:32 ` Juri Linkov
2010-10-07 9:18 ` Stefan Monnier
2010-10-07 22:05 ` Juri Linkov
2010-10-08 10:58 ` Jason Rumney
2010-10-08 23:56 ` Stefan Monnier [this message]
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=jwvlj68s0k6.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.org \
/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.