diff options
| author | Kim F. Storm | 2003-02-13 13:15:45 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2003-02-13 13:15:45 +0000 |
| commit | 136b7da90ab0b90a3e735cb1b980224a0c6b9d41 (patch) | |
| tree | e8a62dbc15b4ef7df69e69fba4e7e624fbb4de18 | |
| parent | b23375aa0eb9be6957dc20c70b1fa5f8744109af (diff) | |
| download | emacs-136b7da90ab0b90a3e735cb1b980224a0c6b9d41.tar.gz emacs-136b7da90ab0b90a3e735cb1b980224a0c6b9d41.zip | |
(Character Type): New \s escape for space.
| -rw-r--r-- | lispref/objects.texi | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lispref/objects.texi b/lispref/objects.texi index 66c4f74ae2e..50f568cdbba 100644 --- a/lispref/objects.texi +++ b/lispref/objects.texi | |||
| @@ -279,10 +279,12 @@ way to write the space character. If the character is @samp{\}, you | |||
| 279 | @cindex @samp{\r} | 279 | @cindex @samp{\r} |
| 280 | @cindex escape | 280 | @cindex escape |
| 281 | @cindex @samp{\e} | 281 | @cindex @samp{\e} |
| 282 | @cindex space | ||
| 283 | @cindex @samp{\s} | ||
| 282 | You can express the characters Control-g, backspace, tab, newline, | 284 | You can express the characters Control-g, backspace, tab, newline, |
| 283 | vertical tab, formfeed, return, del, and escape as @samp{?\a}, | 285 | vertical tab, formfeed, space, return, del, and escape as @samp{?\a}, |
| 284 | @samp{?\b}, @samp{?\t}, @samp{?\n}, @samp{?\v}, @samp{?\f}, | 286 | @samp{?\b}, @samp{?\t}, @samp{?\n}, @samp{?\v}, @samp{?\f}, |
| 285 | @samp{?\r}, @samp{?\d}, and @samp{?\e}, respectively. Thus, | 287 | @samp{?\r}, @samp{?\d}, @samp{?\e}, and @samp{?\s}, respectively. Thus, |
| 286 | 288 | ||
| 287 | @example | 289 | @example |
| 288 | ?\a @result{} 7 ; @r{@kbd{C-g}} | 290 | ?\a @result{} 7 ; @r{@kbd{C-g}} |
| @@ -293,6 +295,7 @@ vertical tab, formfeed, return, del, and escape as @samp{?\a}, | |||
| 293 | ?\f @result{} 12 ; @r{formfeed character, @kbd{C-l}} | 295 | ?\f @result{} 12 ; @r{formfeed character, @kbd{C-l}} |
| 294 | ?\r @result{} 13 ; @r{carriage return, @key{RET}, @kbd{C-m}} | 296 | ?\r @result{} 13 ; @r{carriage return, @key{RET}, @kbd{C-m}} |
| 295 | ?\e @result{} 27 ; @r{escape character, @key{ESC}, @kbd{C-[}} | 297 | ?\e @result{} 27 ; @r{escape character, @key{ESC}, @kbd{C-[}} |
| 298 | ?\s @result{} 32 ; @r{space character, @key{SPC}} | ||
| 296 | ?\\ @result{} 92 ; @r{backslash character, @kbd{\}} | 299 | ?\\ @result{} 92 ; @r{backslash character, @kbd{\}} |
| 297 | ?\d @result{} 127 ; @r{delete character, @key{DEL}} | 300 | ?\d @result{} 127 ; @r{delete character, @key{DEL}} |
| 298 | @end example | 301 | @end example |
| @@ -407,7 +410,8 @@ represents the shifted-control-o character. | |||
| 407 | in a character: @dfn{hyper}, @dfn{super} and @dfn{alt}. The syntaxes | 410 | in a character: @dfn{hyper}, @dfn{super} and @dfn{alt}. The syntaxes |
| 408 | for these bits are @samp{\H-}, @samp{\s-} and @samp{\A-}. (Case is | 411 | for these bits are @samp{\H-}, @samp{\s-} and @samp{\A-}. (Case is |
| 409 | significant in these prefixes.) Thus, @samp{?\H-\M-\A-x} represents | 412 | significant in these prefixes.) Thus, @samp{?\H-\M-\A-x} represents |
| 410 | @kbd{Alt-Hyper-Meta-x}. | 413 | @kbd{Alt-Hyper-Meta-x}. Note that @samp{\s} (without the @samp{-}) |
| 414 | represents the space character. | ||
| 411 | @tex | 415 | @tex |
| 412 | Numerically, the | 416 | Numerically, the |
| 413 | bit values are @math{2^{22}} for alt, @math{2^{23}} for super and @math{2^{24}} for hyper. | 417 | bit values are @math{2^{22}} for alt, @math{2^{23}} for super and @math{2^{24}} for hyper. |
| @@ -455,8 +459,8 @@ you should add a backslash before any of the characters | |||
| 455 | @samp{()\|;'`"#.,} to avoid confusing the Emacs commands for editing | 459 | @samp{()\|;'`"#.,} to avoid confusing the Emacs commands for editing |
| 456 | Lisp code. Also add a backslash before whitespace characters such as | 460 | Lisp code. Also add a backslash before whitespace characters such as |
| 457 | space, tab, newline and formfeed. However, it is cleaner to use one of | 461 | space, tab, newline and formfeed. However, it is cleaner to use one of |
| 458 | the easily readable escape sequences, such as @samp{\t}, instead of an | 462 | the easily readable escape sequences, such as @samp{\t} or @samp{\s}, |
| 459 | actual whitespace character such as a tab. | 463 | instead of an actual whitespace character such as a tab or a space. |
| 460 | 464 | ||
| 461 | @node Symbol Type | 465 | @node Symbol Type |
| 462 | @subsection Symbol Type | 466 | @subsection Symbol Type |