diff options
-rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
-rw-r--r-- | doc/emacs/mule.texi | 2 | ||||
-rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
-rw-r--r-- | doc/lispref/display.texi | 2 | ||||
-rw-r--r-- | etc/NEWS | 7 | ||||
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/buffer.c | 4 |
7 files changed, 24 insertions, 6 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index e10b9a83a4..794771e24d 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,8 @@ +2011-07-28 Eli Zaretskii <eliz@gnu.org> + + * mule.texi (Bidirectional Editing): Document the fact that + bidi-display-reordering is t by default. + 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org> * help.texi (Misc Help): Mention `describe-prefix-bindings' diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index 3c970ecb12..4f1683ef5e 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi @@ -1703,7 +1703,7 @@ Annex #9, for reordering of bidirectional text for display. whether text in the buffer is reordered for display. If its value is non-@code{nil}, Emacs reorders characters that have right-to-left directionality when they are displayed. The default value is -@code{nil}. +@code{t}. Each paragraph of bidirectional text can have its own @dfn{base direction}, either right-to-left or left-to-right. (Paragraph diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index d59bbf87bc..f08ee3a227 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2011-07-28 Eli Zaretskii <eliz@gnu.org> + + * display.texi (Bidirectional Display): Document the fact that + bidi-display-reordering is t by default. + 2011-07-23 Eli Zaretskii <eliz@gnu.org> * display.texi (Bidirectional Display): New section. diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 903232bcbd..077d099223 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -6007,7 +6007,7 @@ a ``Full bidirectionality'' class implementation of the @acronym{UBA}. whether text in the buffer is reordered for display. If its value is non-@code{nil}, Emacs reorders characters that have right-to-left directionality when they are displayed. The default value is -@code{nil}. Text in overlay strings (@pxref{Overlay +@code{t}. Text in overlay strings (@pxref{Overlay Properties,,before-string}), display strings (@pxref{Overlay Properties,,display}), and @code{display} text properties (@pxref{Display Property}) is also reordered if the buffer whose text @@ -173,8 +173,11 @@ in your ~/.authinfo file instead. See the node "Bidirectional Editing" in the Emacs Manual for some additional documentation. -To turn this on in any given buffer, set the buffer-local variable -`bidi-display-reordering' to a non-nil value. The default is nil. +To turn this off in any given buffer, set the buffer-local variable +`bidi-display-reordering' to a nil value. The default is t. For text +that includes no right-to-left characters, the result of reordering +looks exactly as it did in previous versions, i.e. there's no +reordering at all. The buffer-local variable `bidi-paragraph-direction', if non-nil, forces each paragraph in the buffer to have its base direction diff --git a/src/ChangeLog b/src/ChangeLog index eef9cede56..8c24a1f474 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-07-28 Eli Zaretskii <eliz@gnu.org> + + * buffer.c (init_buffer_once, syms_of_buffer): Set + bidi-display-reordering to t by default. + 2011-07-28 Paul Eggert <eggert@cs.ucla.edu> * alloc.c (memory_full) [!SYNC_INPUT]: Fix signal-related race. diff --git a/src/buffer.c b/src/buffer.c index a40275db8d..79800490fd 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -4926,7 +4926,7 @@ init_buffer_once (void) BVAR (&buffer_defaults, truncate_lines) = Qnil; BVAR (&buffer_defaults, word_wrap) = Qnil; BVAR (&buffer_defaults, ctl_arrow) = Qt; - BVAR (&buffer_defaults, bidi_display_reordering) = Qnil; + BVAR (&buffer_defaults, bidi_display_reordering) = Qt; BVAR (&buffer_defaults, bidi_paragraph_direction) = Qnil; BVAR (&buffer_defaults, cursor_type) = Qt; BVAR (&buffer_defaults, extra_line_spacing) = Qnil; @@ -5500,7 +5500,7 @@ The variable `coding-system-for-write', if non-nil, overrides this variable. This variable is never applied to a way of decoding a file while reading it. */); DEFVAR_PER_BUFFER ("bidi-display-reordering", - &BVAR (current_buffer, bidi_display_reordering), Qnil, + &BVAR (current_buffer, bidi_display_reordering), Qt, doc: /* Non-nil means reorder bidirectional text for display in the visual order. */); DEFVAR_PER_BUFFER ("bidi-paragraph-direction", |