diff options
-rw-r--r-- | doc/emacs/mule.texi | 8 | ||||
-rw-r--r-- | doc/lispref/display.texi | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index 13407f6f07b..8edf2640cfe 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi @@ -1795,8 +1795,12 @@ of the first character you read precedes that of the next character. Reordering of bidirectional text into the @dfn{visual} order happens at display time. As result, character positions no longer increase monotonically with their positions on display. Emacs implements the -Unicode Bidirectional Algorithm described in the Unicode Standard -Annex #9, for reordering of bidirectional text for display. +Unicode Bidirectional Algorithm (UBA) described in the Unicode +Standard Annex #9, for reordering of bidirectional text for display. +It deviates from the UBA only in how continuation lines are displayed +when text direction is opposite to the base paragraph direction, +e.g. when a long line of English text appears in a right-to-left +paragraph. @vindex bidi-display-reordering The buffer-local variable @code{bidi-display-reordering} controls diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 04c5ba29fa6..2ebe872c362 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -7362,7 +7362,11 @@ follows the Unicode Bidirectional Algorithm (a.k.a.@: @acronym{UBA}), which is described in Annex #9 of the Unicode standard (@url{http://www.unicode.org/reports/tr9/}). Emacs provides a ``Full Bidirectionality'' class implementation of the @acronym{UBA}, -consistent with the requirements of the Unicode Standard v8.0. +consistent with the requirements of the Unicode Standard v9.0. Note, +however, that the way Emacs displays continuation lines when text +direction is opposite to the base paragraph direction deviates from +the UBA, which requires to perform line wrapping before reordering +text for display. @defvar bidi-display-reordering If the value of this buffer-local variable is non-@code{nil} (the |