all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jason <jgg@ziepe.ca>
Cc: 41722@debbugs.gnu.org
Subject: bug#41722: 26.3; mouse-2 does not work well on 7 button mouse
Date: Mon, 06 Jun 2022 15:54:54 +0200	[thread overview]
Message-ID: <8735ghvqvl.fsf@gnus.org> (raw)
In-Reply-To: <875zc5fulv.fsf@ziepe.ca> (Jason's message of "Fri, 05 Jun 2020 11:35:56 -0300")

Jason <jgg@ziepe.ca> writes:

> My mouse has the mouse-wheel-right/left-event capability, however due to
> the HW design if you try to generate mouse-2 (eg middle click) it nearly
> always is preceded by a mouse-6 or mouse-7 event. xev confirms this.
>
> At some point mwheel.el gained support for the
> mouse-wheel-right/left-event, and traps it into
> mwheel-scroll. mwheel-scroll causes *any* wheel event to disable mouse-2
> on a timer (see mwheel-inhibit-click-event-timer).
>
> Thus with my mouse middle click doesn't work in emacs any more. This is
> a new regression at some point since emacs 25.2
>
> Since the mwheel left/right scroll is inhibited by default (see
> mouse-wheel-tilt-scroll) it should not trigger the inhibit click event
> timer unless that function is turned on.
>
> This mouse is a logitech M-U0007
>
> A simple work around is to unbind mouse-6/7 but it was very tricky to
> figure all this out.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

If I understand the logic surrounding mwheel-inhibit-click-event-timer
(and I may well not), this is basically working as designed, and the
correct solution here is to do what you did -- unbind mouse-6/7.

I'm not sure what we can do on the Emacs side here -- perhaps document
this better?  But I'm not sure were.  Does anybody have an opinion here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-06-06 13:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-05 14:35 bug#41722: 26.3; mouse-2 does not work well on 7 button mouse Jason
2022-06-06 13:54 ` Lars Ingebrigtsen [this message]
2022-07-05 11:45   ` Lars Ingebrigtsen

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=8735ghvqvl.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=41722@debbugs.gnu.org \
    --cc=jgg@ziepe.ca \
    /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.