[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-bidi] Setting text direction for each line
From: |
Eli Zaretskii |
Subject: |
Re: [emacs-bidi] Setting text direction for each line |
Date: |
Wed, 31 Jul 2019 17:13:25 +0300 |
> From: Ali Shirvani <address@hidden>
> Date: Wed, 31 Jul 2019 15:46:03 +0430
>
> I read the "Bidirectional Editing" section from Emacs manual. I found that
> Emacs set direction for each
> paragraph. I want to set direction for each line of text instead of
> paragraph, I tried different values for
> paragraph-start-re and bidi-paragraph-separate-re variables, but with no
> success.
>
> Would you please guide me how to set these variable to treat each line of
> text as a new paragraph and apply
> current direction for it?
If you have Emacs 26 or later, you should be able to get what you want
by setting both bidi-paragraph-start-re and bidi-paragraph-separate-re
to "^".