diff options
| author | Eli Zaretskii | 2010-05-08 16:25:31 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2010-05-08 16:25:31 +0300 |
| commit | f884842302daef76710893343ebf923b9304273a (patch) | |
| tree | b4dbf05dbd346117bdc1a6845615a6da28febcfc /doc | |
| parent | 4721152c32bf2f4fac259c0c6c7566b2bc0854d2 (diff) | |
| download | emacs-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/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 18 |
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 @@ | |||
| 1 | 2010-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 | |||
| 1 | 2010-04-20 Juanma Barranquero <lekktu@gmail.com> | 7 | 2010-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 | |||
| 375 | value is a string consisting of upper-case Latin letters A to Z, | 375 | value is a string consisting of upper-case Latin letters A to Z, |
| 376 | digits, spaces, and hyphen @samp{-} characters. | 376 | digits, spaces, and hyphen @samp{-} characters. |
| 377 | 377 | ||
| 378 | @cindex unicode general category | ||
| 378 | @item general-category | 379 | @item general-category |
| 379 | This property corresponds to the Unicode @code{General_Category} | 380 | This property corresponds to the Unicode @code{General_Category} |
| 380 | property. The value is a symbol whose name is a 2-letter abbreviation | 381 | property. 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 |
| 505 | The value of this variable is a char-table (@pxref{Char-Tables}) that | 506 | The value of this variable is a char-table (@pxref{Char-Tables}) that |
| 506 | specifies, for each character, a symbol whose name is the script to | 507 | specifies, for each character, its Unicode @code{General_Category} |
| 507 | which the character belongs, according to the Unicode Standard | 508 | property as a symbol. |
| 508 | classification of the Unicode code space into script-specific blocks. | 509 | @end defvar |
| 509 | This char-table has a single extra slot whose value is the list of all | 510 | |
| 510 | script symbols. | 511 | @defvar char-script-table |
| 512 | The value of this variable is a char-table that specifies, for each | ||
| 513 | character, a symbol whose name is the script to which the character | ||
| 514 | belongs, according to the Unicode Standard classification of the | ||
| 515 | Unicode code space into script-specific blocks. This char-table has a | ||
| 516 | single 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 |