diff options
| author | Eli Zaretskii | 2014-09-03 19:09:48 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-09-03 19:09:48 +0300 |
| commit | a7fed5a88274d2d3737f7fd1192587731b4d4595 (patch) | |
| tree | 07bd20e42ccbb1d2d7a8368c39446a96f1c2f48c /doc | |
| parent | 2fca7ae050c62d572d050b377c289091ff7f0547 (diff) | |
| download | emacs-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.texi | 26 |
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 |
| 521 | is @code{nil}. | 521 | is @code{nil}. |
| 522 | 522 | ||
| 523 | @item paired-bracket | ||
| 524 | Corresponds to the Unicode @code{Bidi_Paired_Bracket} property. The | ||
| 525 | value of this property is the codepoint of a character's @dfn{paired | ||
| 526 | bracket}, or @code{nil} if the character is not a bracket character. | ||
| 527 | This establishes a mapping between characters that are treated as | ||
| 528 | bracket pairs by the Unicode Bidirectional Algorithm; Emacs uses this | ||
| 529 | property when it decides how to reorder for display parentheses, | ||
| 530 | braces, and other similar characters (@pxref{Bidirectional Display}). | ||
| 531 | |||
| 532 | @item bracket-type | ||
| 533 | Corresponds to the Unicode @code{Bidi_Paired_Bracket_Type} property. | ||
| 534 | For characters whose @code{paired-bracket} property is non-@code{nil}, | ||
| 535 | the value of this property is a symbol, either @code{o} (for opening | ||
| 536 | bracket characters) or @code{c} (for closing bracket characters). For | ||
| 537 | characters whose @code{paired-bracket} property is @code{nil}, the | ||
| 538 | value is the symbol @code{n} (None). Like @code{paired-bracket}, this | ||
| 539 | property is used for bidirectional display. | ||
| 540 | |||
| 523 | @item old-name | 541 | @item old-name |
| 524 | Corresponds to the Unicode @code{Unicode_1_Name} property. The value | 542 | Corresponds to the Unicode @code{Unicode_1_Name} property. The value |
| 525 | is a string. Unassigned codepoints, and characters that have no value | 543 | is 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 | ||