Re: Emacs & Hebrew

2012-06-15 Thread Omer Zak
On Fri, 2012-06-15 at 11:08 +0300, Eli Zaretskii wrote: > > From: Omer Zak [... a pathological example was snipped ...] > > In which BiDi reordering would leave the software developer very > > confused if he wants to figure out into which glyphs do 'q' and 'v' get > > translated. Or which glyph w

Re: Emacs & Hebrew

2012-06-15 Thread Eli Zaretskii
> From: Omer Zak > Cc: Eli Zaretskii , linux-il@cs.huji.ac.il > Date: Fri, 15 Jun 2012 10:55:13 +0300 > > Nice example! > > It could be complicated further by having strings with mixture of LTR > and RTL glyphs. Such as: > > string.tr("abcdefghijklmnopqrstuvwxyz" > "ABC,EFG abc: HIJ>

Re: Emacs & Hebrew

2012-06-15 Thread Omer Zak
On Fri, 2012-06-15 at 10:41 +0300, Dov Grobgeld wrote: > as the syntax engine should isolate the bidi reordering of A from that > of B, there is no problem. It won't be flawless though as e.g. in the > following example: > >string.tr("abcdef", > "ABCDEF") > > where you would

Re: Emacs & Hebrew

2012-06-15 Thread Dov Grobgeld
I absolutely agree with Eli, that getting reasonable Bidi display when editing source code in Emacs is feasible, for the very reason that emacs is *syntax aware*. As long as the syntax is understood, it is possible to make sure that the various syntax elements (keywords, strings, comments) are hand