diff options
| author | Eli Zaretskii | 2009-01-10 12:30:41 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2009-01-10 12:30:41 +0000 |
| commit | c06ea95e7c7c6ba47d6d364aeb55d2ba6836d3ff (patch) | |
| tree | 7f8a8c5019d30600df6f95a802b716d1cd7385f7 /doc/lispref | |
| parent | 0b4faef3a5cd5f87ea782d23e33a2610cfd0ff47 (diff) | |
| download | emacs-c06ea95e7c7c6ba47d6d364aeb55d2ba6836d3ff.tar.gz emacs-c06ea95e7c7c6ba47d6d364aeb55d2ba6836d3ff.zip | |
(Character Properties): Improve wording.
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 1 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 20 |
2 files changed, 15 insertions, 6 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index bf6d58f15db..8d55c3958be 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | * nonascii.texi (Lisp and Coding Systems): Document | 3 | * nonascii.texi (Lisp and Coding Systems): Document |
| 4 | inhibit-null-byte-detection and inhibit-iso-escape-detection. | 4 | inhibit-null-byte-detection and inhibit-iso-escape-detection. |
| 5 | (Character Properties): Improve wording. | ||
| 5 | 6 | ||
| 6 | 2009-01-09 Chong Yidong <cyd@stupidchicken.com> | 7 | 2009-01-09 Chong Yidong <cyd@stupidchicken.com> |
| 7 | 8 | ||
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index fceabcc3fc1..f454835585d 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi | |||
| @@ -370,9 +370,16 @@ retrieving properties of characters. | |||
| 370 | 370 | ||
| 371 | In Emacs, each property has a name, which is a symbol, and a set of | 371 | In Emacs, each property has a name, which is a symbol, and a set of |
| 372 | possible values, whose types depend on the property; if a character | 372 | possible values, whose types depend on the property; if a character |
| 373 | does not have a certain property, the value is @code{nil}. Here's the | 373 | does not have a certain property, the value is @code{nil}. As a |
| 374 | full list of value types for all the character properties that Emacs | 374 | general rule, the names of character properties in Emacs are produced |
| 375 | knows about: | 375 | from the corresponding Unicode properties by downcasing them and |
| 376 | replacing each @samp{_} character with a dash @samp{-}. For example, | ||
| 377 | @code{Canonical_Combining_Class} becomes | ||
| 378 | @code{canonical-combining-class}. However, sometimes we shorten the | ||
| 379 | names to make their use easier. | ||
| 380 | |||
| 381 | Here's the full list of value types for all the character properties | ||
| 382 | that Emacs knows about: | ||
| 376 | 383 | ||
| 377 | @table @code | 384 | @table @code |
| 378 | @item name | 385 | @item name |
| @@ -399,8 +406,9 @@ Corresponds to the Unicode @code{Decomposition_Type} and | |||
| 399 | @code{Decomposition_Value} properties. The value is a list, whose | 406 | @code{Decomposition_Value} properties. The value is a list, whose |
| 400 | first element may be a symbol representing a compatibility formatting | 407 | first element may be a symbol representing a compatibility formatting |
| 401 | tag, such as @code{small}@footnote{ | 408 | tag, such as @code{small}@footnote{ |
| 402 | Note that Emacs strips the @samp{<..>} brackets from the corresponding | 409 | Note that the Unicode spec writes these tag names inside |
| 403 | Unicode tags; e.g., Unicode specifies @samp{<small>} where Emacs uses | 410 | @samp{<..>} brackets. The tag names in Emacs do not include the |
| 411 | brackets; e.g., Unicode specifies @samp{<small>} where Emacs uses | ||
| 404 | @samp{small}. | 412 | @samp{small}. |
| 405 | }; the other elements are characters that give the compatibility | 413 | }; the other elements are characters that give the compatibility |
| 406 | decomposition sequence of this character. | 414 | decomposition sequence of this character. |
| @@ -428,7 +436,7 @@ numbers. For example, the value of this property for the character | |||
| 428 | 436 | ||
| 429 | @item mirrored | 437 | @item mirrored |
| 430 | Corresponds to the Unicode @code{Bidi_Mirrored} property. The value | 438 | Corresponds to the Unicode @code{Bidi_Mirrored} property. The value |
| 431 | of this property is a symbol, either @samp{Y} or @samp{N}. | 439 | of this property is a symbol, either @code{Y} or @code{N}. |
| 432 | 440 | ||
| 433 | @item old-name | 441 | @item old-name |
| 434 | Corresponds to the Unicode @code{Unicode_1_Name} property. The value | 442 | Corresponds to the Unicode @code{Unicode_1_Name} property. The value |