Thanks a lot Eli, it works fine now.

On Wed, Jul 31, 2019 at 10:19 PM Eli Zaretskii <e...@gnu.org> wrote:

> > From: Ali Shirvani <aj.shirv...@gmail.com>
> > Date: Wed, 31 Jul 2019 20:13:34 +0430
> > Cc: emacs-bidi@gnu.org
> >
> > 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
emacs-bidi@gnu.org
https://lists.gnu.org/mailman/listinfo/emacs-bidi

Reply via email to