emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Org default is Left-to-right


From: Ihor Radchenko
Subject: Re: Org default is Left-to-right
Date: Sat, 30 Oct 2021 23:21:07 +0800

Daniel Fleischer <danflscr@gmail.com> writes:

> Ihor Radchenko <yantar92@gmail.com> writes:
>> See https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00285.html
>
> OK, so 10 years ago on Emacs 24 it might have caused some slowdown on
> large Org files. It wasn't clear if these people needed RTL or not,
> because I set it to nil as soon as I open my Org files. I guess I'll
> use a hook in my config.

You asked why Org does not use default. That was the reason.

Unfortunately, the original test file is not available anymore, so we
cannot easily test if the slowdown is still there.

I tried to create a large file in Persian, but I cannot see any
difference in performance when bidi-paragraph-direction is nil or
'left-to-right. However, I was able to see a difference using the
attached file when moving through an artificially created very long line
in the second heading. In my testing, setting bidi-paragraph-direction
to nil *improves* the performance.

> You could also turn it back to nil and see if people complain, as part
> of 9.6.

So, my datapoint indicates that changing bidi-paragraph-direction back
to nil could make sense. However, I am not using right-to-left text
daily in my system. Testing from people who do use right-to-left
languages would be appreciated.

Best,
Ihor

Text credit: https://ganjoor.net/khayyam/robaee/

Attachment: test-bidi.org
Description: Lotus Organizer


reply via email to

[Prev in Thread] Current Thread [Next in Thread]