aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman2002-07-07 22:28:27 +0000
committerRichard M. Stallman2002-07-07 22:28:27 +0000
commit1ce58cc028d7c20bd43a7a1b855d097fa35da6fc (patch)
tree3635249b66bf8c915ab40bd4a3711235784afa1f /lispref
parent001dd4eac90ed6bc77e276e9223a96676550a525 (diff)
downloademacs-1ce58cc028d7c20bd43a7a1b855d097fa35da6fc.tar.gz
emacs-1ce58cc028d7c20bd43a7a1b855d097fa35da6fc.zip
Add x-*-keysym.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/os.texi21
1 files changed, 18 insertions, 3 deletions
diff --git a/lispref/os.texi b/lispref/os.texi
index 2e3bae972c3..a6ca1a7106c 100644
--- a/lispref/os.texi
+++ b/lispref/os.texi
@@ -28,7 +28,7 @@ pertaining to the terminal and the screen.
28* Terminal Input:: Recording terminal input for debugging. 28* Terminal Input:: Recording terminal input for debugging.
29* Terminal Output:: Recording terminal output for debugging. 29* Terminal Output:: Recording terminal output for debugging.
30* Sound Output:: Playing sounds on the computer's speaker. 30* Sound Output:: Playing sounds on the computer's speaker.
31* Special Keysyms:: Defining system-specific key symbols for X. 31* X11 Keysyms:: Operating on key symbols for X Windows
32* Flow Control:: How to turn output flow control on or off. 32* Flow Control:: How to turn output flow control on or off.
33* Batch Mode:: Running Emacs without terminal interaction. 33* Batch Mode:: Running Emacs without terminal interaction.
34* Session Management:: Saving and restoring state with X Session Management. 34* Session Management:: Saving and restoring state with X Session Management.
@@ -1848,8 +1848,8 @@ A list of functions to be called before playing a sound. Each function
1848is called with one argument, a property list that describes the sound. 1848is called with one argument, a property list that describes the sound.
1849@end defvar 1849@end defvar
1850 1850
1851@node Special Keysyms 1851@node X11 Keysyms
1852@section System-Specific X11 Keysyms 1852@section Operating on X11 Keysyms
1853 1853
1854To define system-specific X11 keysyms, set the variable 1854To define system-specific X11 keysyms, set the variable
1855@code{system-key-alist}. 1855@code{system-key-alist}.
@@ -1885,6 +1885,21 @@ The variable is always local to the current terminal, and cannot be
1885buffer-local. @xref{Multiple Displays}. 1885buffer-local. @xref{Multiple Displays}.
1886@end defvar 1886@end defvar
1887 1887
1888You can specify which keysyms Emacs should use for the Meta, Alt, Hyper, and Super modifiers by setting these variables:
1889
1890@defvar x-alt-keysym
1891@defvarx x-meta-keysym
1892@defvarx x-hyper-keysym
1893@defvarx x-super-keysym
1894The name of the keysym that should stand for the Alt modifier
1895(respectively, for Meta, Hyper, and Super). For example, here is
1896how to swap the Meta and Alt modifiers within Emacs:
1897@lisp
1898(setq x-alt-keysym 'meta)
1899(setq x-meta-keysym 'alt)
1900@end lisp
1901@end defvar
1902
1888@node Flow Control 1903@node Flow Control
1889@section Flow Control 1904@section Flow Control
1890@cindex flow control characters 1905@cindex flow control characters