[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/doc/lispref objects.texi
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] emacs/doc/lispref objects.texi |
Date: |
Fri, 27 Feb 2009 01:44:02 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 09/02/27 01:44:02
Modified files:
doc/lispref : objects.texi
Log message:
(General Escape Syntax): Update explanation of unicode escape syntax.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/doc/lispref/objects.texi?cvsroot=emacs&r1=1.16&r2=1.17
Patches:
Index: objects.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/objects.texi,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- objects.texi 21 Feb 2009 13:45:20 -0000 1.16
+++ objects.texi 27 Feb 2009 01:44:02 -0000 1.17
@@ -346,18 +346,19 @@
@subsubsection General Escape Syntax
In addition to the specific escape sequences for special important
-control characters, Emacs provides general categories of escape syntax
-that you can use to specify non-ASCII text characters.
+control characters, Emacs provides several types of escape syntax that
+you can use to specify non-ASCII text characters.
@cindex unicode character escape
- For instance, you can specify characters by their Unicode values.
+ You can specify characters by their Unicode values.
@address@hidden represents a character that maps to the Unicode
-code point @address@hidden There is a slightly different syntax
-for specifying characters with code points above @code{#xFFFF};
address@hidden@var{nnnnnn}} represents the character whose Unicode code
-point is @address@hidden, if such a character is supported by
-Emacs. If the corresponding character is not supported, Emacs signals
-an error.
+code point @address@hidden (by convention, Unicode code points are
+given in hexadecimal). There is a slightly different syntax for
+specifying characters with code points higher than
address@hidden@var{ffff}}: @address@hidden represents the character
+whose code point is @address@hidden The Unicode standard only
+defines code points up to @address@hidden, so if you specify a
+code point higher than that, Emacs signals an error.
This peculiar and inconvenient syntax was adopted for compatibility
with other programming languages. Unlike some other languages, Emacs