Hello,

Kaushal Modi <kaushal.m...@gmail.com> 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

Reply via email to