[Top][All Lists]

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

Re: Bidirectional editing in Emacs -- main design decisions

From: Mohsen BANAN
Subject: Re: Bidirectional editing in Emacs -- main design decisions
Date: Mon, 25 Apr 2011 10:31:57 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

First let me preface that I am new to this list
(through gmane) and that I am not on top of the
subject matter at hand.

If I am understaning it right, I think your new
decision is right also from a different

In that it then becomes consistent with how bidi
works in mozilla/firefox.

Being consistent with the browser is important in
practice. Let me cite an example.

I have been using build GNU Emacs for a
while to exchange email (Gnus) in Farsi and mixed
Farsi/Latin with family and friends in Iran who
use browser based MUAs.

My mixed language text generated with emacs
displays inconsistently in firefox vs emacs24.

For example when I write:

اسم کوچک من محسن Mohsen و اسم خانوادگى من بنان
Banan است.

My first name is Mohsen محسن and my last name is
Banan بنان.

And I think the design decision that you mentioned
will make them consistent.

Thanks for the good work.




>>>>> On Tue, 19 Apr 2011 19:02:04 +0300, Eli Zaretskii <address@hidden> said:

  >> From: Stefan Monnier <address@hidden>
  >> Cc: address@hidden,  address@hidden
  >> Date: Tue, 19 Apr 2011 10:11:33 -0300
  >> It sounds very reasonable, but at the same time I don't understand in
  >> which way it differs from your earlier opinion that it should "stop
  >> reordering" (whose meaning is very unclear to me).

  Eli> Well, that's my fault: "stop reordering" is simply misleading.

  Eli> What I meant by that was that the reordering will completely process
  Eli> all the text before (in the logical order) the part covered by a
  Eli> display property, then process the display spec, and only then reorder
  Eli> the text after the property.

  Eli> So this buffer text

  Eli>   ABCDE display XYZ

  Eli> will be reordered as

  Eli>   EDCBA display ZYX

  Eli> instead of more sensible

  Eli>   ZYX display EDCBA

  Eli> under the new plan.

reply via email to

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