diff options
| author | Eli Zaretskii | 2010-05-15 16:23:48 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2010-05-15 16:23:48 +0300 |
| commit | d20e1419fda6f29478d79f69db8e128d043d4ee1 (patch) | |
| tree | 6c3d55edc1c753f3578111b10802397974fc61cc /etc | |
| parent | 98d8b17e45bb1246df61e51f8917b98faa9f1cdd (diff) | |
| download | emacs-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -63,6 +63,9 @@ according to the value of this variable. Possible values are | |||
| 63 | default), Emacs determines the base direction of each paragraph from | 63 | default), Emacs determines the base direction of each paragraph from |
| 64 | its text, as specified by the Unicode Bidirectional Algorithm. | 64 | its text, as specified by the Unicode Bidirectional Algorithm. |
| 65 | 65 | ||
| 66 | The function `current-bidi-paragraph-direction' returns the actual | ||
| 67 | value of paragraph base direction at point. | ||
| 68 | |||
| 66 | Reordering of bidirectional text for display in Emacs is a "Full | 69 | Reordering of bidirectional text for display in Emacs is a "Full |
| 67 | bidirectionality" class implementation of the Unicode Bidirectional | 70 | bidirectionality" class implementation of the Unicode Bidirectional |
| 68 | Algorithm. | 71 | Algorithm. |