summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-05-18 13:58:56 +0300
committerEli Zaretskii <eliz@gnu.org>2010-05-18 13:58:56 +0300
commit34313041556ea1cc4920753b10161919f8f22ef8 (patch)
tree4229e72ff22389fa8729b455b517482ca0a06516
parent560bb7ae8eb9873e1a6be40ff7f26e08228e1d1a (diff)
downloademacs-34313041556ea1cc4920753b10161919f8f22ef8.tar.gz
emacs-34313041556ea1cc4920753b10161919f8f22ef8.tar.bz2
emacs-34313041556ea1cc4920753b10161919f8f22ef8.zip
Document bidi-aware behavior of arrow keys and display features.
display.texi (Fringes): Document reversal of fringe arrows for R2L paragraphs. (Line Truncation): Fix wording for bidi display. basic.texi (Moving Point): Document bidi-aware behavior of the arrow keys.
-rw-r--r--doc/emacs/ChangeLog9
-rw-r--r--doc/emacs/basic.texi14
-rw-r--r--doc/emacs/display.texi9
3 files changed, 27 insertions, 5 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index a8a43f56d9d..3e793d33340 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,12 @@
+2010-05-18 Eli Zaretskii <eliz@gnu.org>
+
+ * display.texi (Fringes): Document reversal of fringe arrows for R2L
+ paragraphs.
+ (Line Truncation): Fix wording for bidi display.
+
+ * basic.texi (Moving Point): Document bidi-aware behavior of he arrow
+ keys.
+
2010-05-08 Chong Yidong <cyd@stupidchicken.com>
* building.texi (GDB Graphical Interface): Remove misleading comparison
diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi
index ae04ebf9c41..654c017c59e 100644
--- a/doc/emacs/basic.texi
+++ b/doc/emacs/basic.texi
@@ -146,6 +146,8 @@ keyboard commands that move point in more sophisticated ways.
@findex move-end-of-line
@findex forward-char
@findex backward-char
+@findex right-arrow-command
+@findex left-arrow-command
@findex next-line
@findex previous-line
@findex beginning-of-buffer
@@ -161,11 +163,19 @@ Move to the beginning of the line (@code{move-beginning-of-line}).
@itemx @key{End}
Move to the end of the line (@code{move-end-of-line}).
@item C-f
-@itemx @key{right}
Move forward one character (@code{forward-char}).
+@item @key{right}
+Move one character to the right (@code{right-arrow-command}). This
+moves one character forward in text that is read in the usual
+left-to-right direction, but one character @emph{backward} if the text
+is read right-to-left, as needed for right-to-left scripts such as
+Arabic. @xref{Bidirectional Editing}.
@item C-b
-@itemx @key{left}
Move backward one character (@code{backward-char}).
+@item @key{left}
+Move one character to the left (@code{left-arrow-command}). This
+moves one character backward in left-to-right text and one character
+forward in right-to-left text.
@item M-f
@itemx M-@key{right}
@itemx C-@key{right}
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi
index dcf424f0f47..3d3a1e03e46 100644
--- a/doc/emacs/display.texi
+++ b/doc/emacs/display.texi
@@ -804,7 +804,10 @@ line, when one line of text is split into multiple lines on the
screen. The left fringe shows a curving arrow for each screen line
except the first, indicating that ``this is not the real beginning.''
The right fringe shows a curving arrow for each screen line except the
-last, indicating that ``this is not the real end.''
+last, indicating that ``this is not the real end.'' If the line's
+direction is right-to-left (@pxref{Bidirectional Editing}), the
+meaning of the curving arrows in the left and right fringes are
+swapped.
The fringes indicate line truncation with short horizontal arrows
meaning ``there's more text on this line which is scrolled
@@ -1191,8 +1194,8 @@ can display long lines by @dfn{truncation}. This means that all the
characters that do not fit in the width of the screen or window do not
appear at all. On graphical displays, a small straight arrow in the
fringe indicates truncation at either end of the line. On text-only
-terminals, @samp{$} appears in the first column when there is text
-truncated to the left, and in the last column when there is text
+terminals, @samp{$} appears in the leftmost column when there is text
+truncated to the left, and in the rightmost column when there is text
truncated to the right.
@vindex truncate-lines