> Date: Tue, 11 Oct 2011 13:39:36 +0900 > From: "Martin J. Dürst" <[email protected]> > CC: [email protected], [email protected] > > > Sorry, I don't follow you. There's no such "line-folding" in the > > Emacs implementation of the UBA. A line that doesn't fit the window > > width is reordered as a whole. Conceptually, reordering is done > > before breaking a long line into continuation lines. > > This is exactly what I meant. In Emacs, reordering is done before > breaking a long line into smaller segments to fit into the width of the > display window.
Okay, then what we have is a simple misunderstanding. Thanks for clearing it up. > I called this "line-folding", you call it continuation lines. Well, "continuation lines" _is_ the Emacs terminology ;-) > But in the bidi algorithm itself, line breaking (be it automatic due to > a layout algorithm or explicit due to LS or something similar) is > applied *before* reordering. This is very important, because otherwise, > content that is logically earlier may appear on later lines, which would > be very confusing for readers. I know, but implementing this in the Emacs display engine means terrible complications, so I opted not to do that, at least for the first version of it.

