emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Rainer Hansen <rainer.hansen@gmx.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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	[thread overview]
Message-ID: <87wpcgd6ti.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <877f4g4xxw.fsf@gmx.net> (Rainer Hansen's message of "Thu, 23 Feb 2017 18:30:19 +0100")

Rainer Hansen <rainer.hansen@gmx.net> 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	other threads:[~2017-02-23 19:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23 16:20 Problem with noweb-ref property [9.0.5 (9.0.5-elpaplus @ /home/rainer/.emacs.d/elpa/org-plus-contrib-20170210/)] Rainer Hansen
2017-02-23 16:39 ` Nicolas Goaziou
2017-02-23 17:30   ` Rainer Hansen
2017-02-23 19:51     ` Nicolas Goaziou [this message]
2017-02-24  8:08       ` Rainer Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wpcgd6ti.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=rainer.hansen@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).