From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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@gnu.org> References: <8362aty921.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1339746985 9442 80.91.229.3 (15 Jun 2012 07:56:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2012 07:56:25 +0000 (UTC) Cc: 11710@debbugs.gnu.org To: Dov Grobgeld Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 15 09:56:22 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SfROH-0003CZ-Kv for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 09:56:21 +0200 Original-Received: from localhost ([::1]:43621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfROH-0005HS-Jk for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 03:56:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfROA-00050h-Ba for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 03:56:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfRO8-0001rY-NR for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 03:56:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfRO1-0001qh-9E; Fri, 15 Jun 2012 03:56:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SfRQs-00046X-Fb; Fri, 15 Jun 2012 03:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Fri, 15 Jun 2012 07:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11710 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: Original-Received: via spool by 11710-submit@debbugs.gnu.org id=B11710.133974712615755 (code B ref 11710); Fri, 15 Jun 2012 07:59:02 +0000 Original-Received: (at 11710) by debbugs.gnu.org; 15 Jun 2012 07:58:46 +0000 Original-Received: from localhost ([127.0.0.1]:43613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfRQb-000464-Vh for submit@debbugs.gnu.org; Fri, 15 Jun 2012 03:58:46 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:42361) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfRQY-00045v-VI for 11710@debbugs.gnu.org; Fri, 15 Jun 2012 03:58:44 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M5N00G00FCAMF00@a-mtaout21.012.net.il> for 11710@debbugs.gnu.org; Fri, 15 Jun 2012 10:55:43 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M5N00GR3FCUJK70@a-mtaout21.012.net.il>; Fri, 15 Jun 2012 10:55:43 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61002 Archived-At: > 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