From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#68698: 30.0.50; Making xt-mouse emit `wheel-up/down` Date: Thu, 25 Jan 2024 21:30:02 -0500 Message-ID: References: <87sf2mp2ry.fsf@yahoo.com> <87r0i5o5ux.fsf@yahoo.com> <87r0i4n9bd.fsf@yahoo.com> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8302"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 68698@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 26 03:31:09 2024 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 1rTBzp-0001yi-2E for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Jan 2024 03:31:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTBze-0003zl-9o; Thu, 25 Jan 2024 21:30:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTBzb-0003zK-Tn for bug-gnu-emacs@gnu.org; Thu, 25 Jan 2024 21:30:55 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rTBzb-0008IO-Lh for bug-gnu-emacs@gnu.org; Thu, 25 Jan 2024 21:30:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rTBzh-0004eq-R9 for bug-gnu-emacs@gnu.org; Thu, 25 Jan 2024 21:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jan 2024 02:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68698 X-GNU-PR-Package: emacs Original-Received: via spool by 68698-submit@debbugs.gnu.org id=B68698.170623622317853 (code B ref 68698); Fri, 26 Jan 2024 02:31:01 +0000 Original-Received: (at 68698) by debbugs.gnu.org; 26 Jan 2024 02:30:23 +0000 Original-Received: from localhost ([127.0.0.1]:49801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTBz4-0004dt-VB for submit@debbugs.gnu.org; Thu, 25 Jan 2024 21:30:23 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:12873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTBz2-0004de-Ju for 68698@debbugs.gnu.org; Thu, 25 Jan 2024 21:30:21 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0486410009F; Thu, 25 Jan 2024 21:30:09 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1706236203; bh=/dLr47mWxA+JA0Xlz2IfeTjPX5uHmGitJ9xds5eMX6M=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=MMfDXidKRN/nTQqZgcpfp/Ctl/VRbZYiet06DbNdexCW/aHY89kO1VW7FOyLtKEq1 vX+xq/mb1whVlck0xe3sjcTce/MKJTHuq6P0LzQkMyf49flh/GXmW25RQqCSFqe2xf kHpco0hpYQhD77+TySUD9MOmA5KJRGT+bVL6PjOk361+0VU+2F/Hu2q46cuEURAiqc k5yriVcCKEIwXth7mZs1TJ2n8pNm0fP/CgwzM0s/Fqj2BXzzjNkJmmztcaKcAVdL7Y XGNRIAsjxUfOUh5DQiCQXGHjpEAVf3XDXHp0vobdghisUXIkgBnPgXIIPT/EsTutXK RXn+L4bCzSo4w== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E4F2A100054; Thu, 25 Jan 2024 21:30:03 -0500 (EST) Original-Received: from pastel (unknown [45.72.206.68]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C19181208F7; Thu, 25 Jan 2024 21:30:03 -0500 (EST) In-Reply-To: <87r0i4n9bd.fsf@yahoo.com> (Po Lu's message of "Fri, 26 Jan 2024 09:59:50 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278893 Archived-At: Po Lu [2024-01-26 09:59:50] wrote: > Stefan Monnier writes: >> 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. > > I am quite loath to change the set of events generated by the X11 button > event processing code, in view of the convoluted interaction between it, > toolkits, and code further down the line. Any other solution would be > preferable, such as perhaps: OK, will keep this in mind. The current bug#68698 is only suggesting changing `xt-mouse.el`, tho, so we can leave the X11 case for later (or for never, since we may also decide to let it disappear into the past as XInput2 becomes the norm). Stefan