aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2010-05-08 16:25:31 +0300
committerEli Zaretskii2010-05-08 16:25:31 +0300
commitf884842302daef76710893343ebf923b9304273a (patch)
treeb4dbf05dbd346117bdc1a6845615a6da28febcfc /doc
parent4721152c32bf2f4fac259c0c6c7566b2bc0854d2 (diff)
downloademacs-f884842302daef76710893343ebf923b9304273a.tar.gz
emacs-f884842302daef76710893343ebf923b9304273a.zip
Improve docs of Unicode General Category.
nonascii.texi (Character Properties): Document unicode-category-table. Add an index entry for Unicode general category.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog6
-rw-r--r--doc/lispref/nonascii.texi18
2 files changed, 18 insertions, 6 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index efd47aa8587..c6fe4ea9065 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,9 @@
12010-05-08 Eli Zaretskii <eliz@gnu.org>
2
3 * nonascii.texi (Character Properties): Document
4 unicode-category-table. Add an index entry for Unicode general
5 category.
6
12010-04-20 Juanma Barranquero <lekktu@gmail.com> 72010-04-20 Juanma Barranquero <lekktu@gmail.com>
2 8
3 * locals.texi (Standard Buffer-Local Variables): 9 * locals.texi (Standard Buffer-Local Variables):
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index dfcb3e4730b..00a1dffed6a 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -375,6 +375,7 @@ This property corresponds to the Unicode @code{Name} property. The
375value is a string consisting of upper-case Latin letters A to Z, 375value is a string consisting of upper-case Latin letters A to Z,
376digits, spaces, and hyphen @samp{-} characters. 376digits, spaces, and hyphen @samp{-} characters.
377 377
378@cindex unicode general category
378@item general-category 379@item general-category
379This property corresponds to the Unicode @code{General_Category} 380This property corresponds to the Unicode @code{General_Category}
380property. The value is a symbol whose name is a 2-letter abbreviation 381property. The value is a symbol whose name is a 2-letter abbreviation
@@ -501,13 +502,18 @@ This function stores @var{value} as the value of the property
501@var{propname} for the character @var{char}. 502@var{propname} for the character @var{char}.
502@end defun 503@end defun
503 504
504@defvar char-script-table 505@defvar unicode-category-table
505The value of this variable is a char-table (@pxref{Char-Tables}) that 506The value of this variable is a char-table (@pxref{Char-Tables}) that
506specifies, for each character, a symbol whose name is the script to 507specifies, for each character, its Unicode @code{General_Category}
507which the character belongs, according to the Unicode Standard 508property as a symbol.
508classification of the Unicode code space into script-specific blocks. 509@end defvar
509This char-table has a single extra slot whose value is the list of all 510
510script symbols. 511@defvar char-script-table
512The value of this variable is a char-table that specifies, for each
513character, a symbol whose name is the script to which the character
514belongs, according to the Unicode Standard classification of the
515Unicode code space into script-specific blocks. This char-table has a
516single extra slot whose value is the list of all script symbols.
511@end defvar 517@end defvar
512 518
513@defvar char-width-table 519@defvar char-width-table