Re: Bidirectional editing in Emacs -- main design decisions

[email protected]
Newsgroups gmane.emacs.devel,gmane.emacs.bidi
Message-ID <[email protected]>
Eli Zaretskii <[email protected]> writes:

>> From: [email protected]
>> Cc: [email protected], [email protected]
>> Date: Fri, 09 Oct 2009 23:55:19 +0200
>> 
>> It works mostly the same as embedding images. From what youre
>> writing below it sounds like the display of images will work as
>> before, therefore my patch will apply, hopefully nicely, on top of
>> bidi. Correct?
>
> Correct.  Images and any other objects will be reordered according to
> UAX#9, and as a single entity.  IOW, imagine that instead of the
> embedded widget the buffer has a single character U+FFFC (OBJECT
> REPLACEMENT CHARACTER).  The reordering code will treat the embedded
> widget as it would treat that character.  That means, in particular,
> that if the widget is embedded in text written in some right-to-left
> script, the text that precedes the widget will be on the right of the
> widget, and text that follows it will be on the left.

Presumably I will also need to tell the widget to render its own text in
bidi mode. 

-- 
Joakim Verona
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.