aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVasilij Schneidermann2016-11-04 11:09:31 +0200
committerEli Zaretskii2016-11-04 11:09:31 +0200
commit0adefe7ef9f4c23a5c8fef1503bc2b02ea6db8f5 (patch)
treead43bcbb044bb1b50aa84771f2c90b78c2758691 /doc
parente5d0efe8fc4130593a899a9699ed8a95b953df3a (diff)
downloademacs-0adefe7ef9f4c23a5c8fef1503bc2b02ea6db8f5.tar.gz
emacs-0adefe7ef9f4c23a5c8fef1503bc2b02ea6db8f5.zip
Add 'x-ctrl-keysym' support on X window system
* src/xterm.c (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Support 'x-ctrl-keysym'. (syms_of_xterm): DEFSYM "ctrl" and put a proper modifier-value property on it. <x-ctrl-keysym>: New DEFVAR_LISP. <x-alt-keysym, x-hyper-keysym, x-meta-keysym, x-super-keysym>: Doc fix. (Bug#24822) * etc/NEWS: Mention the addition of 'x-ctrl-keysym'. * doc/lispref/os.texi (X11 Keysyms): Document 'x-ctrl-keysym'.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/os.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 277abb1477d..97b086c0d37 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -2254,14 +2254,16 @@ The variable is always local to the current terminal, and cannot be
2254buffer-local. @xref{Multiple Terminals}. 2254buffer-local. @xref{Multiple Terminals}.
2255@end defvar 2255@end defvar
2256 2256
2257You can specify which keysyms Emacs should use for the Meta, Alt, Hyper, and Super modifiers by setting these variables: 2257You can specify which keysyms Emacs should use for the Control, Meta,
2258Alt, Hyper, and Super modifiers by setting these variables:
2258 2259
2259@defvar x-alt-keysym 2260@defvar x-ctrl-keysym
2261@defvarx x-alt-keysym
2260@defvarx x-meta-keysym 2262@defvarx x-meta-keysym
2261@defvarx x-hyper-keysym 2263@defvarx x-hyper-keysym
2262@defvarx x-super-keysym 2264@defvarx x-super-keysym
2263The name of the keysym that should stand for the Alt modifier 2265The name of the keysym that should stand for the Control modifier
2264(respectively, for Meta, Hyper, and Super). For example, here is 2266(respectively, for Alt, Meta, Hyper, and Super). For example, here is
2265how to swap the Meta and Alt modifiers within Emacs: 2267how to swap the Meta and Alt modifiers within Emacs:
2266@lisp 2268@lisp
2267(setq x-alt-keysym 'meta) 2269(setq x-alt-keysym 'meta)