all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: mark.t.kennedy@gmail.com, 53353@debbugs.gnu.org
Subject: bug#53353: 29.0.50; spurious <tab-bar> <mouse-movement> events generated by mouse motion in tab-bar
Date: Wed, 19 Jan 2022 13:37:36 +0200	[thread overview]
Message-ID: <83a6fst0qn.fsf@gnu.org> (raw)
In-Reply-To: <87fspk3wdg.fsf@yahoo.com> (message from Po Lu on Wed, 19 Jan 2022 17:31:07 +0800)

> From: Po Lu <luangruo@yahoo.com>
> Cc: mark.t.kennedy@gmail.com,  53353@debbugs.gnu.org
> Date: Wed, 19 Jan 2022 17:31:07 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > The usual protocol is that Lisp programs that enable mouse tracking
> > are those that bind mouse-movement events to 'ignore' as they see
> > fit.  If that is what you propose, then it follows that LSP should do
> > that if it doesn't want to support mouse-movement on the tab bar.
> 
> bindings.el binds mouse-movement events to `ignore'

That's only for the text area, not for the other elements of the Emacs
display.

> so I think the same should be done with the tab bar (and tool bar)
> mouse-movement events.

And scroll bar, and mode-line, and header-line, and tab-line,
etc. etc.  Where does all this end?

The global binding of mouse-movement in bindings.el is very old, and I
have no idea what were the reasons for it.  But we don't do anything
like that for any other mouse-movement gesture, so I don't think I
agree we should do it now.  If LSP doesn't want these events, it
should bind them to 'ignore' inside the track-mouse forms.





  reply	other threads:[~2022-01-19 11:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-19  1:02 bug#53353: 29.0.50; spurious <tab-bar> <mouse-movement> events generated by mouse motion in tab-bar Mark Kennedy
2022-01-19  1:52 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-19  1:56   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-19  7:52     ` Eli Zaretskii
2022-01-19  9:31       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-19 11:37         ` Eli Zaretskii [this message]
2022-01-19 11:54           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]             ` <CANru7VFRPt_To+v6PYCBBRbXVSQaXVWJsf-EK6WxPTXJvQuuiQ@mail.gmail.com>
2022-01-20  0:58               ` Po Lu 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=83a6fst0qn.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=53353@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=mark.t.kennedy@gmail.com \
    /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.