From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bidi,gmane.emacs.devel Subject: Re: Bidirectional editing in Emacs -- main design decisions Date: Sat, 10 Oct 2009 00:29:56 +0200 Message-ID: <837hv4kxp7.fsf@gnu.org> References: <83bpkgl113.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1255127380 641 80.91.229.12 (9 Oct 2009 22:29:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Oct 2009 22:29:40 +0000 (UTC) Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Sat Oct 10 00:29:29 2009 Return-path: Envelope-to: gnu-emacs-bidi@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MwNxo-0005TU-RN for gnu-emacs-bidi@m.gmane.org; Sat, 10 Oct 2009 00:29:29 +0200 Original-Received: from localhost ([127.0.0.1]:60243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwNxo-0005YJ-89 for gnu-emacs-bidi@m.gmane.org; Fri, 09 Oct 2009 18:29:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwNxc-0005Xk-V8 for emacs-bidi@gnu.org; Fri, 09 Oct 2009 18:29:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwNxb-0005XQ-LI for emacs-bidi@gnu.org; Fri, 09 Oct 2009 18:29:16 -0400 Original-Received: from [199.232.76.173] (port=45241 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwNxb-0005XN-FP; Fri, 09 Oct 2009 18:29:15 -0400 Original-Received: from mtaout1.012.net.il ([84.95.2.1]:31065) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MwNxa-00010D-Ve; Fri, 09 Oct 2009 18:29:15 -0400 Original-Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KR900700Q901J00@i-mtaout1.012.net.il>; Sat, 10 Oct 2009 00:28:58 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.84.229]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KR900LNVQG9QUD0@i-mtaout1.012.net.il>; Sat, 10 Oct 2009 00:28:57 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: emacs-bidi@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of Emacs support for multi-directional text." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Errors-To: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bidi:406 gmane.emacs.devel:116036 Archived-At: > From: joakim@verona.se > Cc: emacs-devel@gnu.org, emacs-bidi@gnu.org > 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.