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: [O] 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> 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 1339742425 8402 80.91.229.3 (15 Jun 2012 06:40:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2012 06:40:25 +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 Fri Jun 15 08:40:22 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 1SfQCj-0002bL-MJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 08:40:21 +0200 Original-Received: from localhost ([::1]:59305 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfQCj-0003An-KG for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 02:40:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfQCg-00035B-8c for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 02:40:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfQCe-00021m-Bq for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 02:40:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfQCU-0001xI-Lp; Fri, 15 Jun 2012 02:40:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SfQFK-0002R1-Sr; Fri, 15 Jun 2012 02:43:03 -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: Fri, 15 Jun 2012 06:43: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.13397425619332 (code B ref 11700); Fri, 15 Jun 2012 06:43:02 +0000 Original-Received: (at 11700) by debbugs.gnu.org; 15 Jun 2012 06:42:41 +0000 Original-Received: from localhost ([127.0.0.1]:43549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfQEw-0002QQ-Ex for submit@debbugs.gnu.org; Fri, 15 Jun 2012 02:42:40 -0400 Original-Received: from mail-ob0-f172.google.com ([209.85.214.172]:47153) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfQEr-0002QG-KG for 11700@debbugs.gnu.org; Fri, 15 Jun 2012 02:42:35 -0400 Original-Received: by obbwc20 with SMTP id wc20so2583947obb.3 for <11700@debbugs.gnu.org>; Thu, 14 Jun 2012 23:39:35 -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=ijDzMo7aQDJA6WvQGZLVLyPAdTNtu8WaG0UAwXTiPg0=; b=Y9+dlKPB1OK7Lzv34PwcGTC6iLoWthpSc/c9Lm5crSnWmEYGZjx8b/+/jaAtu8Orj6 vmF/QUT7in3FhMGDbxScCSO9Re7I/HxGPgv1+MIMnK9QTLoGKc+20cHaJrckVxZykjrI qjlGlV4cSXLy/JyNE+6q9FGt/JXymMG+8uHW2LDXZAr3z43viuMEOVQ9aAqMSJAJHiF9 P/qfeHR7ggi4Iva0FOz+s9QprgjAQ2EYFo8Ml+or0Bilu0jrg59Nhzv7ShQMkMY5uDeL /sNCYRJwlSTqm3fEnR32mlUDiIA20fAvb+s/HPwAXJAAoT2mCj7fzhPj3Pxo3ZJtTRb7 5wRQ== Original-Received: by 10.60.32.113 with SMTP id h17mr4628064oei.40.1339742375796; Thu, 14 Jun 2012 23:39:35 -0700 (PDT) Original-Received: by 10.182.17.10 with HTTP; Thu, 14 Jun 2012 23:39:35 -0700 (PDT) In-Reply-To: <837gv9y99l.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:60997 Archived-At: 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?