# HG changeset patch # User Kim F. Storm # Date 1045142145 0 # Node ID 4a50d348a2b1a84409f3be9def2d2bbeb353e117 # Parent d0dedef2274e01ca95e71934c2ccd6423ef0922c (Character Type): New \s escape for space. diff -r d0dedef2274e -r 4a50d348a2b1 lispref/objects.texi --- a/lispref/objects.texi Thu Feb 13 13:15:29 2003 +0000 +++ b/lispref/objects.texi Thu Feb 13 13:15:45 2003 +0000 @@ -279,10 +279,12 @@ @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 @@ ?\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 @@ 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 @@ @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