mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(Character Type): New \s escape for space.
This commit is contained in:
parent
b23375aa0e
commit
136b7da90a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user