1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00
emacs/etc
Stefan Monnier e720ba6219 (mouse-wheel-buttons): Map old-style wheel buttons to actual wheel events
Change the handling of the old X11 convention that uses mouse-4/5/6/7
events to represent wheel events: instead of asking downstream
packages to use the `mouse-wheel-*-event` variables to know which events
represent wheel events, use new var `mouse-wheel-buttons` to directly
convert those events into the standard `wheel-up/down/left/right` events
used everywhere else.

This will simplify the work of packages which can thus just bind their
commands to `wheel-up/down/left/right`.

* lisp/mouse.el (mouse-wheel-buttons): New custom variable.

* src/keyboard.c (make_lispy_event): Adjust for "wheel-clicks" on the tab-bar.
* src/xterm.c (x_construct_mouse_click): Add `xi2` argument and
obey `mouse-wheel-buttons` variable.
(handle_one_xevent): Adjust calls accordingly.
(syms_of_xterm): Define the `mouse-wheel-buttons` and the
`wheel-up/down/left/right`symbols.

* lisp/xt-mouse.el: Don't require `mwheel` any more.
(xterm-mouse--same-button-p): Delete function.
(xterm-mouse--read-event-sequence): Use `mouse-wheel-buttons`.

* lisp/mwheel.el (mouse-wheel-up-event, mouse-wheel-down-event)
(mouse-wheel-left-event, mouse-wheel-right-event): Make obsolete.
(mouse-wheel-obey-old-style-wheel-buttons): Delete variable.

* lisp/completion-preview.el (completion-preview--mouse-map):
* lisp/progmodes/flymake.el (flymake--mode-line-counter-map):
* lisp/edmacro.el (edmacro-fix-menu-commands): Silence warnings.
2024-04-09 10:26:07 -04:00
..
charsets ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
e
forms ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
gnus
images 'read-passwd' can toggle the visibility of passwords 2024-02-25 10:06:09 +01:00
nxml
org ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
refcards Revert "Update to Org 9.6.19" 2024-02-17 18:53:05 +02:00
schema ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
srecode ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
themes Update modus-themes to their 4.4.0 version 2024-03-17 18:46:15 +02:00
tutorials Update Polish translation of tutorial 2024-01-20 09:18:27 +02:00
AUTHORS Update files for Emacs 29.3 2024-03-24 09:37:03 -04:00
CALC-NEWS Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ChangeLog.1 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
compilation.txt Make Compilation mode recognize Lua errors 2024-01-10 14:48:00 +01:00
COPYING
DEBUG ; * etc/DEBUG: Add a blurb about disabling ASLR on macOS. 2024-01-26 21:02:10 +02:00
DEVEL.HUMOR
DISTRIB ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
edt-user.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
EGLOT-NEWS Eglot: bump to 1.17 2024-01-25 12:20:27 +00:00
emacs_lldb.py Add a proper type for obarrays 2024-02-23 13:02:27 +01:00
emacs-buffer.gdb ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
emacs-mail.desktop
emacs.desktop
emacs.icon
emacs.metainfo.xml ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
emacs.service
emacsclient-mail.desktop Add 'server-eval-args-left' to server.el 2023-10-29 14:10:23 +02:00
emacsclient.desktop Make emacsclient handle org-protocol:// links 2023-09-18 12:54:22 +02:00
enriched.txt ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ERC-NEWS Make erc-cmd-AMSG session local; add /GMSG, /AME and /GME 2024-02-23 18:45:44 -08:00
ETAGS.EBNF ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ETAGS.README ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
future-bug
gnus-tut.txt ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
grep.txt ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
HELLO ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
HISTORY Update files for Emacs 29.3 2024-03-24 09:37:03 -04:00
JOKES
MACHINES Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
MH-E-NEWS ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
NEWS (mouse-wheel-buttons): Map old-style wheel buttons to actual wheel events 2024-04-09 10:26:07 -04:00
NEWS.1-17 ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
NEWS.18 ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
NEWS.19 ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
NEWS.20 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
NEWS.21 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
NEWS.22 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
NEWS.23 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
NEWS.24 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
NEWS.25 * etc/NEWS.25: Add 'obarrayp' as well 2024-02-24 13:12:20 -05:00
NEWS.26 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
NEWS.27 ; Delete pre-release remainder in NEWS.27 2024-01-19 00:40:12 +01:00
NEWS.28 ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
NEWS.29 Merge from origin/emacs-29 2024-03-30 04:35:24 -04:00
NEXTSTEP ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
NXML-NEWS ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ORG-NEWS ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
org.gnu.emacs.defaults.gschema.xml ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
package-keyring.gpg
PROBLEMS Merge from origin/emacs-29 2024-02-24 06:35:16 -05:00
ps-prin0.ps ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ps-prin1.ps ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
publicsuffix.txt Update publicsuffix.txt from upstream 2023-12-10 14:44:41 +01:00
README ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rgb.txt Revert "Update etc/rgb.txt from X.Org upstream" 2023-10-16 08:56:53 +08:00
ses-example.ses ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
spook.lines
TERMS ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
TODO * etc/TODO (Native compiler improvements): Remove an entry as completed. 2024-02-29 14:21:49 +01:00
w32-feature.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2024 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)