bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Florian Beck
Subject: bug#9219: 24.0.50; bidi switches to R-to-L when I don't want it to
Date: Thu, 04 Aug 2011 21:04:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> Sigh. The only thing I omitted was
>> 
>> (setq cursor-type 'bar)
>
> A bar cursor is drawn on the right side of R2L characters, but on the
> left side of L2R characters.  Is this what confused you?

Yes.

> So I think you only _think_ you have the LRM character between the
> aleph and the following a, because the bar cursor makes a small
> movement when you move from aleph to the a, but is shown between aleph
> and a in both positions.

Yet <right> moves the point from 2 to 3. Ah, I get it: the cursor moves
from the right of the alef to the left of the a. Obvious, when you think
about it…

> In fact, the LRM is to the left of aleph, you should be able to see
> that if you modify LRM's entry in glyphless-char-display-control.

Ok.

>
>> (but the cursor movement in rtl paragraphs confuses me, too).
>
> It takes some time to get used to.  The manual says something vague
> about it, like "don't be afraid, it's not a bug" or something.

>From the manual and the docstrings I had the impression that <up>,
<down>, <right> and <left> would move visually. That is not the case.
See my example. Also, <right> moves to the left (inside the ltr text
inside the rtl paragraph).

-- 

Florian Beck





reply via email to

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