From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii 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__49963.2810977802$1339702714$gmane$org@gnu.org> References: <83mx46y4f5.fsf@gnu.org> Reply-To: Eli Zaretskii Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfFrt-00050c-KX for emacs-orgmode@gnu.org; Thu, 14 Jun 2012 15:38:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfFrr-0002Tc-RV for emacs-orgmode@gnu.org; Thu, 14 Jun 2012 15:38:09 -0400 Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-Message-ID: In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dov Grobgeld Cc: 11700@debbugs.gnu.org > 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.