all messages for Emacs-related lists mirrored at yhetil.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: Po Lu <luangruo@yahoo.com>
Cc: 68698@debbugs.gnu.org
Subject: bug#68698: 30.0.50; Making xt-mouse emit `wheel-up/down`
Date: Thu, 25 Jan 2024 10:41:03 -0500	[thread overview]
Message-ID: <jwvede5pgtr.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87r0i5o5ux.fsf@yahoo.com> (Po Lu's message of "Thu, 25 Jan 2024 22:16:54 +0800")

Po Lu [2024-01-25 22:16:54] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I'm not suggesting to get rid of those vars.  I'm suggesting to use
>> those vars in the C code when generating the event.
> Why, though?  Why not bind them within input-decode-map, if really
> necessary?

The main reason is that it's painful to do it in `input-decode-map`
because it has to be done not just for `mouse-4/5/6/7` but for all
combinations of possible modifiers (shift, control, alt, meta, super,
hyper, double, triple, down), so that's like a couple thousand entries
we'd need to put in that map.


        Stefan "wishing we had more flexible keymaps (e.g. "procedural"
                keymaps which can compute the binding for a given key)"






  reply	other threads:[~2024-01-25 15:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-24 20:31 bug#68698: 30.0.50; Making xt-mouse emit `wheel-up/down` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-25  2:25 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-25 13:47   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-25 14:16     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-25 15:41       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-01-26  1:59         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-26  2:30           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-25  7:30 ` Eli Zaretskii
2024-01-26  1:41   ` Jared Finder via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-26  2:26     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-26  5:02       ` Jared Finder via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-26  7:56       ` Eli Zaretskii
2024-01-26 13:04         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-28 23:52 ` 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=jwvede5pgtr.fsf-monnier+emacs@gnu.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=68698@debbugs.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 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.