emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Ruy Exel <ruyexel@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Broken org-mode "Column width and alignment" in latest version
Date: Fri, 08 Dec 2017 22:28:08 +0000	[thread overview]
Message-ID: <CAFyQvY0H1LqabYdvKdHGx6G3L2kPWPhoaR4GtmCek3hvYcr3xg@mail.gmail.com> (raw)
In-Reply-To: <CAB8Wf+-cBOH+S+JkW_751P_s-CJqTT70FfASOgUoUJepYNkZnw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1596 bytes --]

On Fri, Dec 8, 2017 at 5:21 PM Ruy Exel <ruyexel@gmail.com> 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

[-- Attachment #2: Type: text/html, Size: 2662 bytes --]

  reply	other threads:[~2017-12-08 22:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-08 22:19 Broken org-mode "Column width and alignment" in latest version Ruy Exel
2017-12-08 22:28 ` Kaushal Modi [this message]
     [not found]   ` <CAB8Wf+8JXWuJOrqtumspFak7oW1kcgOoHnbYgPyb7Rk-UC8uZA@mail.gmail.com>
2017-12-09  2:50     ` Kaushal Modi
2017-12-09 18:11       ` Ruy Exel
2017-12-12 20:53         ` Kaushal Modi
2017-12-18 12:57           ` Ruy Exel
2017-12-18 17:37             ` Kaushal Modi

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=CAFyQvY0H1LqabYdvKdHGx6G3L2kPWPhoaR4GtmCek3hvYcr3xg@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ruyexel@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).