aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorEli Zaretskii2009-01-10 12:30:41 +0000
committerEli Zaretskii2009-01-10 12:30:41 +0000
commitc06ea95e7c7c6ba47d6d364aeb55d2ba6836d3ff (patch)
tree7f8a8c5019d30600df6f95a802b716d1cd7385f7 /doc/lispref
parent0b4faef3a5cd5f87ea782d23e33a2610cfd0ff47 (diff)
downloademacs-c06ea95e7c7c6ba47d6d364aeb55d2ba6836d3ff.tar.gz
emacs-c06ea95e7c7c6ba47d6d364aeb55d2ba6836d3ff.zip
(Character Properties): Improve wording.
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/ChangeLog1
-rw-r--r--doc/lispref/nonascii.texi20
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
62009-01-09 Chong Yidong <cyd@stupidchicken.com> 72009-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
372possible values, whose types depend on the property; if a character 372possible values, whose types depend on the property; if a character
373does not have a certain property, the value is @code{nil}. Here's the 373does not have a certain property, the value is @code{nil}. As a
374full list of value types for all the character properties that Emacs 374general rule, the names of character properties in Emacs are produced
375knows about: 375from the corresponding Unicode properties by downcasing them and
376replacing 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
379names to make their use easier.
380
381 Here's the full list of value types for all the character properties
382that 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
400first element may be a symbol representing a compatibility formatting 407first element may be a symbol representing a compatibility formatting
401tag, such as @code{small}@footnote{ 408tag, such as @code{small}@footnote{
402Note that Emacs strips the @samp{<..>} brackets from the corresponding 409Note that the Unicode spec writes these tag names inside
403Unicode tags; e.g., Unicode specifies @samp{<small>} where Emacs uses 410@samp{<..>} brackets. The tag names in Emacs do not include the
411brackets; 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
406decomposition sequence of this character. 414decomposition 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
430Corresponds to the Unicode @code{Bidi_Mirrored} property. The value 438Corresponds to the Unicode @code{Bidi_Mirrored} property. The value
431of this property is a symbol, either @samp{Y} or @samp{N}. 439of this property is a symbol, either @code{Y} or @code{N}.
432 440
433@item old-name 441@item old-name
434Corresponds to the Unicode @code{Unicode_1_Name} property. The value 442Corresponds to the Unicode @code{Unicode_1_Name} property. The value