From c06ea95e7c7c6ba47d6d364aeb55d2ba6836d3ff Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 10 Jan 2009 12:30:41 +0000 Subject: [PATCH] (Character Properties): Improve wording. --- doc/lispref/ChangeLog | 1 + 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 @@ * nonascii.texi (Lisp and Coding Systems): Document inhibit-null-byte-detection and inhibit-iso-escape-detection. + (Character Properties): Improve wording. 2009-01-09 Chong Yidong 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. In Emacs, each property has a name, which is a symbol, and a set of possible values, whose types depend on the property; if a character -does not have a certain property, the value is @code{nil}. Here's the -full list of value types for all the character properties that Emacs -knows about: +does not have a certain property, the value is @code{nil}. As a +general rule, the names of character properties in Emacs are produced +from the corresponding Unicode properties by downcasing them and +replacing each @samp{_} character with a dash @samp{-}. For example, +@code{Canonical_Combining_Class} becomes +@code{canonical-combining-class}. However, sometimes we shorten the +names to make their use easier. + + Here's the full list of value types for all the character properties +that Emacs knows about: @table @code @item name @@ -399,8 +406,9 @@ Corresponds to the Unicode @code{Decomposition_Type} and @code{Decomposition_Value} properties. The value is a list, whose first element may be a symbol representing a compatibility formatting tag, such as @code{small}@footnote{ -Note that Emacs strips the @samp{<..>} brackets from the corresponding -Unicode tags; e.g., Unicode specifies @samp{} where Emacs uses +Note that the Unicode spec writes these tag names inside +@samp{<..>} brackets. The tag names in Emacs do not include the +brackets; e.g., Unicode specifies @samp{} where Emacs uses @samp{small}. }; the other elements are characters that give the compatibility decomposition sequence of this character. @@ -428,7 +436,7 @@ numbers. For example, the value of this property for the character @item mirrored Corresponds to the Unicode @code{Bidi_Mirrored} property. The value -of this property is a symbol, either @samp{Y} or @samp{N}. +of this property is a symbol, either @code{Y} or @code{N}. @item old-name Corresponds to the Unicode @code{Unicode_1_Name} property. The value -- 2.39.2