unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Florian Beck <abstraktion@t-online.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 9219@debbugs.gnu.org, Florian Beck <abstraktion@t-online.de>
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	[thread overview]
Message-ID: <87fwlhuhfu.fsf@sophokles.streitblatt.de> (raw)
In-Reply-To: <83y5z9op5f.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 04 Aug 2011 06:02:04 +0300")

Eli Zaretskii <eliz@gnu.org> 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	other threads:[~2011-08-04 19:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01 19:06 bug#9219: 24.0.50; bidi switches to R-to-L when I don't want it to Florian Beck
2011-08-01 19:16 ` Eli Zaretskii
2011-08-01 19:59   ` Florian Beck
2011-08-01 20:17     ` Eli Zaretskii
2011-08-01 21:09       ` Florian Beck
2011-08-02  2:57         ` Eli Zaretskii
2011-08-03 18:50           ` Florian Beck
2011-08-03 19:39             ` Eli Zaretskii
2011-08-03 20:49               ` Florian Beck
2011-08-04  3:02                 ` Eli Zaretskii
2011-08-04 19:04                   ` Florian Beck [this message]
2011-08-04 19:26                     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fwlhuhfu.fsf@sophokles.streitblatt.de \
    --to=abstraktion@t-online.de \
    --cc=9219@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).