> From: Mohammad Hossein Sekhavat <[email protected]> > Date: Thu, 19 May 2016 13:58:52 +0430 > Cc: [email protected] > > > 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. _______________________________________________ emacs-bidi mailing list [email protected] https://lists.gnu.org/mailman/listinfo/emacs-bidi
