unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Po Lu <luangruo@yahoo.com>, 50993@debbugs.gnu.org
Subject: bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar
Date: Sun, 10 Oct 2021 15:10:58 -0400	[thread overview]
Message-ID: <jwv1r4svgxa.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83y270rd4j.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 10 Oct 2021 20:41:32 +0300")

> This is because of commit 2e595b3: we now report mouse gestures on
> tool bar and tab bar with the corresponding prefixes.  And
> keyboard.c+mouse.el evidently don't like to see [tool-bar mouse-movement].
>
> I have no idea how to fix this mess; I tried many things, but gave up
> eventually.  Perhaps Stefan knows what to do here.  As a kludge, maybe
> remove the prefix if the full even has no binding?  Anyway, we cannot
> revert that change because it was done to support mouse wheel on the
> tab bar.

I'm afraid I don't have a good idea either: this business of adding
prefix events like `mode-line` and `tool-bar` is quite fiddly and
I haven't managed to wrap my head around precisely how it's supposed
to work.

I think it would make sense to drop those prefixes when the resulting
key sequence has otherwise no binding, but at the same time it feels
a bit like adding a hack on top of another one.


        Stefan "wondering if using modifiers instead of prefixes would
                have made things better or made them worse"






  reply	other threads:[~2021-10-10 19:10 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87r1d2b9e2.fsf.ref@yahoo.com>
2021-10-03 12:06 ` bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-10 17:41   ` Eli Zaretskii
2021-10-10 19:10     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-10-10 19:23       ` Eli Zaretskii
2021-10-10 21:53         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-11  0:34           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-11  7:19             ` martin rudalics
2021-10-11  7:24               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-11  9:21                 ` martin rudalics
2021-10-11 10:40                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-11 12:31                     ` martin rudalics
2021-10-11 12:49                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-11 16:29                         ` martin rudalics
2021-10-12  0:09                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-12  8:12                             ` martin rudalics
2021-10-12 14:01                               ` Eli Zaretskii
2021-10-12 14:25                                 ` martin rudalics
2021-10-12 15:55                                   ` Eli Zaretskii
2021-10-12 17:27                                     ` martin rudalics
2021-10-12 19:23                                       ` Juri Linkov
2021-10-13  8:36                                         ` martin rudalics
2021-10-13 12:51                                           ` Eli Zaretskii
2021-10-14  9:12                                             ` martin rudalics
2021-10-13 19:07                                           ` Juri Linkov
2021-10-14  9:13                                             ` martin rudalics
2021-10-14  9:35                                               ` Eli Zaretskii
2021-10-14 16:09                                               ` Juri Linkov
2021-10-14 17:01                                                 ` martin rudalics
2021-10-14 17:10                                                   ` Juri Linkov
2021-10-14 17:47                                                     ` martin rudalics
2021-10-14 18:02                                                       ` Juri Linkov
2021-10-17 17:49                                                       ` Juri Linkov

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv1r4svgxa.fsf-monnier+emacs@gnu.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=50993@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=monnier@iro.umontreal.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).