From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dov Grobgeld Newsgroups: gmane.emacs.bugs 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> 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 1339697494 31786 80.91.229.3 (14 Jun 2012 18:11:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jun 2012 18:11:34 +0000 (UTC) Cc: 11700@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 14 20:11:33 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 1SfEW3-00065o-Gj for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jun 2012 20:11:31 +0200 Original-Received: from localhost ([::1]:40153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfEW3-0003FX-Br for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jun 2012 14:11:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfEVu-0002vZ-VW for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2012 14:11:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfEVo-0006MM-KR for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2012 14:11:22 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfEVg-0006KU-Nf; Thu, 14 Jun 2012 14:11:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SfEYU-0002Ph-I9; Thu, 14 Jun 2012 14:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dov Grobgeld 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 18:14:02 +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.13396976279247 (code B ref 11700); Thu, 14 Jun 2012 18:14:02 +0000 Original-Received: (at 11700) by debbugs.gnu.org; 14 Jun 2012 18:13:47 +0000 Original-Received: from localhost ([127.0.0.1]:42606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfEYC-0002P2-FP for submit@debbugs.gnu.org; Thu, 14 Jun 2012 14:13:47 -0400 Original-Received: from mail-ob0-f172.google.com ([209.85.214.172]:43046) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfEY9-0002Ov-P7 for 11700@debbugs.gnu.org; Thu, 14 Jun 2012 14:13:43 -0400 Original-Received: by obbwc20 with SMTP id wc20so1664117obb.3 for <11700@debbugs.gnu.org>; Thu, 14 Jun 2012 11:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=0Ja9wX7XcUDNOQBZ4PnNBtHyRWp/kgIQGwffahME6Sc=; b=MCPC1Yv7BQMIuzcgklra+KF9jglK7LyyWSzwzdMkjtBnxO9TC4oCiFhfEeTSC5pmfa UA2tzzA6lDt/WAsHVUW6E9swmLoXe6M3Axd0XjfFT6gCtA1VGidk4qIXTBGXe+k1rJCM nlA8plSOHm7VsuRki6Fp6aaZeRGneUupFcgoef1XA3gk1j1rwBES+DnaRKxdM4M8GIOT /Hgo9iCxFsbT0G2TYoYqqqSpaeBISHh5PDRsffwLQhVbyoOFtmmR5yJYE6EsjXTNVxJ2 gMC/Fhc/e0WfW/XiSzkoxxsNMpvsdNDEAuzBRu9qllcYu/CgnW5dwQxGZ4AYnW2s8Cl+ lAoQ== Original-Received: by 10.182.115.7 with SMTP id jk7mr2899834obb.9.1339697446483; Thu, 14 Jun 2012 11:10:46 -0700 (PDT) Original-Received: by 10.182.17.10 with HTTP; Thu, 14 Jun 2012 11:10:46 -0700 (PDT) In-Reply-To: <83mx46y4f5.fsf@gnu.org> 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:60976 Archived-At: 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.