emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Org ignores column-width specifications in tables
@ 2019-02-28 18:29 Galen Menzel
  2019-02-28 18:51 ` Galen Menzel
  2019-02-28 19:02 ` Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: Galen Menzel @ 2019-02-28 18:29 UTC (permalink / raw)
  To: Org Mode

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

Hi all,

I’m seeing that in org 9.2.1 (from org-plus-contrib 20190225) tables 
are not respecting column-width specifications. For example, if I create 
the following table

| Header 1                                         |
| <10>                                             |
| This column should be truncated to 10 characters |

When I align it in org 9.1.9, I get the following:

| Header 1   |
| <10>       |
| This col=> |

But when I align it in 9.2.1, I get

| Header 1                                         |
| <10>                                             |
| This column should be truncated to 10 characters |

Alignment specifications *do* work as expected. It just appears that 
column-width specs are being ignored.

Is anyone else seeing this issue?

Best,

Galen

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

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

* Re: Bug: Org ignores column-width specifications in tables
  2019-02-28 18:29 Bug: Org ignores column-width specifications in tables Galen Menzel
@ 2019-02-28 18:51 ` Galen Menzel
  2019-02-28 19:02 ` Nicolas Goaziou
  1 sibling, 0 replies; 4+ messages in thread
From: Galen Menzel @ 2019-02-28 18:51 UTC (permalink / raw)
  To: Org Mode

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

Oops, forgot to include verbatim markers.

For the following table

```
| Header 1                                         |
| <10>                                             |
| This column should be truncated to 10 characters |
```
When I align it in org 9.1.9, the column display is truncated as 
expected:

```
| Header 1   |
| <10>       |
| This col=> |
```

But when I align it in 9.2.1, the column width is not affected, and I 
get

```
| Header 1                                         |
| <10>                                             |
| This column should be truncated to 10 characters |
```

Thanks,

Galen


On 28 Feb 2019, at 10:29, Galen Menzel wrote:

> Hi all,
>
> I’m seeing that in org 9.2.1 (from org-plus-contrib 20190225) tables 
> are not respecting column-width specifications. For example, if I 
> create the following table
>
> | Header 1                                         |
> | <10>                                             |
> | This column should be truncated to 10 characters |
>
> When I align it in org 9.1.9, I get the following:
>
> | Header 1   |
> | <10>       |
> | This col=> |
>
> But when I align it in 9.2.1, I get
>
> | Header 1                                         |
> | <10>                                             |
> | This column should be truncated to 10 characters |
>
> Alignment specifications *do* work as expected. It just appears that 
> column-width specs are being ignored.
>
> Is anyone else seeing this issue?
>
> Best,
>
> Galen

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

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

* Re: Bug: Org ignores column-width specifications in tables
  2019-02-28 18:29 Bug: Org ignores column-width specifications in tables Galen Menzel
  2019-02-28 18:51 ` Galen Menzel
@ 2019-02-28 19:02 ` Nicolas Goaziou
  2019-02-28 19:07   ` Galen Menzel
  1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2019-02-28 19:02 UTC (permalink / raw)
  To: Galen Menzel; +Cc: Org Mode

Hello,

"Galen Menzel" <galen.menzel@utexas.edu> writes:

> I’m seeing that in org 9.2.1 (from org-plus-contrib 20190225) tables
> are not respecting column-width specifications. For example, if
> I create the following table
>
> | Header 1                                         |
> | <10>                                             |
> | This column should be truncated to 10 characters |
>
> When I align it in org 9.1.9, I get the following:
>
> | Header 1   |
> | <10>       |
> | This col=> |

Narrowing columns is decoupled from alignment. Use `C-c <TAB>` to shrink
or expand it.

Regards,

-- 
Nicolas Goaziou

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

* Re: Bug: Org ignores column-width specifications in tables
  2019-02-28 19:02 ` Nicolas Goaziou
@ 2019-02-28 19:07   ` Galen Menzel
  0 siblings, 0 replies; 4+ messages in thread
From: Galen Menzel @ 2019-02-28 19:07 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Org Mode



On 28 Feb 2019, at 11:02, Nicolas Goaziou wrote:

> Hello,
>
> "Galen Menzel" <galen.menzel@utexas.edu> writes:
>
>> I’m seeing that in org 9.2.1 (from org-plus-contrib 20190225) 
>> tables
>> are not respecting column-width specifications. For example, if
>> I create the following table
>>
>> | Header 1                                         |
>> | <10>                                             |
>> | This column should be truncated to 10 characters |
>>
>> When I align it in org 9.1.9, I get the following:
>>
>> | Header 1   |
>> | <10>       |
>> | This col=> |
>
> Narrowing columns is decoupled from alignment. Use `C-c <TAB>` to 
> shrink or expand it.

Ah I missed that. Works fine as you describe — thanks!

Best,

Galen

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

end of thread, other threads:[~2019-02-28 19:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-28 18:29 Bug: Org ignores column-width specifications in tables Galen Menzel
2019-02-28 18:51 ` Galen Menzel
2019-02-28 19:02 ` Nicolas Goaziou
2019-02-28 19:07   ` Galen Menzel

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