unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Florian Beck <abstraktion@t-online.de>
Cc: 9219@debbugs.gnu.org
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	[thread overview]
Message-ID: <83fwlkc2en.fsf@gnu.org> (raw)
In-Reply-To: <87ei14vr61.fsf@sophokles.streitblatt.de>

> From: Florian Beck <abstraktion@t-online.de>
> Cc: Florian Beck <abstraktion@t-online.de>,  9219@debbugs.gnu.org
> Date: Mon, 01 Aug 2011 21:59:50 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: Florian Beck <abstraktion@t-online.de>
> >> 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	other threads:[~2011-08-01 20:17 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 [this message]
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
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=83fwlkc2en.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=9219@debbugs.gnu.org \
    --cc=abstraktion@t-online.de \
    /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).