[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Worg: issue with org-tools page
From: |
Ihor Radchenko |
Subject: |
Re: Worg: issue with org-tools page |
Date: |
Sun, 30 Jul 2023 06:40:57 +0000 |
Max Nikulin <manikulin@gmail.com> writes:
> On 29/07/2023 19:14, Ihor Radchenko wrote:
>> I suspect that there is some misconfiguration of the build.
>
> Despite the .build.yml file file installs the elpa-ess package, it is
> ignored when .org files are processed due to the --quick option in
> publish.sh. Perhaps --no-init-file (-q) will help, but it may cause
> other issues. Alternatively --directory (-L) may be added to specify the
> path to the ess package explicitly. Unfortunately it will make
> publish.sh less portable.
Good catch!
I am not too concerned about portability. We already have
(load "/usr/share/emacs/site-lisp/elpa-src/htmlize-1.56/htmlize.el")
which is as bad as it can go.
> P.S. I am in doubts if it is reasonable to execute all src blocks on
> each build since it requires enough external dependencies. Committer
> should have them installed, so their should provide proper #+results:.
> Perhaps in some cases source blocks may be re-evaluated manually, e.g.
> before releases or when babel files are changed.
publish.sh already takes care about not re-exporting unchanged files.
As for re-evaluating, I see it as a minimal control for validity of WORG
examples. If necessary, we may provide an alternative publish-local.sh
to make things easier for testing locally.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>