From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii Subject: bug#11710: 24.1.50; Bidi attributes are not exported in org-mode html output Date: Fri, 15 Jun 2012 10:55:44 +0300 Message-ID: <83pq91f1q7.fsf__42706.2434413985$1339746994$gmane$org@gnu.org> References: <8362aty921.fsf@gnu.org> Reply-To: Eli Zaretskii Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfRO7-00050b-Ho for emacs-orgmode@gnu.org; Fri, 15 Jun 2012 03:56:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfRO1-0001qm-D3 for emacs-orgmode@gnu.org; Fri, 15 Jun 2012 03:56:11 -0400 Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-Message-ID: In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dov Grobgeld Cc: 11710@debbugs.gnu.org > Date: Fri, 15 Jun 2012 09:17:36 +0300 > From: Dov Grobgeld > Cc: 11710@debbugs.gnu.org >=20 > On Thu, Jun 14, 2012 at 10:42 PM, Eli Zaretskii > > > [stuff deleted] > > > > Did you customize Emacs to dynamically determine the paragraph > > direction in Org buffers? =C2=A0By default they are forced to be > > left-to-right. >=20 > Yes, I changed that. Org-mode appears to me to work fine in dynamic > Bidi mode, so I don't understand the reasoning that it was turned o= ff > by default. 2 reasons: . If you maintain Org files with mixed L2R and R2L contents, having some items on the left and some on the right looks messed up, especially if the parent item is on the other side of the window. . Performance. Dynamic detection of paragraph direction can slow down redisplay, if you have long stretches of items without empty lines to separate them. When sub-trees are hidden, this could cause an annoying effect whereby moving cursor past one visible line causes a perceptible delay (because there are many hundreds o= f hidden lines Emacs needs to move through in the buffer). This punishes Org users who don't use bidirectional scripts, which are the majority of Org users. So in traditions of democracy, the majority wins... > > =C2=A0(save-excursion > > =C2=A0 =C2=A0(goto-char N) > > =C2=A0 =C2=A0(current-bidi-paragraph-direction)) >=20 > Ok, thanks. Perhaps I'll have a go at it on my own. Please consider reporting here if you get it to work, because Org maintainers may wish to use your code. TIA