From mboxrd@z Thu Jan 1 00:00:00 1970 From: jsj Subject: table alignment with org-pretty-entities turned on Date: Sun, 28 Aug 2016 12:37:58 -0700 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_6CDE4D4F-4B79-4566-AB7C-A2E09BBB4922" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1be5v8-00083C-Jy for emacs-orgmode@gnu.org; Sun, 28 Aug 2016 15:39:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1be5v4-0005Sn-CN for emacs-orgmode@gnu.org; Sun, 28 Aug 2016 15:39:05 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:33545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1be5v4-0005SI-48 for emacs-orgmode@gnu.org; Sun, 28 Aug 2016 15:39:02 -0400 Received: by mail-pf0-f169.google.com with SMTP id y134so44370556pfg.0 for ; Sun, 28 Aug 2016 12:39:00 -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 89sm43488680pft.96.2016.08.28.12.37.58 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Aug 2016 12:37:58 -0700 (PDT) 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=_6CDE4D4F-4B79-4566-AB7C-A2E09BBB4922 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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=20 | 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=_6CDE4D4F-4B79-4566-AB7C-A2E09BBB4922 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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=_6CDE4D4F-4B79-4566-AB7C-A2E09BBB4922-- 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-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: table alignment with org-pretty-entities turned on Date: Wed, 31 Aug 2016 09:25:53 +0100 Message-ID: <87lgzd2vla.fsf@ucl.ac.uk> References: <24054f3d55784e3b905a958604b45a33@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf62L-0002cm-AL for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 09:58:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bf62H-0001Rh-1I for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 09:58:41 -0400 Received: from mail-db5eur01on0108.outbound.protection.outlook.com ([104.47.2.108]:17824 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf62G-0001RP-Lk for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 09:58:36 -0400 In-Reply-To: <24054f3d55784e3b905a958604b45a33@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (jsj's message of "Tue, 30 Aug 2016 18:12:36 +0000") 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: jsj Cc: "emacs-orgmode@gnu.org" On Tuesday, 30 Aug 2016 at 18:12, jsj wrote: [...] > | a | b | c | > |-------+---+---| > | =CE=B1 =CE=B2 | | | > > Is it just me or you can reproduce the same behavior? I have seen the same at times. Not always so it may be font related. Not sure. --=20 : Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.5-1070-g190476 From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Subject: Re: table alignment with org-pretty-entities turned on Date: Wed, 31 Aug 2016 10:44:22 -0400 Message-ID: <9dfe6e36-805d-3e2b-11bf-41ae5f5b8b02@gmail.com> References: <24054f3d55784e3b905a958604b45a33@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87lgzd2vla.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GjEkbcDHHvLq3aSeFQ74l9dPm94i2Vfj5" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf6ko-0003eP-0r for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 10:44:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bf6ki-000455-Mn for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 10:44:36 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:49769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf6ki-000450-CV for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 10:44:32 -0400 Received: from [18.26.2.123] ([18.26.2.123]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MI6Uo-1bfeBE0f9y-003vCu for ; Wed, 31 Aug 2016 16:44:30 +0200 In-Reply-To: <87lgzd2vla.fsf@ucl.ac.uk> 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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GjEkbcDHHvLq3aSeFQ74l9dPm94i2Vfj5 Content-Type: multipart/mixed; boundary="3pfn4dmVvKD9s7gugaSIBQDjQuRg3DRDl"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-orgmode@gnu.org Message-ID: <9dfe6e36-805d-3e2b-11bf-41ae5f5b8b02@gmail.com> Subject: Re: [O] table alignment with org-pretty-entities turned on References: <24054f3d55784e3b905a958604b45a33@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87lgzd2vla.fsf@ucl.ac.uk> In-Reply-To: <87lgzd2vla.fsf@ucl.ac.uk> --3pfn4dmVvKD9s7gugaSIBQDjQuRg3DRDl Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-08-31 04:25, Eric S Fraga wrote: > On Tuesday, 30 Aug 2016 at 18:12, jsj wrote: >=20 > [...] >=20 >> | a | b | c | >> |-------+---+---| >> | =CE=B1 =CE=B2 | | | >> >> Is it just me or you can reproduce the same behavior? >=20 > I have seen the same at times. Not always so it may be font > related. Not sure. I'm not sure I understand the problem description. Turning on prettificat= ion does breaks table alignment; thus,=20 | a | b | c | |--------+---+---| | \alpha | | | is always displayed as=20 | a | b | c | |--------+---+---| | =CE=B1 | | | I can indeed reproduce this; one way to prevent it from happening would b= e to prettify "\alpha" as "=CE=B1 ". On the other hand, realigning the table (by pressing tab in a cell) produ= ces the expected alignment: | a | b | c | |---+---+---| | =CE=B1 | | | which in turn looks wrong when prettification is disabled: | a | b | c | |---+---+---| | \alpha | | | Does this match your experience? If so, I don't think it's a bug, as much= as a limitation of prettification. Cl=C3=A9ment. --3pfn4dmVvKD9s7gugaSIBQDjQuRg3DRDl-- --GjEkbcDHHvLq3aSeFQ74l9dPm94i2Vfj5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXxu1HAAoJEPqg+cTm90wj3XAQAJgY5OKKPEz33yWsw4XjAwf9 xCuAf8PGF5TzXaKLOAL0u+6tYwfZ2pxZFsm8l1ZVlLIWim8nLSfta6UXr+A0k8xw n2g5aaEGCvD40IyzbEJfPKrnY7yizK3Hl0rf1rUUNWDtahw4VzKVLt7viX0AneuR oeI9Y1KA8yS8uwIpDdH5g+inA5y9I6NFfb9W8G00JmQhmkHMKdiny6y9pAsf37bG 60YtPAr8Esra6MhdmRffLRn+hDX473ogYwWWX8KnAgHqRuA9Ysmw96UGq+rTcNPb vLddbxEnDgXQajgwV21j58XBXOxIO6xdP0FlU/MiGpCV6zKHOwENzTQj304lEpRD EZiYVTkR/t9tvBcIFEiFpA3nfIdR8fUDzCnXzgL+iy6ZGds+MYyNe3sgBgNPVSI7 Sskb/Tpr30dmZqS+67OqOizmWbVBWrPjvZ7cNx1yGv1DpC0RxOB/5W9djlU2InbE 9s8R6zwAMXPgGpI5PQekdFsjlgY8b4gf7MXgoW0IVk0L/dk7hGS9CeEOv7eOK8In xseL/lpPF61JO8rGBqFUBKUxy3ipK9n8VkoLnu6vJiy5EeNLU4Z3sfvTPf0OeDAZ Jk2HfRFKTodKFZrGAEcyDGzs+hSz+TTVEejPI0J5z9z1TaobN+8PoRXqz9PC6+0b vZEYH6GarPw+WM5uznIv =eJgi -----END PGP SIGNATURE----- --GjEkbcDHHvLq3aSeFQ74l9dPm94i2Vfj5-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: jsj Subject: Re: table alignment with org-pretty-entities turned on Date: Wed, 31 Aug 2016 10:14:57 -0700 Message-ID: <0EB461EC-CFAD-4BA0-AB02-E13954025F2E@gmail.com> References: <24054f3d55784e3b905a958604b45a33@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87lgzd2vla.fsf@ucl.ac.uk> <9dfe6e36-805d-3e2b-11bf-41ae5f5b8b02@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_5A84BE0F-36BF-4141-9F07-4FBB79027F95" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf96M-0002o5-CN for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 13:15:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bf96I-0002TE-4j for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 13:15:01 -0400 Received: from mail-it0-x22d.google.com ([2607:f8b0:4001:c0b::22d]:36133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf96H-0002TA-RS for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 13:14:58 -0400 Received: by mail-it0-x22d.google.com with SMTP id i184so21139758itf.1 for ; Wed, 31 Aug 2016 10:14:57 -0700 (PDT) In-Reply-To: <9dfe6e36-805d-3e2b-11bf-41ae5f5b8b02@gmail.com> 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: =?utf-8?Q?Cl=C3=A9ment_Pit--Claudel?= Cc: emacs-orgmode@gnu.org --Apple-Mail=_5A84BE0F-36BF-4141-9F07-4FBB79027F95 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, > On 2016=E5=B9=B48=E6=9C=8831=E6=97=A5, at 07:44, Cl=C3=A9ment = Pit--Claudel wrote: >=20 > I'm not sure I understand the problem description. Turning on = prettification does breaks table alignment; thus,=20 >=20 > | a | b | c | > |--------+---+---| > | \alpha | | | >=20 > is always displayed as=20 >=20 > | a | b | c | > |--------+---+---| > | =CE=B1 | | | >=20 > I can indeed reproduce this; one way to prevent it from happening = would be to prettify "\alpha" as "=CE=B1 =E2=80=9C. This is the same as my experience, and it makes sense because turning on = prettification does not take care of the alignment. The problem I have = is exactly related to what you described below, i.e. the table alignment = after a realignment. > On the other hand, realigning the table (by pressing tab in a cell) = produces the expected alignment: >=20 > | a | b | c | > |---+---+---| > | =CE=B1 | | | >=20 I have a different experience for this. In my case, after a realignment (by pressing TAB or C-c C-c), I got=20 | a | b | c | |----+---+---| | =CE=B1 | | | instead of=20 | a | b | c | |---+---+---| | =CE=B1 | | | It looks like that a greek letter is considered to be a double-wide = symbol but displayed as a single-wide one. > which in turn looks wrong when prettification is disabled: >=20 > | a | b | c | > |---+---+---| > | \alpha | | | >=20 > Does this match your experience? If so, I don't think it's a bug, as = much as a limitation of prettification. >=20 > Cl=C3=A9ment. This is surprising as I can reproduce the issue with a clean init file. Btw, I am using org-plus-contrib package (20160822) with emacs 25.1.50 = on a mac (10.11.6). Jiang --Apple-Mail=_5A84BE0F-36BF-4141-9F07-4FBB79027F95 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi,


On = 2016=E5=B9=B48=E6=9C=8831=E6=97=A5, at 07:44, Cl=C3=A9ment Pit--Claudel = <clement.pit@gmail.com> wrote:

I'm not sure I = understand the problem description. Turning on prettification does = breaks table alignment; thus, 

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

is always displayed = as 

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

I can indeed = reproduce this; one way to prevent it from happening would be to = prettify "\alpha" as "=CE=B1     =E2=80=9C.

This is the same as my experience, and = it makes sense because turning on prettification does not take care of = the alignment. The problem I have is exactly related to what you = described below, i.e. the table alignment after a realignment.

On the other hand, realigning the table (by = pressing tab in a cell) produces the expected alignment:

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


I have a different experience for = this.
In my case, after a realignment (by pressing TAB or C-c = C-c), I got 

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

instead of 

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

It looks like that a greek letter is = considered to be a double-wide symbol but displayed as a single-wide = one.

which in turn looks wrong when = prettification is disabled:

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

Does this match your experience? If so, I don't = think it's a bug, as much as a limitation of prettification.

Cl=C3=A9ment.

This is surprising as I can reproduce the issue = with a clean init file.
Btw, I am using org-plus-contrib = package (20160822) with emacs 25.1.50 on a mac (10.11.6).

Jiang


= --Apple-Mail=_5A84BE0F-36BF-4141-9F07-4FBB79027F95-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: jsj Subject: Re: table alignment with org-pretty-entities turned on Date: Wed, 31 Aug 2016 14:34:00 -0700 Message-ID: <4518D408-850E-4CB1-84F7-F81B587BA887@gmail.com> References: <24054f3d55784e3b905a958604b45a33@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87lgzd2vla.fsf@ucl.ac.uk> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfD95-0001A6-QZ for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 17:34:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfD91-0003Bn-PT for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 17:34:07 -0400 Received: from mail-it0-x232.google.com ([2607:f8b0:4001:c0b::232]:35457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfD91-0003Bg-Kt for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 17:34:03 -0400 Received: by mail-it0-x232.google.com with SMTP id e124so68824942ith.0 for ; Wed, 31 Aug 2016 14:34:02 -0700 (PDT) In-Reply-To: <87lgzd2vla.fsf@ucl.ac.uk> 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: Eric S Fraga Cc: "emacs-orgmode@gnu.org" I have some updates about this issue. I can confirm that it is not related to the prettification. I tried to = directly put in unicode symbols instead of the ones generated by = prettification, and I got exactly the same issue. So I guess this has something to do with how the system is handling the = non-latin symbols.=20 It looks like these greek letters are displayed to be single-width = symbols but counted as double-wide ones. Btw, I am using a fixed-width = font, and the greek letters does not cause alignment issues outside = tables. Jiang > On 2016=E5=B9=B48=E6=9C=8831=E6=97=A5, at 01:25, Eric S Fraga = wrote: >=20 > On Tuesday, 30 Aug 2016 at 18:12, jsj wrote: >=20 > [...] >=20 >> | a | b | c | >> |-------+---+---| >> | =CE=B1 =CE=B2 | | | >>=20 >> Is it just me or you can reproduce the same behavior? >=20 > I have seen the same at times. Not always so it may be font > related. Not sure. >=20 > --=20 > : Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org = release_8.3.5-1070-g190476 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: table alignment with org-pretty-entities turned on Date: Tue, 06 Sep 2016 08:06:22 +0200 Message-ID: <874m5twoip.fsf@saiph.selenimh> References: <63868C53-DB47-4854-BBCC-20B2FC7A0397@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bh9Wi-0003On-9d for emacs-orgmode@gnu.org; Tue, 06 Sep 2016 02:06:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bh9Wg-00085N-Eb for emacs-orgmode@gnu.org; Tue, 06 Sep 2016 02:06:31 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:47881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bh9Wg-000854-80 for emacs-orgmode@gnu.org; Tue, 06 Sep 2016 02:06:30 -0400 In-Reply-To: <63868C53-DB47-4854-BBCC-20B2FC7A0397@gmail.com> (jsj's message of "Tue, 30 Aug 2016 11:12:36 -0700") 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: jsj Cc: emacs-orgmode@gnu.org Hello, jsj writes: > 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 real= ign 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? I cannot reproduce it. However, I fixed an alignment bug in tables recently. Does updating Org solve your issue? Regards, --=20 Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: s j Subject: Re: table alignment with org-pretty-entities turned on Date: Wed, 07 Sep 2016 02:36:28 +0000 Message-ID: <4eg4n5i9oxzxhkyms47gnjczf-0@mailer.nylas.com> References: <63868C53-DB47-4854-BBCC-20B2FC7A0397@gmail.com> <874m5twoip.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="dc9172f58f8849ae95aa5f8466066e8e" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhSj3-0007if-OU for emacs-orgmode@gnu.org; Tue, 06 Sep 2016 22:36:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhSj0-00058H-JE for emacs-orgmode@gnu.org; Tue, 06 Sep 2016 22:36:33 -0400 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]:34091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhSj0-00058D-8i for emacs-orgmode@gnu.org; Tue, 06 Sep 2016 22:36:30 -0400 Received: by mail-pa0-x22b.google.com with SMTP id to9so1049442pac.1 for ; Tue, 06 Sep 2016 19:36:29 -0700 (PDT) Received: from [127.0.0.1] (ec2-52-36-99-221.us-west-2.compute.amazonaws.com. [52.36.99.221]) by smtp.gmail.com with ESMTPSA id t7sm44101066paz.21.2016.09.06.19.36.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Sep 2016 19:36:28 -0700 (PDT) In-Reply-To: <874m5twoip.fsf@saiph.selenimh> 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" --dc9172f58f8849ae95aa5f8466066e8e Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" Mime-Version: 1.0 SXQgd2FzIHNvbHZlZC4gSSBqdXN0IHJlcG9ydCBpdCBoZXJlIGluIGNhc2UgaXQgaXMgdXNlZnVs IHRvIG90aGVycy4KCkl0IHR1cm5lZCBvdXQgdG8gYmUgYSBwcm9ibGVtIHdpdGggdGhlIGxhbmd1 YWdlIGVudmlyb25tZW50LgoKICAKClByZXZpb3VzbHksIHRoZSBsYW5ndWFnZSBlbnZpcm9ubWVu dCB3YXMgZGV0ZWN0ZWQgdG8gYmUgQ2hpbmVzZSBhbHRob3VnaCBteQpzeXN0ZW0tZGVmYXVsdCBs YW5ndWFnZSBpcyBFbmdsaXNoLiBUaGUgcHJlZmVycmVkIGNoYXJzZXQgZm9yIEdyZWVrIGxldHRl cnMKd2FzIHRoZW4gc2V0IHRvIGEgQ2hpbmVzZSBjaGFyc2V0LCB3aGljaCBsZWFkcyB0byB3cm9u ZyB3aWR0aHMgSSBndWVzcy4gQWZ0ZXIKSSBzZXQgdGhlIGxhbmd1YWdlIGVudmlyb25tZW50IHRv IHV0ZjggaW4gdGhlIGluaXQgZmlsZSwgZXZlcnl0aGluZyB3b3JrcwpmaW5lLgoKICAKClBTOiBz b3JyeSBmb3IgZHVwbGljYXRlZCBlbWFpbHMsIGZvcmdvdCB0byAicmVwbHkgYWxsIiBpbiB0aGUg Zml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