Thanks a lot Eli, it works fine now. On Wed, Jul 31, 2019 at 10:19 PM Eli Zaretskii <[email protected]> wrote:
> > From: Ali Shirvani <[email protected]> > > Date: Wed, 31 Jul 2019 20:13:34 +0430 > > Cc: [email protected] > > > > My Emacs version is 26.2 and here is my .emcas file content: > > > > (setq bidi-paragraph-start-re "^") > > (setq bidi-paragraph-separate-re "^") > > > > And the output is attached. > > These variables are buffer-local, as described in their doc strings. > So setting them in your .emacs has no effect on the buffer where you > afterwards type the text. > > You need either set the variables via "M-:" from the buffer where you > need that, or, if you want this by default in all buffers, change the > above settings in your .emacs to this: > > (setq-default bidi-paragraph-start-re "^") > (setq-default bidi-paragraph-separate-re "^") > > As yet another possibility, if you want this setting only in certain > major modes, you can use the setq forms in a mode-hook. >
_______________________________________________ emacs-bidi mailing list [email protected] https://lists.gnu.org/mailman/listinfo/emacs-bidi
