From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel GJT Subject: Right-to-left text in org mode Date: Mon, 24 Jun 2013 12:22:28 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b3a89ce2c685c04dfe9a83e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrATI-0003bP-CU for emacs-orgmode@gnu.org; Mon, 24 Jun 2013 13:22:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrATF-00011X-D0 for emacs-orgmode@gnu.org; Mon, 24 Jun 2013 13:22:32 -0400 Received: from mail-vc0-x22b.google.com ([2607:f8b0:400c:c03::22b]:43014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrATF-000114-8e for emacs-orgmode@gnu.org; Mon, 24 Jun 2013 13:22:29 -0400 Received: by mail-vc0-f171.google.com with SMTP id gd11so438022vcb.16 for ; Mon, 24 Jun 2013 10:22:28 -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 --047d7b3a89ce2c685c04dfe9a83e Content-Type: text/plain; charset=UTF-8 Hello everyone, I need to work in an org buffer with both left-to-right and right-to-left text. 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 Your help is much appreciated. -- Manuel GJT --047d7b3a89ce2c685c04dfe9a83e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello everyone,

I need to work in an org buffer wit= h both left-to-right and right-to-left text. Although the character directi= onality and composition works fine, when writing paragraphs with visual-lin= e-mode on the lines get inverted, i.e., the line

ZYX CBA

appears as

ZYX
CBA

instead of

CB= A
ZYX

The section "22.20 Bidirectional Editing" of the = Emacs manual suggests forcing the directionality of the paragraph with RIGH= T-TO-LEFT MARK, but this does not seem to work: even with such a character = beginning the line, (current-bidi-paragraph-direction) returns "left-t= o-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 directionalit= y in said paragraphs. The issue persists even when visiting the file with e= macs -Q.

org-version 8.0.3, same issue with v. 7.9.4

Your help is much ap= preciated.

--
Manuel GJT
--047d7b3a89ce2c685c04dfe9a83e--