[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Regression in org-table-recalculate-buffer-tables and #+startup:
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Regression in org-table-recalculate-buffer-tables and #+startup: shrink [devel branch] |
Date: |
Tue, 23 Apr 2019 10:37:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
Kaushal Modi <address@hidden> writes:
> Lately (past week), I have noticed a failure for all functions to run from
> my org-mode-hook, because I got an error like:
>
> File mode specification error: (user-error Not at a table)
>
> This error happens if:
>
> 1. I call M-x org-table-recalculate-buffer-tables (I have that function in
> my org-mode-hook).
> 2. The Org buffer has #+startup: shrink, and
> 3. An Org table with column width cookies has #+caption.
>
> Here's a minimal reproducible example:
>
> =====
>
> #+title: User-error when trying to recalculate tables in buffer with shrink
> enabled
>
> #+startup: shrink
>
> #+caption: Foo
> | <25> |
>
> | Foo |
> =====
>
> 1. Save above to an Org file, close and reopen that file so that #+startup
> gets evaluated.
> 2. M-x org-table-recalculate-buffer-tables and you will get the
> "user-error: Not at a table" error.
Fixed. Thank you.
Regards,
--
Nicolas Goaziou