From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: bidi-display-reordering is now non-nil by default Date: Wed, 17 Aug 2011 12:34:32 +0300 Organization: JURTA Message-ID: <87d3g4pejb.fsf@mail.jurta.org> References: <4E48D309.6050503@acdlabs.ru> <83hb5jujjs.fsf@gnu.org> <874o1j10zv.fsf@fencepost.gnu.org> <8362lyvcli.fsf@gnu.org> <87fwl2r0l4.fsf@stupidchicken.com> <83zkjatnkz.fsf@gnu.org> <877h6et8oi.fsf@stupidchicken.com> <83vctxua2y.fsf@gnu.org> <87r54le4rd.fsf@stupidchicken.com> <8362lxtfeb.fsf@gnu.org> <87d3g56llz.fsf@stupidchicken.com> <8339h0tur0.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1313573808 4503 80.91.229.12 (17 Aug 2011 09:36:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2011 09:36:48 +0000 (UTC) Cc: Chong Yidong , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 17 11:36:43 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 1QtcYD-0001nE-Kf for ged-emacs-devel@m.gmane.org; Wed, 17 Aug 2011 11:36:41 +0200 Original-Received: from localhost ([::1]:43473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtcYC-0005aD-EW for ged-emacs-devel@m.gmane.org; Wed, 17 Aug 2011 05:36:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtcY9-0005a4-Dc for emacs-devel@gnu.org; Wed, 17 Aug 2011 05:36:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtcY8-00074I-I6 for emacs-devel@gnu.org; Wed, 17 Aug 2011 05:36:37 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]:47207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtcY6-00073v-Jv; Wed, 17 Aug 2011 05:36:34 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 2CD5C6E8098; Wed, 17 Aug 2011 02:36:34 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id B5BF4451C37A; Wed, 17 Aug 2011 02:36:32 -0700 (PDT) In-Reply-To: <8339h0tur0.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 17 Aug 2011 09:30:43 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.113.175.8 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:143361 Archived-At: > 'display '(bidi-reorder BASE-DIRECTION) I wonder is it possible to add a new property `dir', so you have to check just two properties `display' and `dir' in bidi.c? In HTML, the `dir' attribute specifies the base direction (ltr, rtl) of text:

text

text

Info: http://www.w3.org/International/tutorials/bidi-xhtml/ In Emacs it would be good to do the same with similar text properties: (propertize "text" 'dir 'ltr) (propertize "text" 'dir 'rtl)