From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: Eli Zaretskii <eliz@gnu.org>,
jm@pub.pink, Eshel Yaron <me@eshelyaron.com>,
68213@debbugs.gnu.org
Subject: bug#68213: 30.0.50; completion-preview-tests failure in --without-x build
Date: Mon, 08 Jan 2024 23:11:36 -0500 [thread overview]
Message-ID: <jwv8r4zxip2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <871qar5lox.fsf@yahoo.com> (Po Lu's message of "Tue, 09 Jan 2024 09:39:58 +0800")
>> Any chance you could try and help me figure out answers to those questions?
>>
>> At the very least we have a documentation problem because, as a user
>> reading the docstring of `mouse-wheel-down-alternate-event`, I have no
>> idea what this means or does and how it differs from
>> `mouse-wheel-down-event`.
>>
>> `mouse-wheel-down-event` is a defcustom because X11 failed
>> to define events for scroll wheel, and depending on your mouse, those
>> were not always mapped to the same `mouse-N` events. That doesn't seem
>> to apply to `mouse-wheel-down-alternate-event`.
>
> mouse-wheel-*-alternate-event were initially meant to reflect a second
> type of event generated by the window system in response to scroll wheel
> motion. At the time, it was set on XInput2 builds and no more, where
> wheel-* events are generated in addition to the customary mouse-*
> events.
>
> This arrangement was later modified before the release to set
> mouse-wheel-*-alternate-event to mouse-* wherever it had previously been
> nil, to provide for xterm-mouse-mode generating such events whatever the
> default value of mouse-wheel-*-event.
>
> As such, I suppose the difference is that between the mouse event
> generally emitted by the window system, and events which might be
> encountered under special circumstances.
You're describing the difference in terms of what they're currently set
to, but I'm asking the difference in their effect. I.e. what's the
difference between
(setq mouse-wheel-*-alternate-event A)
(setq mouse-wheel-*-event B)
and
(setq mouse-wheel-*-alternate-event B)
(setq mouse-wheel-*-event A)
My patch is based on the idea that the difference doesn't matter and
that one of the two can always hold `wheel-up/down` so we can
hardcode it.
>> Do you happen to remember the bug numbers of bug titles or something to
>> help me find info about those obscure problems?
> I think searching the bug tracker for "xterm-mouse-mode" and "mwheel"
> will help, and I also recall that the PGTK port was involved in some
> manner.
Thanks. I see that bug#50321 suggests we keep `mouse-4/5` in the
`mouse-wheel-*-event` for any build that can use `xterm-mouse-mode`.
It should be easy to adjust my patch to support that.
Tho bug#49803 suggests we could fix it in `xt-mouse.el` as well and make
`xt-mouse.el` emit `wheel-up/down` events instead.
Stefa
next prev parent reply other threads:[~2024-01-09 4:11 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-02 16:42 bug#68213: 30.0.50; completion-preview-tests failure in --without-x build john muhl via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-02 17:11 ` Eli Zaretskii
2024-01-02 17:20 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-02 17:42 ` john muhl via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-03 7:20 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-03 17:27 ` Eli Zaretskii
2024-01-03 18:45 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-03 19:18 ` Eli Zaretskii
2024-01-05 7:17 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-05 11:54 ` Eli Zaretskii
2024-01-07 17:15 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-07 17:19 ` Eli Zaretskii
2024-01-07 16:54 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-08 1:51 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-08 3:19 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-08 6:16 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-08 12:48 ` Eli Zaretskii
2024-01-08 14:20 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-08 17:12 ` Eli Zaretskii
2024-01-09 1:01 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-08 15:21 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-09 1:39 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-09 4:11 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-01-09 6:07 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-09 14:44 ` Drew Adams
2024-01-02 17:48 ` Eli Zaretskii
2024-01-07 16:46 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-02 17:48 ` john muhl via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-02 19:15 ` Eli Zaretskii
2024-01-02 22:49 ` john muhl via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-06 9:42 ` Eli Zaretskii
2024-01-07 17:03 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-07 17:09 ` Eli Zaretskii
2024-01-07 17:46 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-13 0:16 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-13 6:55 ` Eli Zaretskii
2024-01-13 7:17 ` Stefan Kangas
2024-01-20 9:15 ` Eli Zaretskii
2024-01-20 20:19 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=jwv8r4zxip2.fsf-monnier+emacs@gnu.org \
--to=bug-gnu-emacs@gnu.org \
--cc=68213@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=jm@pub.pink \
--cc=luangruo@yahoo.com \
--cc=me@eshelyaron.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 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.