Re: Emacs for Arabic
Nadim Shaikli <shaikli <at> yahoo.com>
2002-07-03 16:40:01 GMT
--- Eli Zaretskii wrote:
>
> On Tue, 2 Jul 2002, Nadim Shaikli wrote:
>
> > 2. Regarding the "simplified" Bidi, could I suggest the following
> > rather simple addition. Pseudo-code would get the point across
> > simpler.
> >
> > if ( first_char_is_RTL )
> > Assume entire line is Right-To-Left
> > else
> > /* default */
> > Assume entire line is Left-To-Right
>
> I cannot say I like this approach. In my experience, it yields
> dreadfully wrong results in many practical cases. (MS-Windows implements
> something very similar.)
It certainly wouldn't be perfect, but as a simplified hack/approach it
might serve to be useful. For the various documents that I'm holding on
to, this approach would serve it very well (my perl hacks note that
at least
. It could be yet another "Use first-char BIDI algorithm"
next to the current 3 options under the Bidi menu.
> > 3. Your comment about "Handa's available time" pertains to modifying
> > the code to upload this to emacs' live CVS ? In other words, this
> > work/effort will make it to emacs' proper repository, correct ?
>
> The entire approach to the bidi reordering that Handa-san wrote several
> years ago was more or less rejected by Gerd Moellmann, who was very
(Continue reading)