From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel GJT Subject: Re: Right-to-left text in org mode Date: Mon, 24 Jun 2013 23:27:39 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec5171e5112625e04dff2f386 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrKr1-0007xh-EU for emacs-orgmode@gnu.org; Tue, 25 Jun 2013 00:27:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrKqy-0007v3-Jn for emacs-orgmode@gnu.org; Tue, 25 Jun 2013 00:27:43 -0400 Received: from mail-vc0-x233.google.com ([2607:f8b0:400c:c03::233]:60308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrKqy-0007uz-Dw for emacs-orgmode@gnu.org; Tue, 25 Jun 2013 00:27:40 -0400 Received: by mail-vc0-f179.google.com with SMTP id hz11so586932vcb.10 for ; Mon, 24 Jun 2013 21:27:40 -0700 (PDT) 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: emacs-orgmode --bcaec5171e5112625e04dff2f386 Content-Type: text/plain; charset=UTF-8 Specifically what additional information should I provide? This happens to me even without my .emacs loaded. I'm running Ubuntu 12.04 with m17n-(db/contrib), libm17n-(0/dev) installed. It seems that in org mode is forcing LTR in mixed-directionality texts since, for example, a heading with RTL text will not change the stars to be right-aligned, and the cursor's behavior in org mode is different than in a clean buffer. Perhaps you could show me how to ignore any previous paragraph settings other than with R-T-L MARK? Kind regards, Manuel GJT On Mon, Jun 24, 2013 at 12:49 PM, Dov Grobgeld wrote: > I was able to reproduce this behavior only with by forcing the > paragraph direction to LTR or equivilantly by having a first strong > LTR character in the beginning of the paragraph. Please provide more > information about your environment, and someone might be able to help > you. > > Regards, > Dov > > > On Mon, Jun 24, 2013 at 8:22 PM, Manuel GJT wrote: > > 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 > -- Manuel GJT --bcaec5171e5112625e04dff2f386 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Specifically what additional information should I provide?= This happens to me even without my .emacs loaded. I'm running Ubuntu 1= 2.04 with m17n-(db/contrib), libm17n-(0/dev) installed.

It seems tha= t in org mode is forcing LTR in mixed-directionality texts since, for examp= le, a heading with RTL text will not change the stars to be right-aligned, = and the cursor's behavior in org mode is different than in a clean buff= er.

Perhaps you could show me how to ignore any previous paragra= ph settings other than with R-T-L MARK?


Kind regards,
=
Manuel GJT


On Mon, Jun 24, 2013 at 12:49 PM, Dov Grobgeld <dov.grobgeld@gmail.co= m> wrote:
I was able to reproduce this behavior only with by forcing the
paragraph direction to LTR or equivilantly by having a first strong
LTR character in the beginning of the paragraph. Please provide more
information about your environment, and someone might be able to help
you.

Regards,
Dov


On Mon, Jun 24, 2013 at 8:22 PM, Manuel GJT <valhifi@gmail.com> wrote:
> Hello everyone,
>
> I need to work in an org buffer with both left-to-right and right-to-l= eft
> 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 manua= l suggests
> forcing the directionality of the paragraph with RIGHT-TO-LEFT MARK, b= ut
> this does not seem to work: even with such a character beginning the l= ine,
> (current-bidi-paragraph-direction) returns "left-to-right".<= br> >
> The RTL MARK seems to work just fine in tables.
>
> When written in a clean text-mode buffer the same text appears with pr= oper
> directionality. However switching from org-mode to text-mode does not<= br> > correct directionality in said paragraphs. The issue persists even whe= n
> 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



--
= Manuel GJT --bcaec5171e5112625e04dff2f386--