From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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 Message-ID: <87wpcgd6ti.fsf@nicolasgoaziou.fr> References: <87efyo516e.fsf@gmx.net> <878toweuae.fsf@nicolasgoaziou.fr> <877f4g4xxw.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgzQH-0008SX-Fk for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 14:51:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgzQG-0008C0-KS for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 14:51:29 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:54313) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cgzQG-0008Bi-EN for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 14:51:28 -0500 In-Reply-To: <877f4g4xxw.fsf@gmx.net> (Rainer Hansen's message of "Thu, 23 Feb 2017 18:30:19 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Rainer Hansen Cc: emacs-orgmode@gnu.org Rainer Hansen 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 > <> > #+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,