emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dov Grobgeld <dov.grobgeld@gmail.com>
Cc: 11700@debbugs.gnu.org
Subject: bug#11700: 24.1.50; Bad interaction between BiDi and org-tables
Date: Thu, 14 Jun 2012 22:37:58 +0300	[thread overview]
Message-ID: <837gv9y99l.fsf__49963.2810977802$1339702714$gmane$org@gnu.org> (raw)
In-Reply-To: <CA++fsGEWbmfgEn1=WVd_HcqxXVySPg0P-SsPzrF2gZ0gu_-0ww@mail.gmail.com>

> Date: Thu, 14 Jun 2012 21:10:46 +0300
> From: Dov Grobgeld <dov.grobgeld@gmail.com>
> 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.

??? What exactly did you try?  You need to have a TAB before and after
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):

‎|      אבגד 	|	הוזחטי     |

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 to
be aligned.  For the replacement of the second TAB, increment the
value to get the desired alignment of the text of the second cell.

  reply	other threads:[~2012-06-14 19:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CA++fsGHi3oq-jkanE6eBV3R+Wd0phYSV6b-w61Xyk7YHjxxDyg@mail.gmail.com>
     [not found] ` <83mx46y4f5.fsf@gnu.org>
2012-06-14 18:10   ` bug#11700: 24.1.50; Bad interaction between BiDi and org-tables Dov Grobgeld
2012-06-14 19:37     ` Eli Zaretskii [this message]
     [not found]     ` <837gv9y99l.fsf@gnu.org>
2012-06-15  6:39       ` bug#11700: " Dov Grobgeld
     [not found]       ` <CA++fsGEZ4hpgYQ=12vnHryS9LJbqycGHnuWs5JN5G0M776p6Gw@mail.gmail.com>
2012-06-15  8:38         ` Eli Zaretskii
2017-12-04 20:27   ` Nicolas Goaziou
     [not found]   ` <87mv2y6xx2.fsf@nicolasgoaziou.fr>
2017-12-04 20:35     ` Dov Grobgeld
     [not found]     ` <CA++fsGFeTBLaxS8tEVjDcJoX1GjGp0Xat1tf71rj3hHOY1WBgg@mail.gmail.com>
2017-12-04 20:43       ` Eli Zaretskii
     [not found]       ` <834lp6xlzz.fsf@gnu.org>
2017-12-04 20:53         ` Eli Zaretskii
2017-12-04 20:45     ` Eli Zaretskii
2017-12-04 21:02       ` Nicolas Goaziou
     [not found]       ` <877eu26wc7.fsf@nicolasgoaziou.fr>
2017-12-08  9:28         ` Eli Zaretskii
2017-12-08 17:08           ` Nicolas Goaziou
2017-12-23 13:38             ` Eli Zaretskii
     [not found]             ` <83y3ltk1j0.fsf@gnu.org>
2017-12-23 13:48               ` Eli Zaretskii
2017-12-23 22:51               ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='837gv9y99l.fsf__49963.2810977802$1339702714$gmane$org@gnu.org' \
    --to=eliz@gnu.org \
    --cc=11700@debbugs.gnu.org \
    --cc=dov.grobgeld@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).