emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manuel GJT <valhifi@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Org mode and right-to-left paragraphs
Date: Sun, 9 Jun 2013 01:40:01 -0500	[thread overview]
Message-ID: <CAMF-RWbxOFkmWxNmCxR6o3R0MQ1fBsBXkePWU+KMdgu1r+ojLA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1394 bytes --]

             reply	other threads:[~2013-06-09  6:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-09  6:40 Manuel GJT [this message]
2013-06-27 15:11 ` Org mode and right-to-left paragraphs Bastien
     [not found]   ` <CAMF-RWbyaA6HT4oO67c3ncrU49eLX1VWzqvpFzOMYo9uzJS-Jw@mail.gmail.com>
2013-06-30  3:39     ` Manuel GJT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMF-RWbxOFkmWxNmCxR6o3R0MQ1fBsBXkePWU+KMdgu1r+ojLA@mail.gmail.com \
    --to=valhifi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).