From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#53353: 29.0.50; spurious events generated by mouse motion in tab-bar Date: Wed, 19 Jan 2022 13:37:36 +0200 Message-ID: <83a6fst0qn.fsf@gnu.org> References: <87bl08lepv.fsf@x1.mofjwutu.com> <874k605w6j.fsf@yahoo.com> <87y23c4hfq.fsf@yahoo.com> <83ilugtb5z.fsf@gnu.org> <87fspk3wdg.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26999"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mark.t.kennedy@gmail.com, 53353@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 19 14:15:28 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAAoA-0006sC-Ra for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 14:15:27 +0100 Original-Received: from localhost ([::1]:54950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAAo9-0005nT-Di for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 08:15:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nA9Is-0002Dx-Ns for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 06:39:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nA9Is-0002Q2-Em for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 06:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nA9Is-0002B1-BC for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 06:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jan 2022 11:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53353 X-GNU-PR-Package: emacs Original-Received: via spool by 53353-submit@debbugs.gnu.org id=B53353.16425922838287 (code B ref 53353); Wed, 19 Jan 2022 11:39:02 +0000 Original-Received: (at 53353) by debbugs.gnu.org; 19 Jan 2022 11:38:03 +0000 Original-Received: from localhost ([127.0.0.1]:52511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nA9Hv-00029b-02 for submit@debbugs.gnu.org; Wed, 19 Jan 2022 06:38:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nA9Hr-000291-2d for 53353@debbugs.gnu.org; Wed, 19 Jan 2022 06:38:01 -0500 Original-Received: from [2001:470:142:3::e] (port=34014 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nA9HZ-0002Cp-H8; Wed, 19 Jan 2022 06:37:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=bEU7fgY8h1OQbJkYqLwtQaCTCGahm/jHIK/iilCuEVI=; b=KMMe+cug6g23 qJ0WgUx+KpRT9VECs8AwkFreWBwmPJQBtzBjdHP54VtITwEVfPQt0cHFLGn2NJkUGX5gPqyylFMwm f+/hdOjeOVDiF5ZSEdAwJ7t51lb81vAZwDsEFe9HyjQ2a/LGH42EAa5vQa2PZNVwq0W8Ql44Cjm4g CyXnWmuB4raLlpikEe+0lAD/4eadYeDGoWSl5bJlBbOjmDkHsJc4PG+FASTwZ7Ie6kYT2yIj7trri KsopCOziVcV6OPpy2feTbGRxX/OVgPbWnaNV4OsEfyhwjr3OM3OhSUYQmDbAnxO5a7EPAOhpUiLQJ /P7ORQSG8HjWimM1/qnOGg==; Original-Received: from [87.69.77.57] (port=3957 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nA9HZ-0007Kp-KO; Wed, 19 Jan 2022 06:37:41 -0500 In-Reply-To: <87fspk3wdg.fsf@yahoo.com> (message from Po Lu on Wed, 19 Jan 2022 17:31:07 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:224563 Archived-At: > From: Po Lu > Cc: mark.t.kennedy@gmail.com, 53353@debbugs.gnu.org > Date: Wed, 19 Jan 2022 17:31:07 +0800 > > Eli Zaretskii 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.