[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Buffer local value lost when exporting? (was Evaluate all org ta
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Buffer local value lost when exporting? (was Evaluate all org tables in file before exporting) |
Date: |
Sat, 14 May 2016 10:25:44 +0200 |
Hello,
Kaushal Modi <address@hidden> writes:
> It got it working after setting org-export-allow-bind-keywords to t BUT now
> I need to set the buffer local value twice: (1) Using the Local Variables
> footer style so that that local value is effective when before-save-hook is
> run (2) Using #+BIND so that that value is effective when
> org-export-before-processing-hook is run.
>
> Below is the MWE now:
>
> =====
> | N |
> |---|
> | |
> | |
> | |
> | |
> #+TBLFM: address@hidden
>
> #+BIND: modi/org-table-enable-buffer-wide-recalculation nil
> # Local Variables:
> # modi/org-table-enable-buffer-wide-recalculation: nil
> # End:
> =====
You could cheat and prefix your variable with "org-", e.g.,
"org-modi/...".
You could also try removing the limitation in the code I quoted earlier
so that it really copies all local variables before the export process,
and test if there are some drawbacks to it.
Regards,
--
Nicolas Goaziou