emacs-bidi
[Top][All Lists]
Advanced

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

Re: [emacs-bidi] Bidirectional editing in Emacs -- main design decisions


From: Eli Zaretskii
Subject: Re: [emacs-bidi] Bidirectional editing in Emacs -- main design decisions
Date: Thu, 19 May 2016 19:41:09 +0300

> From: Mohammad Hossein Sekhavat <address@hidden>
> Date: Thu, 19 May 2016 13:58:52 +0430
> Cc: address@hidden
> 
> > In each of these examples, either there's no problem having the text
> > displayed in a L2R paragraph (it still gets reordered correctly),
> 
> No it doesn't. Believe me! Just an english word in a RTL line is enough to 
> become unreadable when it is
> displayed LTR.

Example of such unreadable LTR word?

> > or you can start the line with a RLM character to see better results in
> > some cases.
> Of course you can handle it with RLM character even if your editor doesn't 
> support dynamic reordering at all.
> But we emacs users expect smart behavior.
> 
> > TeX file is not a simple text file (similar to HTML). Supporting
> > correct bidi reordering in such structured meta-text files is a
> > feature that is missing. You cannot fix this by just setting paragraph
> > direction.
> I do not expect emacs to support correct bidi reordering based on structure 
> of a file. I just expect it to be able
> to have the same 
> ​idea 
> as most of other editors
> , about what a paragraph is​. Although 
> ​​emacs is still 
> UAX#9
> ​-compatible, but it is inconsistent with most of other UAX#9-compatible 
> editors. So the blame for
> inconsistency is on emacs.

So I'm to blame, and let's end this unpleasant discussion at that.

> ​Would you please let me know which functions in which files are most related 
> how emacs ​bidi dynamic
> reordering algorithm separates paragraphs?

It's all in bidi.c.



reply via email to

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