unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* right-char and left-char
@ 2011-10-06 16:45 Chong Yidong
  2011-10-06 18:21 ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Chong Yidong @ 2011-10-06 16:45 UTC (permalink / raw)
  To: emacs-devel

In the Emacs manual, the documentation for right-char says:

`<right>'
     Move one character to the right (`right-char').  This moves one
     character forward in text that is read in the usual left-to-right
     direction, but one character _backward_ if the text is read
     right-to-left, as needed for right-to-left scripts such as Arabic.

But in fact, the directionality of right-char and left-char depends on
current-bidi-paragraph-direction.  If you have RTL text embedded in LTR
paragraphs, like in the HELLO file, <right> moves left while in the RTL
segment.  This contradicts the manual description, which merely states
"if the text is read right-to-left".

Which is the intended behavior?



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-10-07 15:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-06 16:45 right-char and left-char Chong Yidong
2011-10-06 18:21 ` Eli Zaretskii
2011-10-06 22:04   ` Chong Yidong
2011-10-06 22:45     ` Drew Adams
2011-10-07 12:37       ` Eli Zaretskii
2011-10-07  1:49     ` Stefan Monnier
2011-10-07 12:16       ` Eli Zaretskii
2011-10-07 12:04     ` Eli Zaretskii
2011-10-06 22:20   ` Chong Yidong
2011-10-07 12:08     ` Eli Zaretskii
2011-10-07 15:57       ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).