emacs-bidi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-bidi] Where do I start?


From: Alex Schroeder
Subject: Re: [emacs-bidi] Where do I start?
Date: Tue, 13 Nov 2001 18:38:40 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu)

"Eli Zaretskii" <address@hidden> writes:

> I'd prefer a bit more testing and polishing (see below), but it's up
> to you.  I'm a liberal manager ;-)

Fine by me.  I haven't looked at the Fribi Tests, so I will do that
now.

>> I think this mostly works.  What I'm still playing around with is
>> Ehud's idea of how to improve the visual-to-logical transformation.
>
> What happens with the example(s) posted by Ehud?  Do they work?

No, when I convert them they turn into a logical representation which,
if the reverse operation is applied, does not yield the original text.
This is what Ehud expected.  Ehud then proposed an idea involving the
insertion of additional LRM characters.  I'm still not sure I
understood how it was supposed to work, but I wrote that already in
another mail.

As to punctuation etc. I am pretty confident that my implementation
will have the exact deficits to be expected from a UAX#9
implementation.

What follows are blocks of three lines.  The first line lists the
example Ehud proposed, the second line has the result in an
left-to-right context, the third lists thre result in a right-to-left
context.  I produced these by calling M-x
bidi-visual-to-logical-paragraph and answering left-to-right or
right-to-left respectively.

    ABCDE .50$ FGHIJ

    JIHGF 50$. EDCBA

JIHGF 50$. EDCBA    


    ABCDE .50% FGHIJ

    JIHGF 50%. EDCBA

JIHGF 50%. EDCBA    


    ABCDE .$50 FGHIJ

    JIHGF $50. EDCBA

JIHGF $50. EDCBA    


    ABCDE .%50 FGHIJ

    JIHGF %50. EDCBA

JIHGF %50. EDCBA    

Alex.
-- 
http://www.emacswiki.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]