From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 'Emacs-Devel devel' <emacs-devel@gnu.org>
Subject: Re: recommended way to bind mouse-wheel events
Date: Mon, 16 Feb 2009 20:54:48 -0500 [thread overview]
Message-ID: <jwvd4dh25ip.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <006a01c99087$b1929c50$0200a8c0@us.oracle.com> (Drew Adams's message of "Mon, 16 Feb 2009 14:41:21 -0800")
> Will this code, which uses the event variables, work also on non-Windows
> platforms? If so, is this a good way to do it, or is there a better way?
IIUC it should work more or less everywhere, and while it's not great
it's the best we have so far.
> Shouldn't this be documented? (Mice with wheels have been around
> for decades.)
I'd rather not document this ugly hack. We should indeed remap mouse-4
and mouse-5 to wheel-up and wheel-down (on X11) so those events can be
used everywhere.
Stefan
prev parent reply other threads:[~2009-02-17 1:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-16 22:41 recommended way to bind mouse-wheel events Drew Adams
2009-02-17 1:54 ` 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=jwvd4dh25ip.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.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.