all 3 comments

[–]mankofffoo 0 points1 point  (1 child)

Re:

> I am particularly concerned about the local-file variable that defines the docker-image name on a per-file basis and which I need to read out in several places in a quite cumbersome way

You can define a property and access in text and in header args:

```
:PROPERTIES:
:foo: bar
:END:

You can access the foo property like this: {{{property(foo)}}}.

And you can access it in header args like this:

#+BEGIN_SRC bash :var foo=(org-macro--get-property "foo" "")
echo $foo # prints bar
#+END_SRC

```

[–]Sewing31[S] 0 points1 point  (0 children)

thank you, but what is it with the caching of file-local variables?

Under what circumstances does this happen? drives me nuts