Hi all,
Upon further reflection I came to the following conclusions:
There are multiple things at play here (I refrain from using the word "issue"):
- emacs resolving or not resolving true path upon visiting files.
This is not at all org-related.
- org-publish calling `file-truename' inconsistently during the
publishing process.
This might or might not be an issue. I leave it up to your discretion.
The trivial solution to my problem:
instead of
(let ((base-dir default-directory)) ...)
use
(let ((base-dir (file-truename default-directory))) ...)
I'll leave the repo on my github "As is" for future reference.
BR,
Bence