279 |
@cindex @samp{\r} |
@cindex @samp{\r} |
280 |
@cindex escape |
@cindex escape |
281 |
@cindex @samp{\e} |
@cindex @samp{\e} |
282 |
|
@cindex space |
283 |
|
@cindex @samp{\s} |
284 |
You can express the characters Control-g, backspace, tab, newline, |
You can express the characters Control-g, backspace, tab, newline, |
285 |
vertical tab, formfeed, return, del, and escape as @samp{?\a}, |
vertical tab, formfeed, space, return, del, and escape as @samp{?\a}, |
286 |
@samp{?\b}, @samp{?\t}, @samp{?\n}, @samp{?\v}, @samp{?\f}, |
@samp{?\b}, @samp{?\t}, @samp{?\n}, @samp{?\v}, @samp{?\f}, |
287 |
@samp{?\r}, @samp{?\d}, and @samp{?\e}, respectively. Thus, |
@samp{?\r}, @samp{?\d}, @samp{?\e}, and @samp{?\s}, respectively. Thus, |
288 |
|
|
289 |
@example |
@example |
290 |
?\a @result{} 7 ; @r{@kbd{C-g}} |
?\a @result{} 7 ; @r{@kbd{C-g}} |
295 |
?\f @result{} 12 ; @r{formfeed character, @kbd{C-l}} |
?\f @result{} 12 ; @r{formfeed character, @kbd{C-l}} |
296 |
?\r @result{} 13 ; @r{carriage return, @key{RET}, @kbd{C-m}} |
?\r @result{} 13 ; @r{carriage return, @key{RET}, @kbd{C-m}} |
297 |
?\e @result{} 27 ; @r{escape character, @key{ESC}, @kbd{C-[}} |
?\e @result{} 27 ; @r{escape character, @key{ESC}, @kbd{C-[}} |
298 |
|
?\s @result{} 32 ; @r{space character, @key{SPC}} |
299 |
?\\ @result{} 92 ; @r{backslash character, @kbd{\}} |
?\\ @result{} 92 ; @r{backslash character, @kbd{\}} |
300 |
?\d @result{} 127 ; @r{delete character, @key{DEL}} |
?\d @result{} 127 ; @r{delete character, @key{DEL}} |
301 |
@end example |
@end example |
410 |
in a character: @dfn{hyper}, @dfn{super} and @dfn{alt}. The syntaxes |
in a character: @dfn{hyper}, @dfn{super} and @dfn{alt}. The syntaxes |
411 |
for these bits are @samp{\H-}, @samp{\s-} and @samp{\A-}. (Case is |
for these bits are @samp{\H-}, @samp{\s-} and @samp{\A-}. (Case is |
412 |
significant in these prefixes.) Thus, @samp{?\H-\M-\A-x} represents |
significant in these prefixes.) Thus, @samp{?\H-\M-\A-x} represents |
413 |
@kbd{Alt-Hyper-Meta-x}. |
@kbd{Alt-Hyper-Meta-x}. Note that @samp{\s} (without the @samp{-}) |
414 |
|
represents the space character. |
415 |
@tex |
@tex |
416 |
Numerically, the |
Numerically, the |
417 |
bit values are @math{2^{22}} for alt, @math{2^{23}} for super and @math{2^{24}} for hyper. |
bit values are @math{2^{22}} for alt, @math{2^{23}} for super and @math{2^{24}} for hyper. |
459 |
@samp{()\|;'`"#.,} to avoid confusing the Emacs commands for editing |
@samp{()\|;'`"#.,} to avoid confusing the Emacs commands for editing |
460 |
Lisp code. Also add a backslash before whitespace characters such as |
Lisp code. Also add a backslash before whitespace characters such as |
461 |
space, tab, newline and formfeed. However, it is cleaner to use one of |
space, tab, newline and formfeed. However, it is cleaner to use one of |
462 |
the easily readable escape sequences, such as @samp{\t}, instead of an |
the easily readable escape sequences, such as @samp{\t} or @samp{\s}, |
463 |
actual whitespace character such as a tab. |
instead of an actual whitespace character such as a tab or a space. |
464 |
|
|
465 |
@node Symbol Type |
@node Symbol Type |
466 |
@subsection Symbol Type |
@subsection Symbol Type |