From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mohsen BANAN Newsgroups: gmane.emacs.devel,gmane.emacs.bidi Subject: Re: Bidirectional editing in Emacs -- main design decisions Date: Mon, 25 Apr 2011 10:31:57 -0700 Organization: ByStar Federation of Autonomous Libre Services -- http://www.by-star.net Message-ID: References: <83bpkgl113.fsf@gnu.org> <8362qbsj7p.fsf@gnu.org> <83y636grgj.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1303753218 4564 80.91.229.12 (25 Apr 2011 17:40:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Apr 2011 17:40:18 +0000 (UTC) Cc: emacs-bidi@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 25 19:40:12 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QEPla-00073c-Sd for ged-emacs-devel@m.gmane.org; Mon, 25 Apr 2011 19:40:11 +0200 Original-Received: from localhost ([::1]:45552 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEPla-000899-H6 for ged-emacs-devel@m.gmane.org; Mon, 25 Apr 2011 13:40:10 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEPlX-000872-RW for emacs-devel@gnu.org; Mon, 25 Apr 2011 13:40:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEPlW-0005V6-GB for emacs-devel@gnu.org; Mon, 25 Apr 2011 13:40:07 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:52647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEPlV-0005TV-V6 for emacs-devel@gnu.org; Mon, 25 Apr 2011 13:40:06 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QEPlU-00070k-Q9 for emacs-devel@gnu.org; Mon, 25 Apr 2011 19:40:04 +0200 Original-Received: from 70-90-188-161-cable.librecenter.net ([70.90.188.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Apr 2011 19:40:04 +0200 Original-Received: from list-general by 70-90-188-161-cable.librecenter.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Apr 2011 19:40:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.emacs.bidi Original-Lines: 75 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 70-90-188-161-cable.librecenter.net X-Form-Name: murl-sendlink-toCloseFriends User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:X864uFFQdAag8Ud28kavrhf0lJI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138744 gmane.emacs.bidi:871 Archived-At: First let me preface that I am new to this list (through gmane) and that I am not on top of the subject matter at hand. If I am understaning it right, I think your new decision is right also from a different perspective. In that it then becomes consistent with how bidi works in mozilla/firefox. Being consistent with the browser is important in practice. Let me cite an example. I have been using build GNU Emacs 24.0.50.1 for a while to exchange email (Gnus) in Farsi and mixed Farsi/Latin with family and friends in Iran who use browser based MUAs. My mixed language text generated with emacs displays inconsistently in firefox vs emacs24. For example when I write: اسم کوچک من محسن Mohsen و اسم خانوادگى من بنان Banan است. My first name is Mohsen محسن and my last name is Banan بنان. And I think the design decision that you mentioned will make them consistent. Thanks for the good work. Best, ...Mohsen ...محسن >>>>> On Tue, 19 Apr 2011 19:02:04 +0300, Eli Zaretskii said: >> From: Stefan Monnier >> Cc: emacs-devel@gnu.org, emacs-bidi@gnu.org >> Date: Tue, 19 Apr 2011 10:11:33 -0300 >> >> It sounds very reasonable, but at the same time I don't understand in >> which way it differs from your earlier opinion that it should "stop >> reordering" (whose meaning is very unclear to me). Eli> Well, that's my fault: "stop reordering" is simply misleading. Eli> What I meant by that was that the reordering will completely process Eli> all the text before (in the logical order) the part covered by a Eli> display property, then process the display spec, and only then reorder Eli> the text after the property. Eli> So this buffer text Eli> ABCDE display XYZ Eli> will be reordered as Eli> EDCBA display ZYX Eli> instead of more sensible Eli> ZYX display EDCBA Eli> under the new plan.