all messages for Emacs-related lists mirrored at yhetil.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: Wed, 03 Aug 2011 20:50:00 +0200	[thread overview]
Message-ID: <87wreu2uuf.fsf@sophokles.streitblatt.de> (raw)
In-Reply-To: <838vrcbjwb.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 02 Aug 2011 05:57:08 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> Admittedly to the right, because I use `beginning-of-visual-line' to
>> get to what I interpret as the beginning of the paragraph. So its
>> 
>>                     blah blah A|
>> 
>> and I get
>> 
>> A|M blah blah
>> 
>> I'd expect the marker to come first.
>
> I still cannot reproduce this: I get the LRM character displayed
> _before_ A.  Something else is missing in your description.

Took me a while to find it myself: visual-line-mode

Switch it on and add "abcd " until you have a couple of lines, go to the
first character.

(In *scratch*:
M-x erase buffer
y
M-x text-mode
M-x visual-line-mode
[create text]
)

Displays like this (A is the alef, M the marker):

|abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
abcd abcd abcd abcd abcd abcd

C-x 8 <ret> HEBREW LETTER ALEF <ret>

 abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcdA
  abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
  abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
                                         |abcd abcd abcd abcd abcd abcd

<up>

abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd a|bcd abcd abcdA
  abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
  abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
                                          abcd abcd abcd abcd abcd abcd

Now position the cursor like this:

 abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcdA
 abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd ab|cd
  abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
                                          abcd abcd abcd abcd abcd abcd

<up>
M-x (beginning-of-visual-line)
C-x 8 <ret> LEFT-TO-RIGHT MARK <ret>

And now I have:

A|Mabcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
abcd abcd abcd abcd abcd abcd


-- 
Florian Beck





  reply	other threads:[~2011-08-03 18:50 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 [this message]
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
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

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

  git send-email \
    --in-reply-to=87wreu2uuf.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.