GNU bug report logs - #76812
vestigial elisp manual descriptions of obsolete variables mouse-wheel-up/down-event

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: JD Smith <jdtsmith@HIDDEN>; dated Fri, 7 Mar 2025 13:50:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'minor' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 76812 <at> debbugs.gnu.org:


Received: (at 76812) by debbugs.gnu.org; 8 Mar 2025 19:38:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 08 14:38:10 2025
Received: from localhost ([127.0.0.1]:56910 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqzzt-0006Uh-NB
	for submit <at> debbugs.gnu.org; Sat, 08 Mar 2025 14:38:09 -0500
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:24734)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <monnier@HIDDEN>)
 id 1tqzzq-0006U1-FE
 for 76812 <at> debbugs.gnu.org; Sat, 08 Mar 2025 14:38:07 -0500
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 7DB4B100066;
 Sat,  8 Mar 2025 14:38:00 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1741462679;
 bh=eUauzjVrLBQJXXRpJK4x9fnpJDnn6aMLBH1L5v8bCBU=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=or6EdrjaRId3UC99Fix8zc2O6w0DL1g2SwOdBDJ0s+cav8G8OvQxmDZiHjmicb67a
 NIyumbADeY9pJw4ZFuEprz+e4BU53o3nWI5EaZcBbrJzT3AUPkiNHnhwzcVJe7jGHL
 UpcRTaUtU4EzjpLBmOvwtsoUkNq8b6BWNJAdFuYtgVIeR0hxeARYPdd77Q9ZpvcKx/
 X+Y+piZHNSqjNE0cVHS/jLGOIYggDfMfTpMtRBa058NQqd2HnYAvffOgcZkb6FLkhj
 rIWu+y35IaPvthdEo2RLYwCqrU7lsGsDoVSbeWFM0JA0MaTJzHzZ/x3rodKDLuthC7
 B8a/K4brd7Iag==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id DC14F100034;
 Sat,  8 Mar 2025 14:37:59 -0500 (EST)
Received: from alfajor
 (bras-base-cwvlpq2008w-grc-04-184-145-172-59.dsl.bell.ca [184.145.172.59])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id AD9DB1201E6;
 Sat,  8 Mar 2025 14:37:59 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: JD Smith <jdtsmith@HIDDEN>
Subject: Re: bug#76812: vestigial elisp manual descriptions of obsolete
 variables mouse-wheel-up/down-event
In-Reply-To: <804E3AE4-4BCB-4D64-8C95-854BD638986F@HIDDEN>
Message-ID: <jwvo6ybpbig.fsf-monnier+emacs@HIDDEN>
References: <6E1961D7-45C9-4635-9122-5329B6988D17@HIDDEN>
 <CADwFkm=8OsBb+dMLw3AuYjKn8Yp6NhpizyQ7Ke4ggwkiWHLb0Q@HIDDEN>
 <jwvplissqz3.fsf-monnier+emacs@HIDDEN>
 <CADwFkm=+5iMkd=OnpcdWa1NuOTkJr97pj48Kav6MxtMH1TQ8CA@HIDDEN>
 <804E3AE4-4BCB-4D64-8C95-854BD638986F@HIDDEN>
Date: Sat, 08 Mar 2025 14:37:59 -0500
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.217 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76812
Cc: 76812 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>> Would it make sense we say something about what those "unusual
>> configurations" are?

IIRC the only known cases where the `mouse-4/5` are still used instead
of `wheel-up/down` is when the users set `mouse-wheel-buttons` to nil,
presumably in order to work around a problem in a package which has not
yet been updated to pay attention to wheel-up/down.

Of course, there may also be packages out there doing things similar to
`xterm-mouse-mode` and which still generate `mouse-4/5` events, tho
I haven't heard of such packages.

> I think so.  The current situation is sort of odd, in that the variables are
> both obsoleted (conveying: do not use in new code), and also apparently
> required for use in new portable code.  Does that suggest they were
> obsoleted prematurely, if they are still required on some systems?

Yeah, I would be fine with just removing mention of those variables.


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76812; Package emacs. Full text available.

Message received at 76812 <at> debbugs.gnu.org:


Received: (at 76812) by debbugs.gnu.org; 7 Mar 2025 20:46:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 07 15:46:01 2025
Received: from localhost ([127.0.0.1]:50803 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqeZz-0007Nf-Ve
	for submit <at> debbugs.gnu.org; Fri, 07 Mar 2025 15:46:00 -0500
Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]:57465)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <jdtsmith@HIDDEN>)
 id 1tqeZx-00078W-Sh
 for 76812 <at> debbugs.gnu.org; Fri, 07 Mar 2025 15:45:58 -0500
Received: by mail-qk1-x72b.google.com with SMTP id
 af79cd13be357-7c04df48a5bso212080785a.2
 for <76812 <at> debbugs.gnu.org>; Fri, 07 Mar 2025 12:45:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741380352; x=1741985152; darn=debbugs.gnu.org;
 h=references:to:cc:in-reply-to:date:subject:mime-version:message-id
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=R8MHwp9JR+o6ZMRIQ1o2JF6VJkjtWFYcXfXQdJfJeSs=;
 b=QSA/J0Q6qNFy2oerD51T3gdr2SS3zH4yaVRTj6Mu0Bok1dnsVp3EeWa501gyPfMcQZ
 8FFvpd+bzDFU0aNJ+HMhmzlwCP2ZFzvh9ut7aD6zK44xSFppe8AD/YnhhQijvvdQp6yW
 YKMbvK5Y1DKeHioGTnsBei2/EpmGMQafW5gjyr17TXuU/wUqCH/oqH464OqqPVn55Ass
 OrdLOULTHRIGoVGSJonFuc+IjDM/kGnwVVOOu406iYCroUt/j5iHmS2cdo8hsYKewX/E
 B/bmyIBXaJRpN3fiDnO5pH5Kc7aGXyjo6f6FhQRBwVl+d1yY/RtlIqtaeCz+0LBSxb1n
 4+Jg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741380352; x=1741985152;
 h=references:to:cc:in-reply-to:date:subject:mime-version:message-id
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=R8MHwp9JR+o6ZMRIQ1o2JF6VJkjtWFYcXfXQdJfJeSs=;
 b=wRnbKPq6t4xiOybKUk9VI9x7T4KXi/tdC/nEo7pm7FAjkckc1EBJDd9XEgU/VFHuqM
 2P3gV9FFQWeU1m1QiDWwTx/enrIix50jbiHnPWsiGRNlUJZEsHyLEM6/YX/3IeuY+qL5
 muq3padxIEKcSjtlISy2NAyniBBsL7cLolk4HU0HSisVh0oRvjgtrL5P0BIFNJb9nd8w
 Jc5XCZ4fnuH9TAvOSN96MowR+qOoL7/WcGXaJv3fWUw9HWNgzIaDYYny7TtPviUCFhIs
 CQMQBHKsEgCufXRPlGW/sVQiZDKhqk1sLi/F95qxRAeB2K7+ypVSDncaGAVsvvwa2Ht0
 09Tw==
X-Forwarded-Encrypted: i=1;
 AJvYcCVbipqTh1avMlFHJ4N/W0BBYM8LnSvqfIgaCRmPcJ571QhrPv1haIf/LMKvTQXi6unojtXFvQ==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YxPepsMo9tdke6fp/udVLV5OvLrvGkeUjLxIYxJanX6ntU4ZECB
 1G2+mG/ruz3fsCNpZzkcDgKYDXM+YT+0DAbvfif+TJXyAQ5p4uPh
X-Gm-Gg: ASbGnct+3vEOcyW5OfO4LIDkVwy8gLH1mg8SQePX0P/WQ5xxGyD+dLJSx+fkZssMWMI
 K/0dM5/j7oqLsDt/sdWpBeN+H39AQaOEwiJWtNqOgNUlRowD27vNdVr6MK0AoQHRhIsoPtuEWpp
 hvDDtU815YfHWVWJwksQXZmj5fMwM7MsWIaM1Q5bG6XXow5CSa+7mWr9chbc0m8eC4zUwH2KvxM
 3N8YTpvu8LwhXv63P527clgAaQfMxn5Md0wP1dOiEhlmjp8o8Ek1mq1b+xRjQJ4CQsm2WO3uciG
 HlBcASAU2MRHOzhnwxKQKPNLxg4/uIkK5EvpftN3PGhKrr5bxLTAfGTpr3gnhelYoSguEwryVBi
 AG2dF55MsAsKtvLvU
X-Google-Smtp-Source: AGHT+IGE9SGEu8V/tvUfQH/hsku2ZekOv7LPv20Qpm1loOvghSIQiqCcVsRNEoa2guEGpGtmf4J+qw==
X-Received: by 2002:a05:620a:439b:b0:7c3:c7a6:cf33 with SMTP id
 af79cd13be357-7c4e6178e67mr744997885a.44.1741380352162; 
 Fri, 07 Mar 2025 12:45:52 -0800 (PST)
Received: from smtpclient.apple (cm-24-53-185-196.buckeyecom.net.
 [24.53.185.196]) by smtp.gmail.com with ESMTPSA id
 af79cd13be357-7c3e54ffa27sm284334585a.83.2025.03.07.12.45.51
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 07 Mar 2025 12:45:51 -0800 (PST)
From: JD Smith <jdtsmith@HIDDEN>
Message-Id: <804E3AE4-4BCB-4D64-8C95-854BD638986F@HIDDEN>
Content-Type: multipart/alternative;
 boundary="Apple-Mail=_B48C569A-98C2-4A4B-B8C3-72DF2BE357A3"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.400.131.1.6\))
Subject: Re: bug#76812: vestigial elisp manual descriptions of obsolete
 variables mouse-wheel-up/down-event
Date: Fri, 7 Mar 2025 15:45:40 -0500
In-Reply-To: <CADwFkm=+5iMkd=OnpcdWa1NuOTkJr97pj48Kav6MxtMH1TQ8CA@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
References: <6E1961D7-45C9-4635-9122-5329B6988D17@HIDDEN>
 <CADwFkm=8OsBb+dMLw3AuYjKn8Yp6NhpizyQ7Ke4ggwkiWHLb0Q@HIDDEN>
 <jwvplissqz3.fsf-monnier+emacs@HIDDEN>
 <CADwFkm=+5iMkd=OnpcdWa1NuOTkJr97pj48Kav6MxtMH1TQ8CA@HIDDEN>
X-Mailer: Apple Mail (2.3826.400.131.1.6)
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76812
Cc: 76812 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--Apple-Mail=_B48C569A-98C2-4A4B-B8C3-72DF2BE357A3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On Mar 7, 2025, at 12:22=E2=80=AFPM, Stefan Kangas =
<stefankangas@HIDDEN> wrote:
>=20
> Stefan Monnier <monnier@HIDDEN =
<mailto:monnier@HIDDEN>> writes:
>=20
>>>> The following paragraph in the elisp manual section "Miscellaneous =
System
>>>> Events" describes blinding events based on the now obsolete =
variables
>>>> `mouse-wheel-down-event', etc.:
>>>>=20
>>>>>     The =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 =
events are generated only on some
>>>>>     kinds of systems.  On other systems, other events like =
=E2=80=98mouse-4=E2=80=99
>>>>>     and =E2=80=98mouse-5=E2=80=99 are used instead.  Portable code =
should handle both
>>>>>     =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 =
events as well as the events specified
>>>>>     in the variables =E2=80=98mouse-wheel-up-event=E2=80=99 and
>>>>>     =E2=80=98mouse-wheel-down-event=E2=80=99, defined in =
=E2=80=98mwheel.el=E2=80=99.  Beware that for
>>>>>     historical reasons the =E2=80=98mouse-wheel-_up_-event=E2=80=99 =
is the variable
>>>>>     that holds an event that should be handled similarly to
>>>>>     =E2=80=98wheel-_down_=E2=80=99 and vice versa.
>>>=20
>>> Stefan, WDYT?
>>=20
>> To the extent that there are still cases where mouse-4/5 is used,
>> I guess we can keep that almost unchanged, except to adjust the =
wording
>> to indicate what is more normal.  E.g.:
>>=20
>>    The =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 =
events are generated on most systems.
>>    But in some unusual configurations, other events like =
=E2=80=98mouse-4=E2=80=99
>>    and =E2=80=98mouse-5=E2=80=99 may still be used instead.  Portable =
code that wants
>>    to accommodate those cases should handle both
>>    =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 events =
as well as the events specified
>>    in the variables =E2=80=98mouse-wheel-up-event=E2=80=99 and
>>    =E2=80=98mouse-wheel-down-event=E2=80=99, defined in =
=E2=80=98mwheel.el=E2=80=99.  Beware that for
>>    historical reasons the =E2=80=98mouse-wheel-_up_-event=E2=80=99 is =
the variable
>>    that holds an event that should be handled similarly to
>>    =E2=80=98wheel-_down_=E2=80=99 and vice versa.
>>=20
>> ?
>=20
> Would it make sense we say something about what those "unusual
> configurations" are?

I think so.  The current situation is sort of odd, in that the variables =
are both obsoleted (conveying: do not use in new code), and also =
apparently required for use in new portable code.  Does that suggest =
they were obsoleted prematurely, if they are still required on some =
systems?


--Apple-Mail=_B48C569A-98C2-4A4B-B8C3-72DF2BE357A3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;"><br =
id=3D"lineBreakAtBeginningOfMessage"><div><br><blockquote =
type=3D"cite"><div>On Mar 7, 2025, at 12:22=E2=80=AFPM, Stefan Kangas =
&lt;stefankangas@HIDDEN&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div><meta charset=3D"UTF-8"><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">Stefan Monnier &lt;</span><a =
href=3D"mailto:monnier@HIDDEN" style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;">monnier@HIDDEN</a><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;">&gt; =
writes:</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><br style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><blockquote type=3D"cite" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><blockquote type=3D"cite"><blockquote =
type=3D"cite">The following paragraph in the elisp manual section =
"Miscellaneous System<br>Events" describes blinding events based on the =
now obsolete variables<br>`mouse-wheel-down-event', =
etc.:<br><br><blockquote type=3D"cite">&nbsp;&nbsp;&nbsp;&nbsp;The =
=E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 events are =
generated only on some<br>&nbsp;&nbsp;&nbsp;&nbsp;kinds of systems. =
&nbsp;On other systems, other events like =
=E2=80=98mouse-4=E2=80=99<br>&nbsp;&nbsp;&nbsp;&nbsp;and =E2=80=98mouse-5=E2=
=80=99 are used instead. &nbsp;Portable code should handle =
both<br>&nbsp;&nbsp;&nbsp;&nbsp;=E2=80=98wheel-up=E2=80=99 and =
=E2=80=98wheel-down=E2=80=99 events as well as the events =
specified<br>&nbsp;&nbsp;&nbsp;&nbsp;in the variables =
=E2=80=98mouse-wheel-up-event=E2=80=99 =
and<br>&nbsp;&nbsp;&nbsp;&nbsp;=E2=80=98mouse-wheel-down-event=E2=80=99, =
defined in =E2=80=98mwheel.el=E2=80=99. &nbsp;Beware that =
for<br>&nbsp;&nbsp;&nbsp;&nbsp;historical reasons the =
=E2=80=98mouse-wheel-_up_-event=E2=80=99 is the =
variable<br>&nbsp;&nbsp;&nbsp;&nbsp;that holds an event that should be =
handled similarly to<br>&nbsp;&nbsp;&nbsp;&nbsp;=E2=80=98wheel-_down_=E2=80=
=99 and vice versa.<br></blockquote></blockquote><br>Stefan, =
WDYT?<br></blockquote><br>To the extent that there are still cases where =
mouse-4/5 is used,<br>I guess we can keep that almost unchanged, except =
to adjust the wording<br>to indicate what is more normal. =
&nbsp;E.g.:<br><br>&nbsp;&nbsp;&nbsp;The =E2=80=98wheel-up=E2=80=99 and =
=E2=80=98wheel-down=E2=80=99 events are generated on most =
systems.<br>&nbsp;&nbsp;&nbsp;But in some unusual configurations, other =
events like =E2=80=98mouse-4=E2=80=99<br>&nbsp;&nbsp;&nbsp;and =
=E2=80=98mouse-5=E2=80=99 may still be used instead. &nbsp;Portable code =
that wants<br>&nbsp;&nbsp;&nbsp;to accommodate those cases should handle =
both<br>&nbsp;&nbsp;&nbsp;=E2=80=98wheel-up=E2=80=99 and =
=E2=80=98wheel-down=E2=80=99 events as well as the events =
specified<br>&nbsp;&nbsp;&nbsp;in the variables =
=E2=80=98mouse-wheel-up-event=E2=80=99 =
and<br>&nbsp;&nbsp;&nbsp;=E2=80=98mouse-wheel-down-event=E2=80=99, =
defined in =E2=80=98mwheel.el=E2=80=99. &nbsp;Beware that =
for<br>&nbsp;&nbsp;&nbsp;historical reasons the =
=E2=80=98mouse-wheel-_up_-event=E2=80=99 is the =
variable<br>&nbsp;&nbsp;&nbsp;that holds an event that should be handled =
similarly to<br>&nbsp;&nbsp;&nbsp;=E2=80=98wheel-_down_=E2=80=99 and =
vice versa.<br><br>?<br></blockquote><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;">Would =
it make sense we say something about what those "unusual</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">configurations" are?</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: =
none;"></div></blockquote><div><br></div><div>I think so. &nbsp;The =
current situation is sort of odd, in that the variables are both =
obsoleted (conveying: do not use in new code), and also apparently =
required for use in new portable code. &nbsp;Does that suggest they were =
obsoleted prematurely, if they are still required on some =
systems?</div></div><br></body></html>=

--Apple-Mail=_B48C569A-98C2-4A4B-B8C3-72DF2BE357A3--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76812; Package emacs. Full text available.

Message received at 76812 <at> debbugs.gnu.org:


Received: (at 76812) by debbugs.gnu.org; 7 Mar 2025 17:23:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 07 12:23:03 2025
Received: from localhost ([127.0.0.1]:49893 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqbPa-00030B-Hv
	for submit <at> debbugs.gnu.org; Fri, 07 Mar 2025 12:23:03 -0500
Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:44244)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1tqbPY-0002ze-C2
 for 76812 <at> debbugs.gnu.org; Fri, 07 Mar 2025 12:23:00 -0500
Received: by mail-ed1-x536.google.com with SMTP id
 4fb4d7f45d1cf-5e095d47a25so3873608a12.0
 for <76812 <at> debbugs.gnu.org>; Fri, 07 Mar 2025 09:23:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741368174; x=1741972974; darn=debbugs.gnu.org;
 h=content-transfer-encoding:cc:to:subject:message-id:date
 :mime-version:references:in-reply-to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=/xfwYbh6eJAFpuA95+OpCWGt4isSoMiC65ZMNjxp9k4=;
 b=gTEkdc0I0NUdMRQKbd7G9GbQc7eHFk+ZFozcchf7OUBN2+w7hw9wPR1iz8EeBRKfpI
 FgJHTKQ6Lu++pHR9DjKvYxUrhS/MyRcnpwQxlTwEHdoXGwqeI/trjyOZbAucukK5rpTp
 OantQXBmCCRH98nkDI+MHhKJJbi6JLslQcQo+/4cR/XLuJTMU80hBDGeDUEPtCWSYs8s
 t/qHDdwAOcvc/ITQt02Ivszc5eVSjr+wm1xNbb7kQbTiJcQKje4WlkA6DqUNTubuNUUq
 DONXg/04D/QpIO5qbcB+HlqZieFD/AbhsSRrwIOmhWLTnv/S3w6W1bB6/1B2fU4x2P0c
 cs7A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741368174; x=1741972974;
 h=content-transfer-encoding:cc:to:subject:message-id:date
 :mime-version:references:in-reply-to:from:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=/xfwYbh6eJAFpuA95+OpCWGt4isSoMiC65ZMNjxp9k4=;
 b=OWGcWuihKMYk7UkXFAKK+3vgIxg4kVTjp/R0963govHDnyEAUK+Ngm0I/SyVLGjRj6
 zaDlEUZqXkUTcvfilnnoqXa3ur/2PvdR0lkp7+ZRNUhjISJHJQqAG9wvjRIm7FYcRmiD
 1qoB1Z37KSYoePxf+GH6OHntCo5aY66qz+0wUJsbuq80j7TZrdTyM0pgZoxmEPdYirKq
 56A0cS0+Xv8IMWuIrBg7YZ+dQM43aZzZSGImw5Tj0QN17XvgAi7WcZ6pwd6eMFwrBHDi
 ilO5MMIQUwepG8Q8j9bBpSpWjlJg8PBQUWWRBXPBML/HO2V1uBtke2GdlgioeyH8kwKx
 23YQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCX1O3ux2fWl2f6aOM0a6+Bm0XEKnlqXD8yfO7I3E5IxL4F1hh+MFr3Wjnl3SWoIKzHQYjJzhA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzJAKB83+fqs2rrDBkwmFRo/o7RwUYymISRzJDvHXRd5C6oybpw
 YMtavc93Fp6An1cH+i9jrSj0ZJIJRBCn1hE+Sz9Ijq67d7jx2ARJi2SLp7DR5445kzcTFMBSE0p
 Mbp8G30zpmB/lyj0LTslbLeoa1Pw=
X-Gm-Gg: ASbGncv1U7N0+LPi1oMhd9h3ryWTSCGQ3i8eO0i2z66tAuRXz0K0kkUdd3P6sIDP3ov
 NUcnxh0gy7eYG+YSRpG0cc54njDbjGqxfPKJmQpKG4j6MfTM1ajeYupVCyRG2fDleT7AEU866k6
 yaJr1EnFyTF18Bs6muYtdJpj0i6g==
X-Google-Smtp-Source: AGHT+IERrC9TlLBgKKNrz6v6HhN5W2M9ZrjimvEtoa9vB5ej9DNobpOBhjikw+ZPDHW1d9Pi5zLHcp7KeD4t1334bv0=
X-Received: by 2002:a05:6402:34ce:b0:5e5:c5f5:f4b with SMTP id
 4fb4d7f45d1cf-5e5e246896dmr4309898a12.22.1741368173892; Fri, 07 Mar 2025
 09:22:53 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 7 Mar 2025 17:22:53 +0000
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <jwvplissqz3.fsf-monnier+emacs@HIDDEN>
References: <6E1961D7-45C9-4635-9122-5329B6988D17@HIDDEN>
 <CADwFkm=8OsBb+dMLw3AuYjKn8Yp6NhpizyQ7Ke4ggwkiWHLb0Q@HIDDEN>
 <jwvplissqz3.fsf-monnier+emacs@HIDDEN>
MIME-Version: 1.0
Date: Fri, 7 Mar 2025 17:22:53 +0000
X-Gm-Features: AQ5f1JoDQ4N2F9DBd5S2JzdGwkRZidQyP2ErUjcO2yIr7N3VWiZCQNWGHCICLF8
Message-ID: <CADwFkm=+5iMkd=OnpcdWa1NuOTkJr97pj48Kav6MxtMH1TQ8CA@HIDDEN>
Subject: Re: bug#76812: vestigial elisp manual descriptions of obsolete
 variables mouse-wheel-up/down-event
To: Stefan Monnier <monnier@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76812
Cc: 76812 <at> debbugs.gnu.org, JD Smith <jdtsmith@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Stefan Monnier <monnier@HIDDEN> writes:

>>> The following paragraph in the elisp manual section "Miscellaneous Syst=
em
>>> Events" describes blinding events based on the now obsolete variables
>>> `mouse-wheel-down-event', etc.:
>>>
>>>>      The =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 e=
vents are generated only on some
>>>>      kinds of systems.  On other systems, other events like =E2=80=98m=
ouse-4=E2=80=99
>>>>      and =E2=80=98mouse-5=E2=80=99 are used instead.  Portable code sh=
ould handle both
>>>>      =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 event=
s as well as the events specified
>>>>      in the variables =E2=80=98mouse-wheel-up-event=E2=80=99 and
>>>>      =E2=80=98mouse-wheel-down-event=E2=80=99, defined in =E2=80=98mwh=
eel.el=E2=80=99.  Beware that for
>>>>      historical reasons the =E2=80=98mouse-wheel-_up_-event=E2=80=99 i=
s the variable
>>>>      that holds an event that should be handled similarly to
>>>>      =E2=80=98wheel-_down_=E2=80=99 and vice versa.
>>
>> Stefan, WDYT?
>
> To the extent that there are still cases where mouse-4/5 is used,
> I guess we can keep that almost unchanged, except to adjust the wording
> to indicate what is more normal.  E.g.:
>
>     The =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 event=
s are generated on most systems.
>     But in some unusual configurations, other events like =E2=80=98mouse-=
4=E2=80=99
>     and =E2=80=98mouse-5=E2=80=99 may still be used instead.  Portable co=
de that wants
>     to accommodate those cases should handle both
>     =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 events as=
 well as the events specified
>     in the variables =E2=80=98mouse-wheel-up-event=E2=80=99 and
>     =E2=80=98mouse-wheel-down-event=E2=80=99, defined in =E2=80=98mwheel.=
el=E2=80=99.  Beware that for
>     historical reasons the =E2=80=98mouse-wheel-_up_-event=E2=80=99 is th=
e variable
>     that holds an event that should be handled similarly to
>     =E2=80=98wheel-_down_=E2=80=99 and vice versa.
>
> ?

Would it make sense we say something about what those "unusual
configurations" are?

For example, are they "user configurations", "old versions of Emacs",
"Haiku systems" (I'm just guessing here), or something else?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76812; Package emacs. Full text available.

Message received at 76812 <at> debbugs.gnu.org:


Received: (at 76812) by debbugs.gnu.org; 7 Mar 2025 17:19:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 07 12:19:21 2025
Received: from localhost ([127.0.0.1]:49882 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqbM1-0002oB-78
	for submit <at> debbugs.gnu.org; Fri, 07 Mar 2025 12:19:21 -0500
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:16065)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <monnier@HIDDEN>)
 id 1tqbLy-0002nx-UK
 for 76812 <at> debbugs.gnu.org; Fri, 07 Mar 2025 12:19:19 -0500
Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1])
 by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 691D444333A;
 Fri,  7 Mar 2025 12:19:10 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1741367949;
 bh=ijAA/ZmUo7mS3uCpVku8pvWwnBE6ihwS/E4hHTvnr6A=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=jNPatJA3zl9bRtfJ5RqoW6wxi02d610tphcfcIobUvbCTZyXU/yBe4h11rFRFuZwK
 4udsa2o4iW4feGdUVlL8wDXxmkqqO6qve4/Z3az/5+MYyiv/taHJ1OSnNSOGD2qPGU
 /Y/r0dDl/OIYOu1gLqE5VR3nL99Egtzp1iJXN9k5nkcnTJdO3llLizVH09+9FYMciV
 dB3PzwK6swevaSl3B9FSmK9bu0saC+MT0yW+jXU5UMSQVbMy+Xb9eusJc/5H0O6d2s
 8DxfgAyhEyhusNJwm9xHnGzPWWkqqHS8mTY5ZW4ranGGH6rpbsbhj456oFWXCk17RM
 1sdEtE4dojcAQ==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 36C2C443313;
 Fri,  7 Mar 2025 12:19:09 -0500 (EST)
Received: from alfajor (unknown [23.233.149.155])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 0CD6412024C;
 Fri,  7 Mar 2025 12:19:09 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
Subject: Re: bug#76812: vestigial elisp manual descriptions of obsolete
 variables mouse-wheel-up/down-event
In-Reply-To: <CADwFkm=8OsBb+dMLw3AuYjKn8Yp6NhpizyQ7Ke4ggwkiWHLb0Q@HIDDEN>
Message-ID: <jwvplissqz3.fsf-monnier+emacs@HIDDEN>
References: <6E1961D7-45C9-4635-9122-5329B6988D17@HIDDEN>
 <CADwFkm=8OsBb+dMLw3AuYjKn8Yp6NhpizyQ7Ke4ggwkiWHLb0Q@HIDDEN>
Date: Fri, 07 Mar 2025 12:19:08 -0500
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.021 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76812
Cc: 76812 <at> debbugs.gnu.org, JD Smith <jdtsmith@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>> The following paragraph in the elisp manual section "Miscellaneous System
>> Events" describes blinding events based on the now obsolete variables
>> `mouse-wheel-down-event', etc.:
>>
>>>      The =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 ev=
ents are generated only on some
>>>      kinds of systems.  On other systems, other events like =E2=80=98mo=
use-4=E2=80=99
>>>      and =E2=80=98mouse-5=E2=80=99 are used instead.  Portable code sho=
uld handle both
>>>      =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 events=
 as well as the events specified
>>>      in the variables =E2=80=98mouse-wheel-up-event=E2=80=99 and
>>>      =E2=80=98mouse-wheel-down-event=E2=80=99, defined in =E2=80=98mwhe=
el.el=E2=80=99.  Beware that for
>>>      historical reasons the =E2=80=98mouse-wheel-_up_-event=E2=80=99 is=
 the variable
>>>      that holds an event that should be handled similarly to
>>>      =E2=80=98wheel-_down_=E2=80=99 and vice versa.
>
> Stefan, WDYT?

To the extent that there are still cases where mouse-4/5 is used,
I guess we can keep that almost unchanged, except to adjust the wording
to indicate what is more normal.  E.g.:

    The =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 events =
are generated on most systems.
    But in some unusual configurations, other events like =E2=80=98mouse-4=
=E2=80=99
    and =E2=80=98mouse-5=E2=80=99 may still be used instead.  Portable code=
 that wants
    to accommodate those cases should handle both
    =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 events as w=
ell as the events specified
    in the variables =E2=80=98mouse-wheel-up-event=E2=80=99 and
    =E2=80=98mouse-wheel-down-event=E2=80=99, defined in =E2=80=98mwheel.el=
=E2=80=99.  Beware that for
    historical reasons the =E2=80=98mouse-wheel-_up_-event=E2=80=99 is the =
variable
    that holds an event that should be handled similarly to
    =E2=80=98wheel-_down_=E2=80=99 and vice versa.

?


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76812; Package emacs. Full text available.

Message received at 76812 <at> debbugs.gnu.org:


Received: (at 76812) by debbugs.gnu.org; 7 Mar 2025 16:27:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 07 11:27:48 2025
Received: from localhost ([127.0.0.1]:49744 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqaY8-0005pc-0C
	for submit <at> debbugs.gnu.org; Fri, 07 Mar 2025 11:27:48 -0500
Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:54359)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1tqaY5-0005pM-52
 for 76812 <at> debbugs.gnu.org; Fri, 07 Mar 2025 11:27:45 -0500
Received: by mail-ed1-x533.google.com with SMTP id
 4fb4d7f45d1cf-5e5b572e45cso3418924a12.0
 for <76812 <at> debbugs.gnu.org>; Fri, 07 Mar 2025 08:27:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741364858; x=1741969658; darn=debbugs.gnu.org;
 h=content-transfer-encoding:cc:to:subject:message-id:date
 :mime-version:references:in-reply-to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=ZE0c5a4Xm0BAjmNVjPzXtHJIdcKdlpTsa6RmOxg4eik=;
 b=kRMovMDrYRzz59DzLWptU+FRDFujxGx9FBgzSd5A9ohffarEv08Mm3HNj1L+oB0N5A
 ZoQl8nbxdt/b1H7tlj2lVgIzLv/RgCYYD9+VtG4j7gVLf7fx0/BqQTThvzCIYdsikxm6
 tPL/Yv8WcmKQLfKez58khhNNiL16sSXy2CNkPo92/XST8cbhv6+LAXpSMfPMDYl3rmE6
 hmo27evS2vIYLMvYG2mVAztu2DNcPaVhVmLWDV/72NTz8DVhKhEvbBYo3im8aj9cJ1Jz
 igaSZV/JJPfxeDns8BzrzbtoPpGBAZCoT0prDiIn+pt60Vzbhuv751BuMfBB1h39fiw5
 TlNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741364858; x=1741969658;
 h=content-transfer-encoding:cc:to:subject:message-id:date
 :mime-version:references:in-reply-to:from:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=ZE0c5a4Xm0BAjmNVjPzXtHJIdcKdlpTsa6RmOxg4eik=;
 b=rVju4H2yplPpXiN7i00lqa39t+cfIP5INrQJ/UprtTSI5dGuvVqpiBggIF3kOnetrC
 1+w6TWtiJT+RTUv8o2p0b0cnMqRUWpk27xR4UCw9zTurbNw042zbM2RU/FXzmV9Wdizv
 /YY8+Xk+sbN8SOvHJ2EVAbrD1YP9z+EkaPWVNJiE6IDHu8o1QcZ9hxWydK11bT+r2obu
 yCLjcPNyxo50kZAQMpR8+ogbM09e4TZ8rSwSKbY5PZ6VqvDpOvHXZDEkllGUmwg+u649
 CaPOA/c9LDksgiMHaKMRpAbPM52+ZqEJ2e7Eg3ETu9ytTltsXZ5cW+T7r9V6REUhu+IF
 DeNQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCWvo4hzVSGxp/p9Xou/4/xqddp4Tooj+ylUNhCzAvF2FAJHlxBkF3uo4+kzXJab7AwpxPwKfQ==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YyGFTLkEhOeg9rfWSEGQYEQW2ehynMlG7WuzYbVbmUxmPPsRb+9
 vv9VcRHC8o0vFkZi43kuzwM4bJB898iwozWiQIppPXHIIDzovWxjJxjNCr149SLFszmRu4BBW+E
 J0uudVu+HnevQPYz0cNRZWh+VvmA=
X-Gm-Gg: ASbGncuxA/W9TQxB41y/01AmlGDDU98UASz5X0iwXteI/RgPPftffqRcNTx5R0U2Jlk
 KICKxrF+Cz7D29sS52/wGDsp0vtGpM5uOHF395IBLpYZoVOXcTBRca+o6eg+bM1mTt1j/RuOSHf
 szRI0q7kAhhJNtW1ZD9j600vbVmQ==
X-Google-Smtp-Source: AGHT+IGLiJ98iqnSeiJiG5+FxcG1RSsFw9BMOmOxXLmB6MpWnEx3rl84pB+6d0QthgsHFGtWjTzAjF3x0dJDYmsHaPI=
X-Received: by 2002:a05:6402:13c7:b0:5dc:c9ce:b022 with SMTP id
 4fb4d7f45d1cf-5e5e22dbda2mr3651066a12.9.1741364858390; Fri, 07 Mar 2025
 08:27:38 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 7 Mar 2025 16:27:38 +0000
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <6E1961D7-45C9-4635-9122-5329B6988D17@HIDDEN>
References: <6E1961D7-45C9-4635-9122-5329B6988D17@HIDDEN>
MIME-Version: 1.0
Date: Fri, 7 Mar 2025 16:27:38 +0000
X-Gm-Features: AQ5f1JqtnKJWoTB8OuNe3jkegwXvUEJz2ictjAO67xFC5g-LvH2qMfLmRguLhrU
Message-ID: <CADwFkm=8OsBb+dMLw3AuYjKn8Yp6NhpizyQ7Ke4ggwkiWHLb0Q@HIDDEN>
Subject: Re: bug#76812: vestigial elisp manual descriptions of obsolete
 variables mouse-wheel-up/down-event
To: JD Smith <jdtsmith@HIDDEN>, 76812 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76812
Cc: Stefan Monnier <monnier@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

JD Smith <jdtsmith@HIDDEN> writes:

> The following paragraph in the elisp manual section "Miscellaneous System=
 Events" describes blinding events based on the now obsolete variables `mou=
se-wheel-down-event', etc.:
>
>>      The =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 eve=
nts are generated only on some
>>      kinds of systems.  On other systems, other events like =E2=80=98mou=
se-4=E2=80=99
>>      and =E2=80=98mouse-5=E2=80=99 are used instead.  Portable code shou=
ld handle both
>>      =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 events =
as well as the events specified
>>      in the variables =E2=80=98mouse-wheel-up-event=E2=80=99 and
>>      =E2=80=98mouse-wheel-down-event=E2=80=99, defined in =E2=80=98mwhee=
l.el=E2=80=99.  Beware that for
>>      historical reasons the =E2=80=98mouse-wheel-_up_-event=E2=80=99 is =
the variable
>>      that holds an event that should be handled similarly to
>>      =E2=80=98wheel-_down_=E2=80=99 and vice versa.

Stefan, WDYT?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76812; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Mar 2025 13:49:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 07 08:49:36 2025
Received: from localhost ([127.0.0.1]:47492 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tqY52-0002rn-8n
	for submit <at> debbugs.gnu.org; Fri, 07 Mar 2025 08:49:36 -0500
Received: from lists.gnu.org ([2001:470:142::17]:47222)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <jdtsmith@HIDDEN>)
 id 1tqY4z-0002rI-7d
 for submit <at> debbugs.gnu.org; Fri, 07 Mar 2025 08:49:33 -0500
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 <jdtsmith@HIDDEN>)
 id 1tqY4g-0002qV-3e
 for bug-gnu-emacs@HIDDEN; Fri, 07 Mar 2025 08:49:14 -0500
Received: from mail-qv1-xf2e.google.com ([2607:f8b0:4864:20::f2e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <jdtsmith@HIDDEN>)
 id 1tqY4d-0008Mk-NW
 for bug-gnu-emacs@HIDDEN; Fri, 07 Mar 2025 08:49:12 -0500
Received: by mail-qv1-xf2e.google.com with SMTP id
 6a1803df08f44-6e8fb83e137so11052186d6.0
 for <bug-gnu-emacs@HIDDEN>; Fri, 07 Mar 2025 05:49:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741355350; x=1741960150; darn=gnu.org;
 h=to:date:message-id:subject:mime-version:content-transfer-encoding
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=rVZp1vPo9UIRIB5U22dVIIYFeI1kkUsdIn4fQmu37AM=;
 b=YGEdJL0hbdIY/AaATW4vV94e8uZTPXvXFoL5SYWug0tPqtLTcW5aV1QaW7o1QTdXxS
 iZ9HhlHyDQTzQ2s7pANyL6oia3iIFyOsWR5BZxmbxm00EjOjGnfeuWK1PcwDTJ0wiZSN
 KhKR1/2/x+xEuzO4IaZQona8tyvq/l4ntPoIQo5cEETrAfbBL65FZ4KWGNkTOdTvcuJt
 ztahPJ/u06FbUnOVN9CJgad4W4rn75ysyZwxgoo5jWYdqXtqN3xdmIQTdVgBDM2n65RK
 PqwzF5S2qpo+uc/rTqaVptBqOFMJfE4apCZdiIAA0FmxW0TYEQMWzo75pU4wpI2OuE8G
 KHGw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741355350; x=1741960150;
 h=to:date:message-id:subject:mime-version:content-transfer-encoding
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=rVZp1vPo9UIRIB5U22dVIIYFeI1kkUsdIn4fQmu37AM=;
 b=tuXhyT12EBCpmYnCOTVIot4P7CHn48B/sl+AaX4b/kG8GVJxjmVomRQGz8Eo9gGVOP
 LikRVzx+ru/pzKnRz1Rv80DAAvYGpQSkbzwOOf04ZX44lYHMrBt8j78Ou9h9tWibKgam
 /+ImPYY8cAVpkJS0sBqUb0evPkVB34iNzCUBxAa3doqv0kcE6xSsLMQj2BNkku+iEM5s
 ss23Xj1wHUx1znIEUL1KS8E3f5gcdrd5CMzi+81QsJcaErYXKmizln6StfBCb123hEv7
 XndiRJkYs6wPXB+KU7fhyXoPFhdGDWGO/ImGdtFT8aFrpP8IxFPE6Hx3T94PtXJ3gde1
 PguQ==
X-Gm-Message-State: AOJu0YwHaJbtcHEoqoXGjn8sF134dknyE1/Z+ytW9o1htvSJDtVw36+Q
 dkxu1H7iI/ilCtS/8q3kumwvGYnJwspLy1PVYriqDFVnc8kEUasc42l9ZA==
X-Gm-Gg: ASbGnctcji9YRq7KXxm1tHIGMiOIK61E7OTt/yBoz4UDVQyfCmALvmKzKlmzG5jQ9tY
 LpYlUhb+2j0g8ZnMJULf7D5QMS0wGmjqyh8RDsRiefcGr83qjs4PDNGLICPZEUvtBFeARKu4/07
 cPJ0W8ARdIzJYsGcoSqIjQWQqVrCnke/bf9TIWyFrURWgPP55zypcDmhRHUyO3uuQpzzITJ2cyM
 TP4dXiwWlYOg1/cx42QAPkxoC7O4hcZEAnl9t/HPpDinv8BgWFkYXPcsDjG9kc69ulmDgEnck4P
 CBGEjkZ/5p9SErM8eS41C1SEP024gwx7+uQ4NjoPd2SqRqBL3+qEQR7FV03jX3tBwIe1OrFK57q
 WumORWGG74vdTOTst
X-Google-Smtp-Source: AGHT+IE8zrH11XFnkaMYvrWBYNocJNRwBewark7OiHgIkdkl8MExrAto9GEejMgFuTas+Imdr4BvMA==
X-Received: by 2002:a05:6214:76c:b0:6e8:fbb7:6762 with SMTP id
 6a1803df08f44-6e9005b6667mr36467056d6.6.1741355349765; 
 Fri, 07 Mar 2025 05:49:09 -0800 (PST)
Received: from smtpclient.apple (cm-24-53-185-196.buckeyecom.net.
 [24.53.185.196]) by smtp.gmail.com with ESMTPSA id
 6a1803df08f44-6e8f715b52csm19550586d6.71.2025.03.07.05.49.08
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 07 Mar 2025 05:49:09 -0800 (PST)
From: JD Smith <jdtsmith@HIDDEN>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.400.131.1.6\))
Subject: vestigial elisp manual descriptions of obsolete variables
 mouse-wheel-up/down-event 
Message-Id: <6E1961D7-45C9-4635-9122-5329B6988D17@HIDDEN>
Date: Fri, 7 Mar 2025 08:48:58 -0500
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3826.400.131.1.6)
Received-SPF: pass client-ip=2607:f8b0:4864:20::f2e;
 envelope-from=jdtsmith@HIDDEN; helo=mail-qv1-xf2e.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

The following paragraph in the elisp manual section "Miscellaneous =
System Events" describes blinding events based on the now obsolete =
variables `mouse-wheel-down-event', etc.:

>      The =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 =
events are generated only on some
>      kinds of systems.  On other systems, other events like =
=E2=80=98mouse-4=E2=80=99
>      and =E2=80=98mouse-5=E2=80=99 are used instead.  Portable code =
should handle both
>      =E2=80=98wheel-up=E2=80=99 and =E2=80=98wheel-down=E2=80=99 =
events as well as the events specified
>      in the variables =E2=80=98mouse-wheel-up-event=E2=80=99 and
>      =E2=80=98mouse-wheel-down-event=E2=80=99, defined in =
=E2=80=98mwheel.el=E2=80=99.  Beware that for
>      historical reasons the =E2=80=98mouse-wheel-_up_-event=E2=80=99 =
is the variable
>      that holds an event that should be handled similarly to
>      =E2=80=98wheel-_down_=E2=80=99 and vice versa.




Acknowledgement sent to JD Smith <jdtsmith@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#76812; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 10 Mar 2025 21:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.