Turn on bidi-display-reordering by default.
src/buffer.c (init_buffer_once, syms_of_buffer): Set bidi-display-reordering to t by default. doc/emacs/mule.texi (Bidirectional Editing): Document the fact that bidi-display-reordering is t by default. lispref/display.texi (Bidirectional Display): Document the fact that bidi-display-reordering is t by default.
This commit is contained in:
parent
66606eea1f
commit
4cc60b9b85
7 changed files with 24 additions and 6 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
7
etc/NEWS
7
etc/NEWS
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue