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 22:37:58 +0300 Message-ID: <837gv9y99l.fsf@gnu.org> References: <83mx46y4f5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1339702712 8482 80.91.229.3 (14 Jun 2012 19:38:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jun 2012 19:38:32 +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 21:38:29 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 1SfFs9-00078j-AH for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jun 2012 21:38:25 +0200 Original-Received: from localhost ([::1]:54411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfFs9-0005eu-9c for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jun 2012 15:38:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfFrw-000593-Lz for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2012 15:38:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfFru-0002U5-V7 for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2012 15:38:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfFrr-0002TX-LT; Thu, 14 Jun 2012 15:38:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SfFuf-0004PU-Lk; Thu, 14 Jun 2012 15:41: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, emacs-orgmode@gnu.org Resent-Date: Thu, 14 Jun 2012 19:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11700 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: Original-Received: via spool by 11700-submit@debbugs.gnu.org id=B11700.133970284716932 (code B ref 11700); Thu, 14 Jun 2012 19:41:01 +0000 Original-Received: (at 11700) by debbugs.gnu.org; 14 Jun 2012 19:40:47 +0000 Original-Received: from localhost ([127.0.0.1]:42654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfFuR-0004P3-9S for submit@debbugs.gnu.org; Thu, 14 Jun 2012 15:40:47 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:44397) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfFuN-0004Ot-Me for 11700@debbugs.gnu.org; Thu, 14 Jun 2012 15:40:46 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M5M00F00H6HN500@a-mtaout22.012.net.il> for 11700@debbugs.gnu.org; Thu, 14 Jun 2012 22:37:42 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M5M00F58H6T49A0@a-mtaout22.012.net.il>; Thu, 14 Jun 2012 22:37:42 +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:60984 Archived-At: > Date: Thu, 14 Jun 2012 21:10:46 +0300 > From: Dov Grobgeld > Cc: 11700@debbugs.gnu.org >=20 > Do you think that you can provide some lisp code that builds the > buffer contents and the display properties for the three options th= at > ou refered to as an illustration? >=20 > I tried inserting tabs into the buffer before the vertical bars, bu= t > after reordering it still didn't come out right. ??? What exactly did you try? You need to have a TAB before and afte= r each '|' that's between the cells (the outer ones do not need a TAB). Like this (you should see this correctly in Emacs 24.1; move cursor with C-f to see the logical order): =E2=80=8E| =D7=90=D7=91=D7=92=D7=93 =09|=09=D7=94=D7=95=D7=96= =D7=97=D7=98=D7=99 | Isn't this what you wanted? As for the display properties, replace the TABs in the example above with something like this: (insert (propertize " " '(display (space :align-to 10)))) The number 10 should be the column where you want the "|" separator t= o be aligned. For the replacement of the second TAB, increment the value to get the desired alignment of the text of the second cell.