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

Previous Next

Package: emacs;

Reported by: JD Smith <jdtsmith <at> gmail.com>

Date: Fri, 7 Mar 2025 13:50:02 UTC

Severity: minor

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: JD Smith <jdtsmith <at> gmail.com>, 76812 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#76812: vestigial elisp manual descriptions of obsolete variables mouse-wheel-up/down-event
Date: Fri, 7 Mar 2025 16:27:38 +0000
JD Smith <jdtsmith <at> gmail.com> writes:

> 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 ‘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.

Stefan, WDYT?




This bug report was last modified 97 days ago.

Previous Next


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