emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: Org table columns without width cookies get shrunk on TAB
Date: Wed, 14 Feb 2018 15:58:35 +0000	[thread overview]
Message-ID: <CAFyQvY0XUxTPw8+B7W5OsL7uCM-gMwtbra8Z29MqZPwUbi3Q3A@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1307 bytes --]

Hello,

Today I realized that Org table columns without width cookies get
auto-shrunk on hitting TAB:

As far as I remember, the cookie-less columns did not shrink on TAB that
way, when this feature got introduced.

Here's a minimal example:

=====
#+title: Width cookies present only on columns that need to be shrunk
#+startup: shrink

|----------+----------------------------------------------------------|
|          | <15>                                                     |
| Column 1 | Column 2                                                 |
|----------+----------------------------------------------------------|
|        1 | Some content that's longer than the column width cookie. |
|----------+----------------------------------------------------------|
=====

It looks like this on startup:

[image: image.png]
Upon hitting TAB with point in row 1, col 1, it becomes:

[image: image.png]

C-h c TAB shows that <tab> is bound to org-cycle (as expected).

Org version (master branch): Org mode version 9.1.6
(release_9.1.6-463-g551d2f @
/home/kmodi/usr_local/apps/6/emacs/emacs-26/share/emacs/site-lisp/org/) --
https://code.orgmode.org/bzg/org-mode/commit/551d2f1fe7ad797806ed51c63d45553ef1d6a777

Emacs version: 26.0.91

I believe this is a bug. Can this please be fixed?
-- 

Kaushal Modi

[-- Attachment #1.2: Type: text/html, Size: 2036 bytes --]

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 11518 bytes --]

[-- Attachment #3: image.png --]
[-- Type: image/png, Size: 11218 bytes --]

             reply	other threads:[~2018-02-14 15:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-14 15:58 Kaushal Modi [this message]
2018-02-14 17:50 ` Org table columns without width cookies get shrunk on TAB Nicolas Goaziou
2018-02-14 17:54   ` Kaushal Modi
2018-02-14 19:19     ` Nicolas Goaziou
2018-02-15  9:25       ` Eric S Fraga
2018-02-15 12:05         ` Kaushal Modi
2018-02-15 12:41           ` Eric S Fraga
2018-02-14 18:58   ` Kaushal Modi
2018-02-15  9:32 ` Feature request: shrink according to alignment (was Re: Org table columns without width cookies get shrunk on TAB) Eric S Fraga
2018-02-15 13:44   ` Nicolas Goaziou
2018-02-15 14:04     ` Julius Dittmar
2018-02-19  9:58       ` Nicolas Goaziou
2018-02-19 11:29         ` Julius Dittmar
2018-02-20 15:16           ` Eric S Fraga
2018-02-21 11:45           ` Nicolas Goaziou
2018-02-21 12:11             ` Julius Dittmar
2018-02-15 16:01     ` Eric S Fraga

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=CAFyQvY0XUxTPw8+B7W5OsL7uCM-gMwtbra8Z29MqZPwUbi3Q3A@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).