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 17:39:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello,

Rainer Hansen <address@hidden> writes:

> I have tried the following example of using noweb-ref:
>
> #+BEGIN_SRC sh :tangle yes :noweb yes :shebang #!/bin/sh
> <<fullest-disk>>
> #+END_SRC
>
> * the mount point of the fullest disk
>
> ** query all mounted disks
>
> #+HEADER: :noweb-ref fullest-disk
> #+BEGIN_SRC sh
>         df \
> #+END_SRC
>
>
> ** strip the header row
>   :PROPERTIES:
>   :noweb-ref: fullest-disk
>   :END:
>
> #+BEGIN_SRC sh :noweb yes
>         |sed '1d' \
> #+END_SRC
>
>
>
> It was mentioned more than 5 years ago as creating problems:
> https://lists.gnu.org/archive/html/emacs-orgmode/2011-12/msg00825.html
>
> Now I got the same problem as mentioned in the post of that time - the
> created file contains only
>
> #!/bin/sh df \
>
> Missing is the second block.
>
> Any ideas why?

See "Incompatible changes > Old Babel header properties are no longer
supported" in ORG-NEWS.

Regards,

-- 
Nicolas Goaziou



reply via email to

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