From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6998: 24.0.50; bidi: lines starting with neutral types have the wrong base direction? Date: Mon, 20 Sep 2010 21:07:49 +0200 Message-ID: <83hbhkxmgq.fsf@gnu.org> References: <19591.19370.918828.700534@zemblan.newkuwait.org> <19594.45400.927788.599350@zemblan.newkuwait.org> <83tylt4zoa.fsf@gnu.org> <19607.29548.870306.576702@zemblan.newkuwait.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1285011504 15129 80.91.229.12 (20 Sep 2010 19:38:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2010 19:38:24 +0000 (UTC) Cc: 6998@debbugs.gnu.org To: Thamer Mahmoud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 20 21:38: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 1OxmBv-0007UG-SJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Sep 2010 21:38:20 +0200 Original-Received: from localhost ([127.0.0.1]:35488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OxmBv-0000eR-6n for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Sep 2010 15:38:19 -0400 Original-Received: from [140.186.70.92] (port=51600 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OxlzE-000742-Bt for bug-gnu-emacs@gnu.org; Mon, 20 Sep 2010 15:25:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OxllN-0005Qf-9s for bug-gnu-emacs@gnu.org; Mon, 20 Sep 2010 15:10:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49250) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxllN-0005QZ-73 for bug-gnu-emacs@gnu.org; Mon, 20 Sep 2010 15:10:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oxlgg-0007Zf-2j; Mon, 20 Sep 2010 15:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Sep 2010 19:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6998 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6998-submit@debbugs.gnu.org id=B6998.128500952529109 (code B ref 6998); Mon, 20 Sep 2010 19:06:02 +0000 Original-Received: (at 6998) by debbugs.gnu.org; 20 Sep 2010 19:05:25 +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 1Oxlg4-0007ZS-Um for submit@debbugs.gnu.org; Mon, 20 Sep 2010 15:05:25 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oxlg1-0007ZN-HT for 6998@debbugs.gnu.org; Mon, 20 Sep 2010 15:05:22 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L92007007DL6100@a-mtaout20.012.net.il> for 6998@debbugs.gnu.org; Mon, 20 Sep 2010 21:07:50 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.210.149]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L92006AW7T064E0@a-mtaout20.012.net.il>; Mon, 20 Sep 2010 21:07:49 +0200 (IST) In-reply-to: <19607.29548.870306.576702@zemblan.newkuwait.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 20 Sep 2010 15:06:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:40322 Archived-At: > Date: Mon, 20 Sep 2010 17:45:00 +0300 > From: Thamer Mahmoud > Cc: 6998@debbugs.gnu.org > > Thanks for your comments, Eli. I do mean the above example, as I can > see some inconsistent behavior when using org-mode. A reproducible test case, preferably starting with "emacs -Q", would be greatly appreciated. > It seems that Emacs _sometimes_ renders the above example in org-mode > as, > > * First... > * Second > > While in other invocations the same file is rendered as: > > * First... > Second * Sorry, I don't understand. Your original example included a line in ARABIC and an empty line, in addition to "First" and "second" lines. Are we talking about a different example now? If not, please show how the example is rendered in its entirety, in the two different behaviors you observe. > I can also see a bug and a crash with the second rendering (and it got > me confused about how Emacs handles neutral types) Could you pots a backtrace when in crashes? > so I wonder which rendering should be considered as "correct"? For your original example: * First [BLANK_LINE] ARABIC * Second the correct rendering is this: * First [BLANK_LINE] CIBARA Second * For the example you show now: * First * Second the correct rendering is what you'd expect: * First * Second