From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/elisp/x11-keysyms.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 devdocs/elisp/x11-keysyms.html (limited to 'devdocs/elisp/x11-keysyms.html') diff --git a/devdocs/elisp/x11-keysyms.html b/devdocs/elisp/x11-keysyms.html new file mode 100644 index 00000000..09bb7067 --- /dev/null +++ b/devdocs/elisp/x11-keysyms.html @@ -0,0 +1,22 @@ +

Operating on X11 Keysyms

To define system-specific X11 keysyms, set the variable system-key-alist.

Variable: system-key-alist +
+

This variable’s value should be an alist with one element for each system-specific keysym. Each element has the form (code +. symbol), where code is the numeric keysym code (not including the vendor-specific bit, -2**28), and symbol is the name for the function key.

For example (168 . mute-acute) defines a system-specific key (used by HP X servers) whose numeric code is -2**28 + 168.

It is not crucial to exclude from the alist the keysyms of other X servers; those do no harm, as long as they don’t conflict with the ones used by the X server actually in use.

The variable is always local to the current terminal, and cannot be buffer-local. See Multiple Terminals.

+
+

You can specify which keysyms Emacs should use for the Control, Meta, Alt, Hyper, and Super modifiers by setting these variables:

Variable: x-ctrl-keysym +
Variable: x-alt-keysym +
Variable: x-meta-keysym +
Variable: x-hyper-keysym +
Variable: x-super-keysym +
+

The name of the keysym that should stand for the Control modifier (respectively, for Alt, Meta, Hyper, and Super). For example, here is how to swap the Meta and Alt modifiers within Emacs:

+
(setq x-alt-keysym 'meta)
+(setq x-meta-keysym 'alt)
+
+
+
+

+ Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
+ https://www.gnu.org/software/emacs/manual/html_node/elisp/X11-Keysyms.html +

+
-- cgit v1.2.3