all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-devel@gnu.org>
Subject: Why the `click' modifier for a mouse-wheel event?
Date: Fri, 26 Jun 2009 10:15:35 -0700	[thread overview]
Message-ID: <D8E40A33600B4FCFB065A40F01CE2DEA@us.oracle.com> (raw)

Subject line says it all.

In Emacs 22 (and 21, 20...), using the mouse wheel did not add any modifiers to
the event that was read.  In Emacs 23, `event-modifiers' for a
`mouse-wheel-down-event' or `mouse-wheel-up-event' returns `(click)'.

Why? Is this a bug or a feature or just an inescapable implementation
limitation?

This behavior doesn't seem right. Using the mouse wheel (without pressing it to
realize a click) is not the same as clicking a mouse button.

(I'm using Windows, so the `event-basic-type' for a wheel rotation is `wheel-up'
or `wheel-down'.)





             reply	other threads:[~2009-06-26 17:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-26 17:15 Drew Adams [this message]
2009-06-26 17:26 ` Why the `click' modifier for a mouse-wheel event? Drew Adams
2009-06-26 19:32 ` Chong Yidong
2009-07-06  3:27   ` Jason Rumney
2009-07-06  6:40     ` Drew Adams
2009-07-06  8:31       ` Jan D.
2009-07-06 15:34         ` Emacs bug list [was: Why the `click' modifier for a mouse-wheel event?] Drew Adams

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=D8E40A33600B4FCFB065A40F01CE2DEA@us.oracle.com \
    --to=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.