From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: Broken org-mode "Column width and alignment" in latest version Date: Fri, 08 Dec 2017 22:28:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c033d1c9a6ba7055fdbb3ac" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNR81-0002Ya-IA for emacs-orgmode@gnu.org; Fri, 08 Dec 2017 17:28:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNR80-0001bq-Ca for emacs-orgmode@gnu.org; Fri, 08 Dec 2017 17:28:21 -0500 Received: from mail-yw0-x22c.google.com ([2607:f8b0:4002:c05::22c]:37634) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eNR80-0001bc-5f for emacs-orgmode@gnu.org; Fri, 08 Dec 2017 17:28:20 -0500 Received: by mail-yw0-x22c.google.com with SMTP id v190so4804308ywg.4 for ; Fri, 08 Dec 2017 14:28:20 -0800 (PST) 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: Ruy Exel Cc: emacs-orgmode@gnu.org --94eb2c033d1c9a6ba7055fdbb3ac Content-Type: text/plain; charset="UTF-8" On Fri, Dec 8, 2017 at 5:21 PM Ruy Exel wrote: > The "Column width and alignment" feature of org-mode ( > http://orgmode.org/manual/Column-width-and-alignment.html) is not working > in the latest GIT version (as of Fri Dec 8 20:06:59 BRST 2017). > > I have just tested it in the table > > |---+------------------------------| > | | <6> | > | 1 | one | > | 2 | two | > | 3 | This is a long chunk of text | > | 4 | four | > |---+------------------------------| > > which is actually the example given in the manual. It fails under the > latest version (column width is unchanged upon alignment) > I am assuming you are using the master/development version of Org from git? If so, see this in ORG-NEWS: *** =align= STARTUP value no longer narrow table columns Columns narrowing (or shrinking) is now dynamic. See [[*Dynamically narrow table columns]] for details. In particular, it is decoupled from aligning. If you need to automatically shrink columns upon opening an Org document, use =shrink= value instead, or in addition to align: #+BEGIN_EXAMPLE ,#+STARTUP: align shrink #+END_EXAMPLE > but it works OK in an older version (Org version 7.9.3f - GNU Emacs 24.3). > Wow! That's a very old version! As you are making this big version upgrade, it would be worthwhile to go through the whole of http://orgmode.org/cgit.cgi/org-mode.git/tree/etc/ORG-NEWS and make a note of new features and few breaking changes since that version. -- Kaushal Modi --94eb2c033d1c9a6ba7055fdbb3ac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Dec 8,= 2017 at 5:21 PM Ruy Exel <ruyexel@= gmail.com> wrote:
The "Column width and alignment" feature of or= g-mode (http://orgmode.org/manual/Column-width-and-alignment.h= tml) is not working in the latest GIT version (as of Fri Dec 8 20:06:59= BRST 2017).

I have just tested it in the table

=C2=A0 |---+--------------------------= ----|
=C2=A0 |=C2=A0=C2=A0 | <6>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
=C2=A0 | 1 | one=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
=C2= =A0 | 2 | two=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 |
=C2=A0 | 3 | This is a long chunk of text |
=C2=A0 = | 4 | four=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 |
=C2=A0 |---+------------------------------|

which= is actually the example given in the manual.=C2=A0 It fails under the late= st version (column width is unchanged upon alignment)

I am assuming you are using the master/develop= ment version of Org from git? If so, see this in ORG-NEWS:

*** =3Dalign=3D STARTUP value no longer narrow table columns
Columns narrowing (or shrinking) is now dynamic. See [[*Dynamically
na= rrow table columns]] for details. In particular, it is decoupled from
al= igning.

If you need to automatically shrink columns upon opening an = Org
document, use =3Dshrink=3D value instead, or in addition to align:
#+BEGIN_EXAMPLE
,#+STARTUP: align shrink
#+END_EXAMPLE


=C2=A0
=
but it works OK in an older version (Org versio= n 7.9.3f - GNU Emacs 24.3).

Wow! That's a very old version!

As you = are making this big version upgrade, it would be worthwhile to go through t= he whole of http://orgmode.org/cgit.cgi/org-mode.git/tree/etc/ORG-NEWS and = make a note of new features and few breaking changes since that version.
--

Kaushal Modi

--94eb2c033d1c9a6ba7055fdbb3ac--