aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2010-05-15 16:23:48 +0300
committerEli Zaretskii2010-05-15 16:23:48 +0300
commitd20e1419fda6f29478d79f69db8e128d043d4ee1 (patch)
tree6c3d55edc1c753f3578111b10802397974fc61cc /etc
parent98d8b17e45bb1246df61e51f8917b98faa9f1cdd (diff)
downloademacs-d20e1419fda6f29478d79f69db8e128d043d4ee1.tar.gz
emacs-d20e1419fda6f29478d79f69db8e128d043d4ee1.zip
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
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index a60962cf1f4..715dc12c467 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -63,6 +63,9 @@ according to the value of this variable. Possible values are
63default), Emacs determines the base direction of each paragraph from 63default), Emacs determines the base direction of each paragraph from
64its text, as specified by the Unicode Bidirectional Algorithm. 64its text, as specified by the Unicode Bidirectional Algorithm.
65 65
66The function `current-bidi-paragraph-direction' returns the actual
67value of paragraph base direction at point.
68
66Reordering of bidirectional text for display in Emacs is a "Full 69Reordering of bidirectional text for display in Emacs is a "Full
67bidirectionality" class implementation of the Unicode Bidirectional 70bidirectionality" class implementation of the Unicode Bidirectional
68Algorithm. 71Algorithm.