emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org table columns without width cookies get shrunk on TAB
@ 2018-02-14 15:58 Kaushal Modi
  2018-02-14 17:50 ` Nicolas Goaziou
  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
  0 siblings, 2 replies; 17+ messages in thread
From: Kaushal Modi @ 2018-02-14 15:58 UTC (permalink / raw)
  To: emacs-org list


[-- 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 --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2018-02-21 12:12 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-14 15:58 Org table columns without width cookies get shrunk on TAB Kaushal Modi
2018-02-14 17:50 ` 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

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).