Minor corrections in ELisp manual

* doc/lispref/nonascii.texi (Character Properties): Correct
inaccuracies in description of values of the Unicode properties.
This commit is contained in:
Eli Zaretskii 2015-06-26 13:03:02 +03:00
parent f142756338
commit bde61680ab

View file

@ -474,32 +474,36 @@ inside @samp{<..>} brackets, but the tag names in Emacs do not include
the brackets; e.g., Unicode specifies @samp{<small>} where Emacs uses the brackets; e.g., Unicode specifies @samp{<small>} where Emacs uses
@samp{small}. }; the other elements are characters that give the @samp{small}. }; the other elements are characters that give the
compatibility decomposition sequence of this character. For compatibility decomposition sequence of this character. For
unassigned codepoints, the value is the character itself. characters that don't have decomposition sequences, and for unassigned
codepoints, the value is a list with a single member, the character
itself.
@item decimal-digit-value @item decimal-digit-value
Corresponds to the Unicode @code{Numeric_Value} property for Corresponds to the Unicode @code{Numeric_Value} property for
characters whose @code{Numeric_Type} is @samp{Decimal}. The value is characters whose @code{Numeric_Type} is @samp{Decimal}. The value is
an integer. For unassigned codepoints, the value is an integer, or @code{nil} if the character has no decimal digit value.
@code{nil}, which means @acronym{NaN}, or ``not-a-number''. For unassigned codepoints, the value is @code{nil}, which means
@acronym{NaN}, or ``not-a-number''.
@item digit-value @item digit-value
Corresponds to the Unicode @code{Numeric_Value} property for Corresponds to the Unicode @code{Numeric_Value} property for
characters whose @code{Numeric_Type} is @samp{Digit}. The value is an characters whose @code{Numeric_Type} is @samp{Digit}. The value is an
integer. Examples of such characters include compatibility integer. Examples of such characters include compatibility subscript
subscript and superscript digits, for which the value is the and superscript digits, for which the value is the corresponding
corresponding number. For unassigned codepoints, the value is number. For characters that don't have any numeric value, and for
@code{nil}, which means @acronym{NaN}. unassigned codepoints, the value is @code{nil}, which means
@acronym{NaN}.
@item numeric-value @item numeric-value
Corresponds to the Unicode @code{Numeric_Value} property for Corresponds to the Unicode @code{Numeric_Value} property for
characters whose @code{Numeric_Type} is @samp{Numeric}. The value of characters whose @code{Numeric_Type} is @samp{Numeric}. The value of
this property is a number. Examples of this property is a number. Examples of characters that have this
characters that have this property include fractions, subscripts, property include fractions, subscripts, superscripts, Roman numerals,
superscripts, Roman numerals, currency numerators, and encircled currency numerators, and encircled numbers. For example, the value of
numbers. For example, the value of this property for the character this property for the character @code{U+2155} (@sc{vulgar fraction one
@code{U+2155} (@sc{vulgar fraction one fifth}) is @code{0.2}. For fifth}) is @code{0.2}. For characters that don't have any numeric
unassigned codepoints, the value is @code{nil}, which means value, and for unassigned codepoints, the value is @code{nil}, which
@acronym{NaN}. means @acronym{NaN}.
@cindex mirroring of characters @cindex mirroring of characters
@item mirrored @item mirrored
@ -545,7 +549,8 @@ value for this property, the value is @code{nil}.
@item iso-10646-comment @item iso-10646-comment
Corresponds to the Unicode @code{ISO_Comment} property. The value is Corresponds to the Unicode @code{ISO_Comment} property. The value is
a string. For unassigned codepoints, the value is an empty string. either a string or @code{nil}. For unassigned codepoints, the value
is @code{nil}.
@item uppercase @item uppercase
Corresponds to the Unicode @code{Simple_Uppercase_Mapping} property. Corresponds to the Unicode @code{Simple_Uppercase_Mapping} property.