From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dov Grobgeld Subject: bug#11700: bug#11700: 24.1.50; Bad interaction between BiDi and org-tables Date: Fri, 15 Jun 2012 09:39:35 +0300 Message-ID: References: <83mx46y4f5.fsf@gnu.org> <837gv9y99l.fsf@gnu.org> 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]:34782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfQCZ-0002mP-SS for emacs-orgmode@gnu.org; Fri, 15 Jun 2012 02:40:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfQCU-0001yu-Rd for emacs-orgmode@gnu.org; Fri, 15 Jun 2012 02:40:11 -0400 Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-Message-ID: In-Reply-To: <837gv9y99l.fsf@gnu.org> 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: Eli Zaretskii Cc: 11700@debbugs.gnu.org On Thu, Jun 14, 2012 at 10:37 PM, Eli Zaretskii wrote: >> Date: Thu, 14 Jun 2012 21:10:46 +0300 >> From: Dov Grobgeld >> Cc: 11700@debbugs.gnu.org >> [stuff deleted] >> I tried inserting tabs into the buffer before the vertical bars, but >> after reordering it still didn't come out right. > > ??? What exactly did you try? =C2=A0You need to have a TAB before and aft= er > 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| =C2=A0 =C2=A0 =C2=A0=D7=90=D7=91=D7=92=D7=93 =C2=A0 =C2=A0| = =C2=A0 =C2=A0 =C2=A0 =D7=94=D7=95=D7=96=D7=97=D7=98=D7=99 =C2=A0 =C2=A0 | > > Isn't this what you wanted? Yes. Great! This is indeed what I wanted. My mistake was that I tried it with a tab character before OR after the vertical bar. This solution should be really simple to implement in org-mode as it means that instead of joining the table columns with "" as is currently done, you just need to use "" as well as setting the tab width to 1. But I just wonder, is there any other character (preferably white space character) with the same end-of-segment-boundary properties as tab, in case tab is used for something else in org-mode? Or is it possible to take an arbitrary character, e.g. U+E0020, and bless it with end-of-segment boundary properties and then use that in the org-mode buffer? As a side note, I really like the idea of end of segment separator, and I wasn't aware of it when I wrote fribidi a long time ago. I wonder if the semantics of the emacs segment separator follows the Unicode Bidi Algorithm?