aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2014-09-03 19:09:48 +0300
committerEli Zaretskii2014-09-03 19:09:48 +0300
commita7fed5a88274d2d3737f7fd1192587731b4d4595 (patch)
tree07bd20e42ccbb1d2d7a8368c39446a96f1c2f48c /doc
parent2fca7ae050c62d572d050b377c289091ff7f0547 (diff)
downloademacs-a7fed5a88274d2d3737f7fd1192587731b4d4595.tar.gz
emacs-a7fed5a88274d2d3737f7fd1192587731b4d4595.zip
Added BidiBrackets.txt and related Unicode properties to unidqata-gen.el.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/nonascii.texi26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index d5bfacca976..902eb405411 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -520,6 +520,24 @@ property to display mirror images of characters when appropriate
520(@pxref{Bidirectional Display}). For unassigned codepoints, the value 520(@pxref{Bidirectional Display}). For unassigned codepoints, the value
521is @code{nil}. 521is @code{nil}.
522 522
523@item paired-bracket
524Corresponds to the Unicode @code{Bidi_Paired_Bracket} property. The
525value of this property is the codepoint of a character's @dfn{paired
526bracket}, or @code{nil} if the character is not a bracket character.
527This establishes a mapping between characters that are treated as
528bracket pairs by the Unicode Bidirectional Algorithm; Emacs uses this
529property when it decides how to reorder for display parentheses,
530braces, and other similar characters (@pxref{Bidirectional Display}).
531
532@item bracket-type
533Corresponds to the Unicode @code{Bidi_Paired_Bracket_Type} property.
534For characters whose @code{paired-bracket} property is non-@code{nil},
535the value of this property is a symbol, either @code{o} (for opening
536bracket characters) or @code{c} (for closing bracket characters). For
537characters whose @code{paired-bracket} property is @code{nil}, the
538value is the symbol @code{n} (None). Like @code{paired-bracket}, this
539property is used for bidirectional display.
540
523@item old-name 541@item old-name
524Corresponds to the Unicode @code{Unicode_1_Name} property. The value 542Corresponds to the Unicode @code{Unicode_1_Name} property. The value
525is a string. Unassigned codepoints, and characters that have no value 543is a string. Unassigned codepoints, and characters that have no value
@@ -574,6 +592,14 @@ This function returns the value of @var{char}'s @var{propname} property.
574(get-char-code-property ?\u2163 'numeric-value) 592(get-char-code-property ?\u2163 'numeric-value)
575 @result{} 4 593 @result{} 4
576@end group 594@end group
595@group
596(get-char-code-property ?\( 'paired-bracket)
597 @result{} 41 ;; closing parenthesis
598@end group
599@group
600(get-char-code-property ?\) 'bracket-type)
601 @result{} c
602@end group
577@end example 603@end example
578@end defun 604@end defun
579 605