<div dir="ltr"><div>There was a complex issue of emacs bidi that I tried to follow back in 2002. The mailing list still up at:<br><br><a href="http://lists.gnu.org/archive/html/emacs-bidi/">http://lists.gnu.org/archive/html/emacs-bidi/</a><br>
<br>What I remember from the discussion was that fribidi and the Unicode Bidi algorithm were ruled out, because they were considered not to be "sufficient" for the emacs bidi needs. The discussion eventually reached such a technical complexity that I lost interest. In the end, appearently nothing came out of the effort and the bidi changes never made it into the trunk.<br>
<br>It is probably a good idea to restart and try to copy the Gtk or the Qt behavior. Note that BiDi is a lot more than just the application of the algorithm. You also need to take into account things such as:<br><ul><li>
Cursor movement.</li><li>Internal splitting of the visual and the logical positions.</li><li>Hit detection for mouse down.</li><li>The fact that a continous logical selection may be one, two, or three visual selections.</li>
<li>How to deal with zero width characters. (Is there a view-control-code mode in emacs?).</li></ul></div>I'd be willing to do the work, if someone else would fund it. I'm leaving my current employment in another few months, and I'm currently looking for large and small jobs.<br>
<div><br>Regards,<br>Dov<br><br><div class="gmail_quote">2009/2/20 Yuval Hager <span dir="ltr"><<a href="mailto:yuval@avramzon.net">yuval@avramzon.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Friday 20 February 2009, Omer Zak wrote:<br>
> I thought about this about 1 1/2 years ago but did not get around to<br>
> implementing it.<br>
><br>
> XEmacs has support for loading external modules, however I use emacs.<br>
><br>
<br>
</div>Me too.<br>
<div class="Ih2E3d"><br>
> In Emacs version 22, it is possible to use IPC to communicate with<br>
> another process. Then one needs to write a module which invokes FriBidi<br>
> functions and have an emacs mode, which communicates with the module<br>
> when the buffer's contents need to be rendered.<br>
><br>
<br>
</div>I saw this: <a href="http://www.emacswiki.org/cgi-bin/emacs/poor-mans-bidi.el" target="_blank">http://www.emacswiki.org/cgi-bin/emacs/poor-mans-bidi.el</a><br>
<br>
But I'd rather have a rich mans bidi.<br>
<br>
What about Mule? Can it be used with the standard Emacs?<br>
<font color="#888888"><br>
--y<br>
</font><br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br></div></div>