Commit 47dbc044 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(Character Type): Correct the range of Emacs characters. Add an @xref

to "Character Codes".
parent b5173574
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)
......
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment