> On Mar 28, 2020, at 3:00 PM, Joost Kremers <joostkrem...@fastmail.fm> wrote:
>
> Hi list,
>
> I'm having trouble tangling an Org file. Basically, if I put a =:tangle=
> header argument in a =#+PROPERTY= line at the top of the file or in a
> =:PROPERTIES:= block under a header, it is not picked up and the code blocks
> to which (I think) it should apply are not tangled. Only when I put a
> =:tangle= argument at the top of the source block itself is the source block
> tangled.
>
> Is this expected behaviour? Am I doing something wrong?
IIUC what you did, then yes and yes.
This is the accepted idiom:
#+PROPERTY: header-args :tangle yes
Remember that if you add or change that line you need to update with C-c C-c or
`org-mode-restart'.
Maybe you omitted the `header-args'. That used to be correct syntax but was
obsoleted some time back.
See (info "(org) Using Header Arguments")
HTH,
Chuck
>
> Emacs 26.3, Org 9.3.6.
>
> TIA
>
> Joost
>
>
> --
> Joost Kremers
> Life has its moments
>
>