From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dov Grobgeld Subject: bug#11700: 24.1.50; Bad interaction between BiDi and org-tables Date: Thu, 14 Jun 2012 21:10:46 +0300 Message-ID: References: <83mx46y4f5.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]:37119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfEVn-0002kG-By for emacs-orgmode@gnu.org; Thu, 14 Jun 2012 14:11:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfEVg-0006Ki-T4 for emacs-orgmode@gnu.org; Thu, 14 Jun 2012 14:11:14 -0400 Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-Message-ID: In-Reply-To: <83mx46y4f5.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 Do you think that you can provide some lisp code that builds the buffer contents and the display properties for the three options that ou refered to as an illustration? I tried inserting tabs into the buffer before the vertical bars, but after reordering it still didn't come out right. Regards, Dov On Thu, Jun 14, 2012 at 6:10 AM, Eli Zaretskii wrote: >> 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. =C2=A0The solution involves putting segment separators betwee= n > the table columns. =C2=A0These 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.