From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Table format error Date: Thu, 14 Sep 2017 09:22:45 +0100 Message-ID: <87mv5x7kq2.fsf@t3610> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsPQE-00072D-EL for emacs-orgmode@gnu.org; Thu, 14 Sep 2017 04:22:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsPQ8-0005R1-KH for emacs-orgmode@gnu.org; Thu, 14 Sep 2017 04:22:54 -0400 Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:47130) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dsPQ8-0005Q5-EM for emacs-orgmode@gnu.org; Thu, 14 Sep 2017 04:22:48 -0400 Received: by mail-wr0-x22b.google.com with SMTP id k20so4705920wre.4 for ; Thu, 14 Sep 2017 01:22:48 -0700 (PDT) In-Reply-To: (Cecil Westerhof's message of "Thu, 14 Sep 2017 08:39:41 +0200") 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: Cecil Westerhof Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thursday, 14 Sep 2017 at 08:39, Cecil Westerhof wrote: [...] > But when I then format the table, > the last heading goes from right aligned to left aligned: > |-----------+-----------+---------------| > | 1 | Text | 2 | > |-----------+-----------+---------------| > | Some text | Some more | And even more | > | Some text | Some more | And even more | > |-----------+-----------+---------------| > > =E2=80=8BWhat is happening here? > > I=E2=80=8B am using: Org-mode version 8.2.10. Org tries to guess what the alignment should be: columns with numbers will be right-aligned; with text they will be left-aligned. Maybe org did a count and decided this was a text column after all once you added the new row. You can specify the actual alignment by using in a separate row, e.g.: |-----------+-----------+---------------| | 1 | Text | 2 | | | | | |-----------+-----------+---------------| | Some text | Some more | And even more | | Some text | Some more | And even more | |-----------+-----------+---------------| HTH, eric =2D-=20 : Eric S Fraga via Emacs 26.0.50, Org release_9.1-57-gc6e563 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWbo8VgAKCRDIkZPY//z2 fQgNAJ9444yucdCqbz8y9Qc3mSNul19izwCfcuA/GUFRihuy3unPOvaRu+lN7No= =pE9v -----END PGP SIGNATURE----- --=-=-=--