On 2021-04-12 23:38, Nicolas Goaziou wrote: > However, you may try calling `org-export-expand-include-keyword' from > `org-babel-pre-tangle-hook'. Untested.
I've done this in the past and can verify that it works well. That said, it by definition creates cross-talk between org files, with all the potential for name collisions and the like that that implies. One could avoid such problems by adding some kind of prefix to the block names in the included file (maybe "common/" or "xyzzy-"). (Some kind of automatic prefixing on inclusion might be cool.) --Kevin M. Stout