From: Kim F. Storm Date: Thu, 13 Feb 2003 13:15:45 +0000 (+0000) Subject: (Character Type): New \s escape for space. X-Git-Tag: ttn-vms-21-2-B4~11212 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=136b7da90ab0b90a3e735cb1b980224a0c6b9d41;p=emacs.git (Character Type): New \s escape for space. --- 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 @cindex @samp{\r} @cindex escape @cindex @samp{\e} +@cindex space +@cindex @samp{\s} You can express the characters Control-g, backspace, tab, newline, -vertical tab, formfeed, return, del, and escape as @samp{?\a}, +vertical tab, formfeed, space, return, del, and escape as @samp{?\a}, @samp{?\b}, @samp{?\t}, @samp{?\n}, @samp{?\v}, @samp{?\f}, -@samp{?\r}, @samp{?\d}, and @samp{?\e}, respectively. Thus, +@samp{?\r}, @samp{?\d}, @samp{?\e}, and @samp{?\s}, respectively. Thus, @example ?\a @result{} 7 ; @r{@kbd{C-g}} @@ -293,6 +295,7 @@ vertical tab, formfeed, return, del, and escape as @samp{?\a}, ?\f @result{} 12 ; @r{formfeed character, @kbd{C-l}} ?\r @result{} 13 ; @r{carriage return, @key{RET}, @kbd{C-m}} ?\e @result{} 27 ; @r{escape character, @key{ESC}, @kbd{C-[}} +?\s @result{} 32 ; @r{space character, @key{SPC}} ?\\ @result{} 92 ; @r{backslash character, @kbd{\}} ?\d @result{} 127 ; @r{delete character, @key{DEL}} @end example @@ -407,7 +410,8 @@ represents the shifted-control-o character. in a character: @dfn{hyper}, @dfn{super} and @dfn{alt}. The syntaxes for these bits are @samp{\H-}, @samp{\s-} and @samp{\A-}. (Case is significant in these prefixes.) Thus, @samp{?\H-\M-\A-x} represents -@kbd{Alt-Hyper-Meta-x}. +@kbd{Alt-Hyper-Meta-x}. Note that @samp{\s} (without the @samp{-}) +represents the space character. @tex Numerically, the 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 @samp{()\|;'`"#.,} to avoid confusing the Emacs commands for editing Lisp code. Also add a backslash before whitespace characters such as space, tab, newline and formfeed. However, it is cleaner to use one of -the easily readable escape sequences, such as @samp{\t}, instead of an -actual whitespace character such as a tab. +the easily readable escape sequences, such as @samp{\t} or @samp{\s}, +instead of an actual whitespace character such as a tab or a space. @node Symbol Type @subsection Symbol Type