From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thamer Mahmoud Newsgroups: gmane.emacs.bugs 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 Message-ID: <19591.19370.918828.700534@zemblan.newkuwait.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1283960664 4989 80.91.229.12 (8 Sep 2010 15:44:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Sep 2010 15:44:24 +0000 (UTC) To: 6998@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 08 17:44:23 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OtMov-0000Ji-A9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Sep 2010 17:44:21 +0200 Original-Received: from localhost ([127.0.0.1]:50867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtMou-00080L-PH for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Sep 2010 11:44:20 -0400 Original-Received: from [140.186.70.92] (port=37063 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtJ0d-0007mh-02 for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2010 07:40:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtJ0c-0002YN-2t for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2010 07:40:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59125) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtJ0c-0002YH-0l for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2010 07:40:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OtIh9-00016c-0Y; Wed, 08 Sep 2010 07:20:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thamer Mahmoud Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Sep 2010 11:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6998 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12839447604233 (code B ref -1); Wed, 08 Sep 2010 11:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Sep 2010 11:19:20 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtIgS-00016E-3k for submit@debbugs.gnu.org; Wed, 08 Sep 2010 07:19:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtGAG-0008MO-MM for submit@debbugs.gnu.org; Wed, 08 Sep 2010 04:37:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtGCA-0003Ym-K0 for submit@debbugs.gnu.org; Wed, 08 Sep 2010 04:39:55 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:39004) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtGCA-0003Yg-Hx for submit@debbugs.gnu.org; Wed, 08 Sep 2010 04:39:54 -0400 Original-Received: from [140.186.70.92] (port=35418 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtGC9-0007k2-8r for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2010 04:39:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtGC7-0003Xw-V1 for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2010 04:39:53 -0400 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:34348) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtGC7-0003XT-Pe for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2010 04:39:51 -0400 Original-Received: by wwb24 with SMTP id 24so8156884wwb.30 for ; Wed, 08 Sep 2010 01:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :mime-version:content-type:content-transfer-encoding:message-id:date :from:to:subject; bh=FFwPkdh1kYvz2VeTXsHTrdhdD5JFXavW5+/1ko++H78=; b=dvWUBEN4BlaDBcN7wrpe/cE3248BT+AEuHB30yiaVzFb7j6bpMkBY+B2icD/lsmuFh joFJAf/IhGCiaNCfK5/A/lq90X+es7cf8h6EhMDb43MDe+x/WReZKFizKXGjAj7gcA7E iF4Y663AFHzDRMjCaeaJyZ8T44K6eG+Kkb00k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-type:content-transfer-encoding:message-id:date :from:to:subject; b=dIHh5wZq0qwl6K+ybP8GvmLCJmlLQbKhM+SU9ZDmPrxUv9IEmdgG8sWtW2SciMNyyI H/5zI6hbDK7flhX0H0DSwT80kER8TD/f1lbXG0ijTUvTQvebwqyPwuD6d6L54ifOQ9xI A+Lwb6+VHih7tw0z/uv7x/QQv/RVWIi5TclUg= Original-Received: by 10.216.35.75 with SMTP id t53mr447074wea.95.1283935162385; Wed, 08 Sep 2010 01:39:22 -0700 (PDT) Original-Received: from matara.newkuwait.org ([89.203.6.209]) by mx.google.com with ESMTPS id k83sm4814890weq.38.2010.09.08.01.39.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Sep 2010 01:39:22 -0700 (PDT) Original-Received: from zemblan.newkuwait.org ([192.168.1.3]) by matara.newkuwait.org with esmtp (Exim 4.69) (envelope-from ) id 1OtGBb-0000WY-H1 for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2010 11:39:19 +0300 Original-Received: from thamer by zemblan.newkuwait.org with local (Exim 4.72) (envelope-from ) id 1OtGBb-0000Pc-2c for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2010 11:39:19 +0300 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Wed, 08 Sep 2010 07:19:17 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 08 Sep 2010 07:20:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 08 Sep 2010 11:44:16 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40041 Archived-At: 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