[Top][All Lists]

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

bug#9219: 24.0.50; bidi switches to R-to-L when I don't want it to

From: Eli Zaretskii
Subject: bug#9219: 24.0.50; bidi switches to R-to-L when I don't want it to
Date: Mon, 01 Aug 2011 23:17:20 +0300

> From: Florian Beck <address@hidden>
> Cc: Florian Beck <address@hidden>,  address@hidden
> Date: Mon, 01 Aug 2011 21:59:50 +0200
> Eli Zaretskii <address@hidden> writes:
> >> From: Florian Beck <address@hidden>
> >> Date: Mon, 01 Aug 2011 21:06:36 +0200
> >> 
> >> Occasinally I use א (x5d0) at the beginning of a paragraph (as a marker
> >> for some quite but not completly unrelated thought, cf. Agamben).
> >> 
> >> This makes emacs display the buffer aligned to the right (correctly, as
> >> for the docstring of `bidi-paragraph-direction'), which is not what I want.
> >
> > What _do_ you want?
> As in a left-to-right paragraph. A more common example would be someone
> writing an english article and starting not only a sentence but a
> paragraph with a hebrew (or arabic or thaana) term. Rare? Sure, but
> perfectly reasonably.

Then why isn't bidi-paragraph-direction the solution?  It can be put
in file-local variables.

> BTW, I'm reporting my experience with running bidi enabled emacs on my
> text files. I found the section in the manual easily enough. But if I
> wouldn't read emacs-devel, I'd have no idea what was going on.

I'm not sure I understand.  If you are saying that the manual could
use some improvement, please suggest what else should be told there.
If you mean something else, please tell what is it.

> Say I have a paragraph displayed as
>                    |A blah blah
> Now I insert the left-to-right mark. This results in:
> AM blah blah

Sorry, I don't understand the recipe.  Without the LRM, that paragraph
should have been displayed flushed to the right margin, like this:

                                                             bla bla A

Is that your original display?  If so, where's the cursor when you
insert the LRM: to the left of A or to the right?

> which seems … weird.

I cannot reproduce this, but what am I missing?

reply via email to

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