Mercurial > emacs
diff etc/NEWS @ 108596:cd5442b2826b
Implement bidi-sensitive movement with arrow keys.
src/bidi.c (bidi_paragraph_init): Don't leave alone garbage values
of bidi_it->paragraph_dir. Call bidi_initialize if needed.
src/xdisp.c (Fcurrent_bidi_paragraph_direction): New function.
(syms_of_xdisp): Defsubr it.
src/cmds.c (Fforward_char, Fbackward_char): Doc fix.
src/subr.el (right-arrow-command, left-arrow-command): New functions.
src/bindings.el (global-map): Bind them to right and left arrow keys.
etc/NEWS: Mention current-bidi-paragraph-direction
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 15 May 2010 16:23:48 +0300 |
parents | f6cfadfc0fb6 |
children | d38b0dd2bdbe |
line wrap: on
line diff
--- a/etc/NEWS Sat May 15 11:38:48 2010 +0300 +++ b/etc/NEWS Sat May 15 16:23:48 2010 +0300 @@ -63,6 +63,9 @@ default), Emacs determines the base direction of each paragraph from its text, as specified by the Unicode Bidirectional Algorithm. +The function `current-bidi-paragraph-direction' returns the actual +value of paragraph base direction at point. + Reordering of bidirectional text for display in Emacs is a "Full bidirectionality" class implementation of the Unicode Bidirectional Algorithm.