Re: [O] Right-to-left text in org mode

2013-06-28 Thread Dov Grobgeld
You are right, I forgot about that. I also have (setq bidi-paragraph-direction nil) in my org-mode-hook. Regadrs, Dov On Wed, Jun 26, 2013 at 4:49 AM, Manuel GJT valh...@gmail.com wrote: It turns out that org mode does force directionality in its buffers. I found in org.el the line 5308

Re: [O] Right-to-left text in org mode

2013-06-25 Thread Dov Grobgeld
A work around seems to be to provide an empty line between the LTR and the RTL paragraph. I.e. instead of * this is ltr * THIS IS RTL do: * this is ltr * THIS IS RTL But you are correct that the wrapping of LTR paragraphs with RTL text is buggy. This bug seems to have nothing to do with org

Re: [O] Right-to-left text in org mode

2013-06-25 Thread Manuel GJT
It turns out that org mode does force directionality in its buffers. I found in org.el the line 5308 (setq bidi-paragraph-direction 'left-to-right) However, bidi-paragraph-direction is always buffer local when set. That explains why switching to other mode does not help. The solution is to set

Re: [O] Right-to-left text in org mode

2013-06-24 Thread Dov Grobgeld
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,

Re: [O] Right-to-left text in org mode

2013-06-24 Thread Manuel GJT
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