From 47dbc0440f91830d0fe431a3fdd809f54b1671a1 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 29 Nov 2008 12:20:25 +0000 Subject: [PATCH] (Character Type): Correct the range of Emacs characters. Add an @xref to "Character Codes". --- doc/lispref/ChangeLog | 12 ++++++++++++ doc/lispref/objects.texi | 15 +++++++-------- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 3b6f5fb33fa..0234b178c5f 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,15 @@ +2008-11-29 Eli Zaretskii + + * 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 * nonascii.texi (Text Representations, Converting Representations) diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index 5f7740ae298..350817f7c63 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi @@ -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 of characters. @xref{String Type}. - Characters in strings, buffers, and files are currently limited to -the range of 0 to 524287---nineteen bits. But not all values in that -range are valid character codes. Codes 0 through 127 are -@acronym{ASCII} codes; the rest are non-@acronym{ASCII} -(@pxref{Non-ASCII Characters}). Characters that represent keyboard -input have a much wider range, to encode modifier keys such as -Control, Meta and Shift. + Characters in strings and buffers are currently limited to the range +of 0 to 4194303---twenty two bits (@pxref{Character Codes}). Codes 0 +through 127 are @acronym{ASCII} codes; the rest are +non-@acronym{ASCII} (@pxref{Non-ASCII Characters}). Characters that +represent keyboard input have a much wider range, to encode modifier +keys such as Control, Meta and Shift. There are special functions for producing a human-readable textual description of a character for the sake of messages. @xref{Describing @@ -362,7 +361,7 @@ an error. This peculiar and inconvenient syntax was adopted for compatibility 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 backslash in character constant -- 2.39.2