emacs-devel
[Top][All Lists]
Advanced

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

Re: Bidirectional editing in Emacs -- main design decisions


From: Eli Zaretskii
Subject: Re: Bidirectional editing in Emacs -- main design decisions
Date: Mon, 25 Apr 2011 21:59:43 +0300

> From: Mohsen BANAN <address@hidden>
> Cc: Mohsen BANAN <address@hidden>,  address@hidden,  address@hidden
> Date: Mon, 25 Apr 2011 11:44:06 -0700
> 
> The problem is not with display of a pure Farsi
> line or a pure Latin line or a mixed Latin+Farsi
> line.
> 
> The problem is with Fasri+Latin line. 
> In that it displays one way in emacs and a 
> differnt way in firefox.
> 
> Your citation above of my email has somehow
> reproduced the problem.
> 
> So, right here we have it captured.
> 
> Look at the display of my original message 
> below:
> 
> اسم کوچک من محسن Mohsen و اسم خانوادگى من بنان
> Banan است.
> 
> Now look at the display of citation line above
> starting on the left with ' >>'  after the 
>   >> For example when I write:
> 
> You see how the Farsi piece (word sequence -- not
> character sequence) is flipped around "Mohsen".

Which one of the two is correct, in the original text or in the
citations?  (I don't read Farsi.)

I think the issue here is paragraph direction, which in Emacs is
dynamically determined by default.  See below.

> In the browser my original text appears as it does
> in the citation.

Does the browser display it flushed to the left or to the right?

Does it help to say "M-x set-variable RET bidi-paragraph-direction RET
right-to-left RET" in Emacs?  Do you see both versions of the text
correctly then?

> And it displays just fine under emacs24 but word
> sequences are flipped when the browser renders
> that same byte sequence.

So the Emacs display is correct, is that what you are saying?  I don't
care about Firefox, but I do care about the bidirectional display in
Emacs.




reply via email to

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