emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Problem with noweb-ref property [9.0.5 (9.0.5-elpaplus @ /home/r


From: Nicolas Goaziou
Subject: Re: [O] Problem with noweb-ref property [9.0.5 (9.0.5-elpaplus @ /home/rainer/.emacs.d/elpa/org-plus-contrib-20170210/)]
Date: Thu, 23 Feb 2017 20:51:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Rainer Hansen <address@hidden> writes:

> However, I have still problems. I have adapted the example,
> http://orgmode.org/manual/noweb_002dref.html#noweb_002dref,

I fixed it.

> in the
> Orgmode handbook to the changed Babel header properties. However, the
> generated file contained only "#!/bin/sh". I have activated property
> inheritance for "noweb-ref" and moving the cursor on the #+BEGIN_SRC sh
> lines shows that they have ":noweb-ref: fullest-disk" as header
> argument.
>
> org-use-property-inheritance is '("noweb-ref")

This is useless. "noweb-ref" is not a property, and header-args are
always inherited IIRC.

> Here is the changed code from the Org mode manual:
>
> #+BEGIN_SRC sh :tangle yes :noweb yes :shebang #!/bin/sh
>   <<fullest-disk>>
> #+END_SRC
>
> * the mount point of the fullest disk
>   :PROPERTIES:
>   :header-args: :noweb-ref: fullest-disk

It should be

  :header-args: :noweb-ref fullest-disk

Regards,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]