From mboxrd@z Thu Jan 1 00:00:00 1970 From: jsj Subject: Re: table alignment with org-pretty-entities turned on Date: Tue, 30 Aug 2016 11:12:36 -0700 Message-ID: <63868C53-DB47-4854-BBCC-20B2FC7A0397@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_78758200-5764-40DF-B2AF-D186FE6E0A8A" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1benWe-0005xC-6p for emacs-orgmode@gnu.org; Tue, 30 Aug 2016 14:12:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1benWZ-0004Gh-2w for emacs-orgmode@gnu.org; Tue, 30 Aug 2016 14:12:44 -0400 Received: from mail-it0-x233.google.com ([2607:f8b0:4001:c0b::233]:37240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1benWY-0004Gc-SB for emacs-orgmode@gnu.org; Tue, 30 Aug 2016 14:12:39 -0400 Received: by mail-it0-x233.google.com with SMTP id n75so52723980ith.0 for ; Tue, 30 Aug 2016 11:12:38 -0700 (PDT) Received: from [192.168.1.66] (d108-180-200-146.bchsia.telus.net. [108.180.200.146]) by smtp.gmail.com with ESMTPSA id u99sm131338ioi.12.2016.08.30.11.12.37 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Aug 2016 11:12:37 -0700 (PDT) In-Reply-To: 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" To: emacs-orgmode@gnu.org --Apple-Mail=_78758200-5764-40DF-B2AF-D186FE6E0A8A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 To make it clear, the behavior I reported can be reproduced with a clean = init file with just org loaded. I put the table | a | b | c | |--------+---+---| | \alpha | | | in an org file, toggle pretty entities by C-c C-x \, then C-c C-c to = realign the table. The result I get is | a | b | c | |----+---+---| | =CE=B1 | | | If I try the same thing for=20 | a | b | c | |--------------+---+---| | \alpha \beta | | | I get | a | b | c | |-------+---+---| | =CE=B1 =CE=B2 | | | Is it just me or you can reproduce the same behavior? Regards, Jiang > On 2016=E5=B9=B48=E6=9C=8828=E6=97=A5, at 12:37, jsj = wrote: >=20 > Hi, >=20 > I am using the latest org-plus-contrib package (20160822) with emacs = 25.1.50. >=20 > I turned org-pretty-entities on in my init.el. When there are = prettified letters displayed in an org table, the alignment of the table = seems to be messed up. The deviation is related to the number of = prettified symbols. >=20 > For example, >=20 > | a | b | c | > |--------+---+---| > | \alpha | | | >=20 > is displayed as >=20 > | a | b | c | > |----+---+---| > | =CE=B1 | | | >=20 > while=20 >=20 > | a | b | c | > |--------------+---+---| > | \alpha \beta | | | >=20 > is prettified as >=20 > | a | b | c | > |-------+---+---| > | =CE=B1 =CE=B2 | | | >=20 > I am wondering whether I miss anything. It would be great to have = aligned tables with prettified symbols. >=20 > Thank you! >=20 > Best regards, > Jiang --Apple-Mail=_78758200-5764-40DF-B2AF-D186FE6E0A8A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 To make it clear, = the behavior I reported can be reproduced with a clean init file with = just org loaded.

I put the table

| a      | b | c = |
|--------+---+---|
| \alpha |   |   = |

in an org file, toggle pretty = entities by C-c C-x \, then C-c C-c to realign the table. The result I = get is

| a  | b | c = |
|----+---+---|
| =CE=B1 |   |   = |


If I try the same thing for 

| a   =          | b | c |
|--------------+---+---|
| \alpha \beta = |   |   |

I get

| a     | b | c |
|-------+---+---|
| =CE=B1 =CE=B2 | =   |   |

Is it just me or you can reproduce the same = behavior?

Regards,
Jiang

On = 2016=E5=B9=B48=E6=9C=8828=E6=97=A5, at 12:37, jsj <jsj.register@gmail.com> wrote:

Hi,

I am using the = latest org-plus-contrib package (20160822) with emacs = 25.1.50.

I turned org-pretty-entities on in = my init.el. When there are prettified letters displayed in an org table, = the alignment of the table seems to be messed up.  The deviation is = related to the number of prettified symbols.

For example,

| a     =  | b | c |
|--------+---+---|
| \alpha |   |   |

is displayed as

| a  | b | c |
|----+---+---|
| =CE=B1 |   | =   |

while 

| a           =  | b | c |
|--------------+---+---|
| \alpha \beta |   |   |

is prettified = as

| a     | b | c |
|-------+---+---|
| =CE=B1 =CE=B2 | =   |   |

I am wondering whether I miss anything. It would be great to = have aligned tables with prettified symbols.

Thank you!

Best regards,
Jiang

= --Apple-Mail=_78758200-5764-40DF-B2AF-D186FE6E0A8A--