Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
47dbc044
Commit
47dbc044
authored
Nov 29, 2008
by
Eli Zaretskii
Browse files
(Character Type): Correct the range of Emacs characters. Add an @xref
to "Character Codes".
parent
b5173574
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+12
-0
doc/lispref/objects.texi
doc/lispref/objects.texi
+7
-8
No files found.
doc/lispref/ChangeLog
View file @
47dbc044
2008
-
11
-
29
Eli
Zaretskii
<
eliz
@
gnu
.
org
>
*
objects
.
texi
(
Character
Type
):
Correct
the
range
of
Emacs
characters
.
Add
an
@
xref
to
"Character Codes"
.
*
strings
.
texi
(
String
Basics
):
Add
an
@
xref
to
"Character Codes"
.
*
numbers
.
texi
(
Integer
Basics
):
Add
an
@
xref
to
`
max
-
char
'.
* nonascii.texi (Explicit Encoding): Update for Emacs 23.
(Character Codes): Document `max-char'
.
2008
-
11
-
28
Eli
Zaretskii
<
eliz
@
gnu
.
org
>
2008
-
11
-
28
Eli
Zaretskii
<
eliz
@
gnu
.
org
>
*
nonascii
.
texi
(
Text
Representations
,
Converting
Representations
)
*
nonascii
.
texi
(
Text
Representations
,
Converting
Representations
)
...
...
doc/lispref/objects.texi
View file @
47dbc044
...
@@ -231,13 +231,12 @@ example, the character @kbd{A} is represented as the @w{integer 65}.
...
@@ -231,13 +231,12 @@ example, the character @kbd{A} is represented as the @w{integer 65}.
more common to work with @emph{strings}, which are sequences composed
more common to work with @emph{strings}, which are sequences composed
of characters. @xref{String Type}.
of characters. @xref{String Type}.
Characters in strings, buffers, and files are currently limited to
Characters in strings and buffers are currently limited to the range
the range of 0 to 524287---nineteen bits. But not all values in that
of 0 to 4194303---twenty two bits (@pxref{Character Codes}). Codes 0
range are valid character codes. Codes 0 through 127 are
through 127 are @acronym{ASCII} codes; the rest are
@acronym{ASCII} codes; the rest are non-@acronym{ASCII}
non-@acronym{ASCII} (@pxref{Non-ASCII Characters}). Characters that
(@pxref{Non-ASCII Characters}). Characters that represent keyboard
represent keyboard input have a much wider range, to encode modifier
input have a much wider range, to encode modifier keys such as
keys such as Control, Meta and Shift.
Control, Meta and Shift.
There are special functions for producing a human-readable textual
There are special functions for producing a human-readable textual
description of a character for the sake of messages. @xref{Describing
description of a character for the sake of messages. @xref{Describing
...
@@ -362,7 +361,7 @@ an error.
...
@@ -362,7 +361,7 @@ an error.
This peculiar and inconvenient syntax was adopted for compatibility
This peculiar and inconvenient syntax was adopted for compatibility
with other programming languages. Unlike some other languages, Emacs
with other programming languages. Unlike some other languages, Emacs
Lisp supports this syntax
in
only character literals and strings.
Lisp supports this syntax only
in
character literals and strings.
@cindex @samp{\} in character constant
@cindex @samp{\} in character constant
@cindex backslash in character constant
@cindex backslash in character constant
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment