Mercurial > hg > xemacs-beta
comparison man/xemacs/keystrokes.texi @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | 972bbb6d6ca2 |
children | 7d59cb494b73 |
comparison
equal
deleted
inserted
replaced
370:bd866891f083 | 371:cc15677e0335 |
---|---|
141 Pressing the @key{BREAK} key. | 141 Pressing the @key{BREAK} key. |
142 @item (control meta button2up) | 142 @item (control meta button2up) |
143 Release the middle mouse button, while pressing @key{CTRL} and | 143 Release the middle mouse button, while pressing @key{CTRL} and |
144 @key{META}. | 144 @key{META}. |
145 @end table | 145 @end table |
146 @cindex shift modifier | 146 @cindex shift modifer |
147 Note: As you define keystrokes, you can use the @kbd{shift} key only | 147 Note: As you define keystrokes, you can use the @kbd{shift} key only |
148 as a modifier with characters that do not have a second keysym on the | 148 as a modifier with characters that do not have a second keysym on the |
149 same key, such as @kbd{backspace} and @kbd{tab}. It is an error to | 149 same key, such as @kbd{backspace} and @kbd{tab}. It is an error to |
150 define a keystroke using the @key{shift} modifier with keysyms such as | 150 define a keystroke using the @key{shift} modifier with keysyms such as |
151 @kbd{a} and @kbd{=}. The correct forms are @kbd{A} and @kbd{+}. | 151 @kbd{a} and @kbd{=}. The correct forms are @kbd{A} and @kbd{+}. |
161 | 161 |
162 Emacs represents a key sequence as a vector of keystrokes. Thus, the | 162 Emacs represents a key sequence as a vector of keystrokes. Thus, the |
163 schematic representation of a complete key sequence is as follows: | 163 schematic representation of a complete key sequence is as follows: |
164 | 164 |
165 @example | 165 @example |
166 [(modifier .. modifier keysym) ... (modifier .. modifier keysym)] | 166 [(modifier .. modifer keysym) ... (modifier .. modifier keysym)] |
167 @end example | 167 @end example |
168 | 168 |
169 Here are some examples of complete key sequences: | 169 Here are some examples of complete key sequences: |
170 | 170 |
171 @table @kbd | 171 @table @kbd |
438 @node Character Representation, Commands, Super and Hyper Keys, Keystrokes | 438 @node Character Representation, Commands, Super and Hyper Keys, Keystrokes |
439 @comment node-name, next, previous, up | 439 @comment node-name, next, previous, up |
440 @section Representation of Characters | 440 @section Representation of Characters |
441 | 441 |
442 This section briefly discusses how characters are represented in Emacs | 442 This section briefly discusses how characters are represented in Emacs |
443 buffers. @xref{Key Sequences}, for information on representing key | 443 buffers. @xref{Key Sequences} for information on representing key |
444 sequences to create key bindings. | 444 sequences to create key bindings. |
445 | 445 |
446 ASCII graphic characters in Emacs buffers are displayed with their | 446 ASCII graphic characters in Emacs buffers are displayed with their |
447 graphics. @key{LFD} is the same as a newline character; it is displayed | 447 graphics. @key{LFD} is the same as a newline character; it is displayed |
448 by starting a new line. @key{TAB} is displayed by moving to the next | 448 by starting a new line. @key{TAB} is displayed by moving to the next |
479 functions are called @dfn{commands}, and their names are @dfn{command | 479 functions are called @dfn{commands}, and their names are @dfn{command |
480 names}. More information on this subject will appear in the @i{XEmacs | 480 names}. More information on this subject will appear in the @i{XEmacs |
481 Lisp Reference Manual}. | 481 Lisp Reference Manual}. |
482 | 482 |
483 The bindings between keys and functions are recorded in various tables | 483 The bindings between keys and functions are recorded in various tables |
484 called @dfn{keymaps}. @xref{Key Bindings}, for more information on key | 484 called @dfn{keymaps}. @xref{Key Bindings} for more information on key |
485 sequences you can bind commands to. @xref{Keymaps}, for information on | 485 sequences you can bind commands to. @xref{Keymaps} for information on |
486 creating keymaps. | 486 creating keymaps. |
487 | 487 |
488 When we say ``@kbd{C-n} moves down vertically one line'' we are | 488 When we say ``@kbd{C-n} moves down vertically one line'' we are |
489 glossing over a distinction that is irrelevant in ordinary use but is | 489 glossing over a distinction that is irrelevant in ordinary use but is |
490 vital in understanding how to customize Emacs. The function | 490 vital in understanding how to customize Emacs. The function |