From: Daniel Radetsky <dradetsky@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Eli Zaretskii <eliz@gnu.org>, luangruo@yahoo.com, emacs-devel@gnu.org
Subject: Re: Disabling mouse input
Date: Sun, 3 Nov 2024 00:54:54 -0700 [thread overview]
Message-ID: <xrqjuvjsfphzcjnfnnwq4lhz65aw6bamk47arlqsqtsoo7knsw@6gryss6jvdry> (raw)
In-Reply-To: <jwv8qu1axwj.fsf-monnier+emacs@gnu.org>
On Sat, Nov 02, 2024 at 09:56:31PM GMT, Stefan Monnier wrote:
> For that reason, I'm in favor of adding generic support but not
> ad-hoc support.
Very sensible. FWIW, I provided low-genericity solution at
first just because I didn't want to invest a bunch of work
before I talked it over with y'all. I figured once (or if)
we established that the basic premise was sound (e.g. that I
had hooked the event check in at the right place) we could
talk about making it more complicated (like exposing the
to-filter event list to the user). As we seem to have
established the opposite, I'm glad I didn't.
> > I agree with your concern and your suggestion looks intriguing so I'm
> > going to test it.
>
> I'm curious to know how it works for your use case. If you encounter
> problems, do report them so we can see if maybe there's a way to provide
> solutions for them.
I created https://github.com/dradetsky/ignore-mouse. It
works in the sense of doing what I wanted. However, per
Eli's suggestion, the downsides of the approach are likely
to be subtle, and when they are problematic, difficult to
trace back to this package. But we'll see how it goes. If my
emacs explodes and kills the neighbor's dog, I won't mention
your name.
--dmr
next prev parent reply other threads:[~2024-11-03 7:54 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-02 2:01 Disabling mouse input Daniel Radetsky
2024-11-02 2:44 ` Corwin Brust
2024-11-02 3:07 ` Daniel Radetsky
2024-11-02 7:38 ` Eli Zaretskii
2024-11-02 10:17 ` Daniel Radetsky
2024-11-02 12:04 ` Eli Zaretskii
2024-11-02 13:38 ` Stefan Monnier
2024-11-02 14:32 ` James Cherti
2024-11-02 16:30 ` Dov Grobgeld
2024-11-02 16:43 ` Stefan Monnier
2024-11-02 17:07 ` tomas
2024-11-03 12:34 ` James Cherti
2024-11-03 12:47 ` tomas
2024-11-02 16:50 ` Eli Zaretskii
2024-11-02 16:54 ` Stefan Monnier
2024-11-02 16:59 ` Eli Zaretskii
2024-11-02 17:04 ` Stefan Monnier
2024-11-02 17:40 ` Eli Zaretskii
2024-11-02 18:11 ` Stefan Monnier
2024-11-02 18:32 ` Eli Zaretskii
2024-11-02 23:09 ` Daniel Radetsky
2024-11-03 1:56 ` Stefan Monnier
2024-11-03 7:54 ` Daniel Radetsky [this message]
2024-11-03 14:01 ` James Cherti
2024-11-04 9:48 ` Po Lu
2024-11-04 13:20 ` Eli Zaretskii
2024-11-02 13:17 ` James Cherti
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=xrqjuvjsfphzcjnfnnwq4lhz65aw6bamk47arlqsqtsoo7knsw@6gryss6jvdry \
--to=dradetsky@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@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.