Hi Eli, Thanks for your comment, I used this method but it works only if there exist one empty line between paragraphs. I need to set direction for consecutive lines such as follow:
This is a LTR line این متن راست به چپ است. Regards, Ali On Wed, Jul 31, 2019 at 6:43 PM Eli Zaretskii <[email protected]> wrote: > > From: Ali Shirvani <[email protected]> > > 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 "^". >
_______________________________________________ emacs-bidi mailing list [email protected] https://lists.gnu.org/mailman/listinfo/emacs-bidi
