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#68698: 30.0.50; Making xt-mouse emit `wheel-up/down` Date: Fri, 26 Jan 2024 09:56:23 +0200 Message-ID: <86bk98bk9k.fsf@gnu.org> References: <86o7d9dg5e.fsf@gnu.org> <6f61db136adaa613660edbae970840b9@finder.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17452"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68698@debbugs.gnu.org, jared@finder.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 26 08:57:16 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 1rTH5P-0004Hu-Er for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Jan 2024 08:57:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTH57-0007Hl-T5; Fri, 26 Jan 2024 02:56: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 1rTH56-0007HV-0T for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2024 02:56: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 1rTH55-0001xM-Np for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2024 02:56:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rTH5B-0005jv-NM for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2024 02:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jan 2024 07:57: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.170625580722042 (code B ref 68698); Fri, 26 Jan 2024 07:57:01 +0000 Original-Received: (at 68698) by debbugs.gnu.org; 26 Jan 2024 07:56:47 +0000 Original-Received: from localhost ([127.0.0.1]:50181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTH4w-0005jS-K4 for submit@debbugs.gnu.org; Fri, 26 Jan 2024 02:56:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTH4u-0005jG-OO for 68698@debbugs.gnu.org; Fri, 26 Jan 2024 02:56:45 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTH4h-0001rp-1F; Fri, 26 Jan 2024 02:56:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=rZNLn5AdbZRYPKo05lhqI1uYq49CG0ayhtDHRIbz7lM=; b=TDrsjPsZyiL8Nq//Aq2+ 0ggxTSATL8tsa/a8rM/xluKowcREfy2kTvp0ZD0nvdwmn9UfzOTUWgZhJHkwYa++MKpplCH9PlaSz 4cXh+0y90u8tzJmYDk7W+cyUFoQYOn7CtBmCDpLkCFR2k5J9yLl8Gc0O2skm0jZ7vyPVUoh4fd/8T jXAnrZZivvzOHdAv7HLOpgmVvvrRMdv+vGMvEQ+i+0Cu6OX+STWxOlf23u3QZmX9hIPwflTfFh2fD +Y77dYz5Bp4ttQ34cnEFmxl+XQ+7/QyxcJ/78l5/vFCzRvKanmwhIe9Byt8BP6RCxYZJCnd0bE9HU /F6P1RC3zggXWQ==; In-Reply-To: (message from Stefan Monnier on Thu, 25 Jan 2024 21:26:49 -0500) 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:278902 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , 68698@debbugs.gnu.org > Date: Thu, 25 Jan 2024 21:26:49 -0500 > > > 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`). Was this reflected in the documentation? The ELisp Reference manual still says The ‘wheel-up’ and ‘wheel-down’ events are generated only on some kinds of systems. On other systems, other events like ‘mouse-4’ and ‘mouse-5’ are used instead. Portable code should handle both ‘wheel-up’ and ‘wheel-down’ events as well as the events specified in the variables ‘mouse-wheel-up-event’ and ‘mouse-wheel-down-event’, defined in ‘mwheel.el’. Beware that for historical reasons the ‘mouse-wheel-_up_-event’ is the variable that holds an event that should be handled similarly to ‘wheel-_down_’ and vice versa. Is that still correct and accurate? (And what about a similar issue with wheel-left/right?).