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#11700: 24.1.50; Bad interaction between BiDi and org-tables Date: Thu, 14 Jun 2012 06:10:22 +0300 Message-ID: <83mx46y4f5.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1339643478 5295 80.91.229.3 (14 Jun 2012 03:11:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jun 2012 03:11:18 +0000 (UTC) Cc: 11700@debbugs.gnu.org To: Dov Grobgeld Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 14 05:11:17 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sf0Sq-0002pT-Qc for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jun 2012 05:11:16 +0200 Original-Received: from localhost ([::1]:51514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sf0Sq-00085L-LH for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jun 2012 23:11:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sf0Sn-000853-8b for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 23:11:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sf0Sl-0004SF-Dt for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 23:11:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sf0Sl-0004SA-AJ for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 23:11:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Sf0VV-0004Pq-KN for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 23:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jun 2012 03:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11700 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11700-submit@debbugs.gnu.org id=B11700.133964358216901 (code B ref 11700); Thu, 14 Jun 2012 03:14:01 +0000 Original-Received: (at 11700) by debbugs.gnu.org; 14 Jun 2012 03:13:02 +0000 Original-Received: from localhost ([127.0.0.1]:41560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sf0UX-0004OO-Iw for submit@debbugs.gnu.org; Wed, 13 Jun 2012 23:13:01 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:44408) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sf0UV-0004O7-64 for 11700@debbugs.gnu.org; Wed, 13 Jun 2012 23:12:59 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M5L00B00742FZ00@a-mtaout21.012.net.il> for 11700@debbugs.gnu.org; Thu, 14 Jun 2012 06:10:07 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M5L00B2Z7GVCC90@a-mtaout21.012.net.il>; Thu, 14 Jun 2012 06:10:07 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60963 Archived-At: > Date: Wed, 13 Jun 2012 22:26:35 +0300 > From: Dov Grobgeld > > Imagine you have a buffer with the following logical contents (using the > convention that capitals are RTL characters). > > | abcdef | abc | > | ABCDEF | ABC | > > I would like this to be displayed as: > > | abcdef | abc | > | FEDCBA | CBA | > > The problem is that I want to each column of the table to be isolated > (with regards to bidi influence) from other columns in the table. (Of > course we also want to choose the table direction, but that is a > different and solvable issue.) If there is no such separation, which > is the behaviour currently get in emacs HEAD, then the resulting > rendered buffer is: > > | abcdef | abc | > | CBA | FEDCBA | > > Is this even solvable in the current emacs bidi model? Yes, it is. The solution involves putting segment separators between the table columns. These could be TAB characters or a display property whose value is (space . :width N) or (space . :align-to COL). Org maintainers, please ask if you need help in fixing this.