unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Thamer Mahmoud <thamer.mahmoud@gmail.com>
To: 6998@debbugs.gnu.org
Subject: bug#6998: 24.0.50; bidi: lines starting with neutral types have the wrong base direction?
Date: Wed, 8 Sep 2010 11:39:06 +0300	[thread overview]
Message-ID: <19591.19370.918828.700534@zemblan.newkuwait.org> (raw)

While investigating a crash I came across this problem.

By default in Emacs, lines starting with Other Neutral types (in this
case `*') seem to be following the direction of the line before them,
and perhaps not being considered as separate paragraphs. This makes
Emacs display files differently than the output of fribidi (gedit,
etc).

For example, I have a file with the following content:

* ARABIC
* abcdef

I'd expect to see:

                             CIBARA *
* abcdef                             

But in Emacs it's shown as:

                             CIBARA *
                             abcdef *

Another example is:

* First
[BLANK_LINE]
ARABIC
* Second

What I expect:

* First
[BLANK_LINE]
                               CIBARA
* Second

What is shown in Emacs:

* First
[BLANK_LINE]
                               CIBARA
                             Second *

This seems like a bug to me.

Tests were done using -Q --eval "(setq-default bidi-display-reordering t)".
In GNU Emacs 24.0.50.6 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-09-07

Thanks.

--
Thamer





             reply	other threads:[~2010-09-08  8:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-08  8:39 Thamer Mahmoud [this message]
2010-09-10 22:29 ` bug#6998: 24.0.50; bidi: lines starting with neutral types have the wrong base direction? Thamer Mahmoud
2010-09-13 12:04   ` Eli Zaretskii
2010-09-20 14:45     ` Thamer Mahmoud
2010-09-20 19:07       ` Eli Zaretskii
2010-09-22  2:58         ` Thamer Mahmoud
2010-09-22  8:51           ` 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=19591.19370.918828.700534@zemblan.newkuwait.org \
    --to=thamer.mahmoud@gmail.com \
    --cc=6998@debbugs.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).