From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jared Finder 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:02:34 -0800 Message-ID: <57c4e937bfae8fcfa5461f8fd1237f8a@finder.org> References: <86o7d9dg5e.fsf@gnu.org> <6f61db136adaa613660edbae970840b9@finder.org> Reply-To: Jared Finder Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40844"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 68698@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 26 06:03:18 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 1rTEN3-000AQ2-R3 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Jan 2024 06:03:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTEMj-0005WK-Tj; Fri, 26 Jan 2024 00:02:57 -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 1rTEMi-0005Ul-8S for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2024 00:02:56 -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 1rTEMi-0008T2-0K for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2024 00:02:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rTEMo-0000Zf-7N for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2024 00:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jared Finder Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jan 2024 05:03:02 +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.17062453632181 (code B ref 68698); Fri, 26 Jan 2024 05:03:02 +0000 Original-Received: (at 68698) by debbugs.gnu.org; 26 Jan 2024 05:02:43 +0000 Original-Received: from localhost ([127.0.0.1]:49884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTEMV-0000Z6-9L for submit@debbugs.gnu.org; Fri, 26 Jan 2024 00:02:43 -0500 Original-Received: from greenhill.hpalace.com ([192.155.80.58]:33920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTEMT-0000Yy-FD for 68698@debbugs.gnu.org; Fri, 26 Jan 2024 00:02:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1706245354; bh=IDRHX7DbauT+ir+FhdVC1Ky6RaeenLBsQ8IqgSlJwBE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Xy9RrrJ6B/FYQC+OSi6zCDJ1u96aoiYAtvqdd66oTe0K6+nuZ9nX50AUVCxQNyR5p 0f8mKBMLhdpW/eGC1iGCGYv/RGa4NcXXXUzAOgXMQbND87coVpefhtjcty/NOCrwJk GzsD8lsgv/N/dwrXx6OE2Tj2Ukd3GFhsfx87eZQu63ravI0EbnQmPSL3vGTSj7/AtV bXia7coWHuFjUYWbCimxKCiC0MajqgCwSSNvJqxWPvYOuzh03bM37xLbVTbGdHDAsi oXvq5sniLfw2Uqaix/j4fx4w6vOJ08y1BoItinrvMDGDaQAjoqxRqA0qB3IHKW90/d YE4Mz/PWV0ccQ== Original-Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id 44AB1A68; Fri, 26 Jan 2024 05:02:34 +0000 (UTC) In-Reply-To: X-Sender: jared@finder.org 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:278896 Archived-At: On 2024-01-25 18:26, Stefan Monnier wrote: >> A local run of HEAD (as of Jan 17, I'm at daec3e) with >> "./configure --with-pgtk" has mouse-wheel-up-event set to wheel-down >> because (featurep 'pgtk-win) is t, even with -nw on the command line. >> Testing on Windows at Emacs 29.1 shows the same behavior. > > This has been changed on `master` around Jan 19. Now `mwheel.el` uses > `wheel-up/down` unconditionally and `mouse-wheel-up/down-event` is only > used for *other* events (defaults to `mouse-4/5`). > >> Also, I do not think xt-mouse knows how to generate mouse-6 or mouse-7 >> events. I think to generate events beyond mouse-5, you need to test >> against the 128 bit as well. I don't have mouse hardware to confirm >> this behavior. > > I didn't both to check the code to see if that can happen (especially > since there are various possible encodings coming from the terminal). > The way wrote the code, it'll do the right thing if/when the rest of > `xt-mouse` manages to generate those events, but indeed it might be the > case that currently this will never happen. Ah great! Then I have no concerns about this patch. -- MJF