> Date: Sun, 5 Apr 2015 09:46:50 +0300 > From: Dov Grobgeld <dov.grobg...@gmail.com> > Cc: "Nadav Har'El" <n...@math.technion.ac.il>, Dotan Cohen > <dotanco...@gmail.com>, > linux-il <linux-il@cs.huji.ac.il> > > Great! Does this mean that a major mode can now modify a markup like <tag> so > that it is "rendered" as &FSI;<tag>&PDI; and thus have no influence on the > chosen paragraph direction?
I'm not sure what you mean by "rendered as". Emacs needs to see the FSI and PDI controls in the buffer, in order for them to take their effect on buffer text prescribed by the UBA. And if the tag is in some display or overlay string, the FSI and PDI controls must be in the same string. > If this works and you write > > <h1>שלום!</h1> > > it would be shown in emacs as an RTL paragraph as the tags would be ignored. Yes, if <h1> is enclosed in FSI..PDI, this is displayed as an RTL paragraph in Emacs 25.0.50, the development version. However, usual caveats about what is a paragraph apply: if the above line is not preceded by an empty line, it will "inherit" the base paragraph direction from preceding lines; Emacs will not change the base direction except at the beginning of a new paragraph. _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il