From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel GJT Subject: Org mode and right-to-left paragraphs Date: Sun, 9 Jun 2013 01:40:01 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf307ca402fc3eaf04deb2ee53 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlZIL-00020s-JP for emacs-orgmode@gnu.org; Sun, 09 Jun 2013 02:40:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlZII-0002hM-LB for emacs-orgmode@gnu.org; Sun, 09 Jun 2013 02:40:05 -0400 Received: from mail-vb0-x22c.google.com ([2607:f8b0:400c:c02::22c]:62774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlZII-0002f9-Gq for emacs-orgmode@gnu.org; Sun, 09 Jun 2013 02:40:02 -0400 Received: by mail-vb0-f44.google.com with SMTP id 11so3617156vbf.17 for ; Sat, 08 Jun 2013 23:40:01 -0700 (PDT) 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: emacs-orgmode@gnu.org --20cf307ca402fc3eaf04deb2ee53 Content-Type: text/plain; charset=UTF-8 Hello everyone, I want to work in an org buffer with both left-to-right and right-to-left text (arabic). Although the character directionality and composition works fine, when writing paragraphs with visual-line-mode on the lines get inverted, i.e., the line ZYX CBA appears as ZYX CBA instead of CBA ZYX The section "22.20 Bidirectional Editing" of the Emacs manual suggests forcing the directionality of the paragraph with RIGHT-TO-LEFT MARK, but this does not seem to work: even with such a character beginning the line, (current-bidi-paragraph-direction) returns "left-to-right". The RTL MARK seems to work just fine in tables. When written in a clean text-mode buffer the same text appears with proper directionality. However switching from org-mode to text-mode does not correct directionality in said paragraphs. The issue persists even when visiting the file with emacs -Q. org-version 8.0.3, same issue with v. 7.9.4 Any fixes or workarounds? Your help is much appreciated, most of my brain is linked to org-mode. -- Manuel GJT --20cf307ca402fc3eaf04deb2ee53 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello everyone,

I want to work= in an org buffer with both left-to-right and right-to-left text (arabic). = Although the character directionality and composition works fine, when wri= ting paragraphs with visual-line-mode on the lines get inverted, i.e., the = line

ZYX CBA

appears as

ZYX
CBA

instead of

CBA
ZYX

The section "22.20 Bidirectional Editing" of the Emacs manual s= uggests forcing the directionality of the paragraph with RIGHT-TO-LEFT MARK= , but this does not seem to work: even with such a character beginning the = line, (current-bidi-paragraph-direction) returns "left-to-right".=

The RTL MARK seems to work just fine in tables.

When written in a clean text-mode buffer the same text appears with p= roper directionality. However switching from org-mode to text-mode does not= correct directionality in said paragraphs. The issue persists even when vi= siting the file with emacs -Q.

org-version 8.0.3, same issue with v. 7.9.4

Any fixes or workarounds? Your help is much appreciated, most of my brain= is linked to org-mode.

--
Manuel GJT
--20cf307ca402fc3eaf04deb2ee53--