From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: :noweb-ref property inheritance failure? Date: Tue, 18 Apr 2017 19:04:35 -0700 Message-ID: References: <65201F98-7A44-4521-938F-DB19D718C170@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0ez5-000647-JW for emacs-orgmode@gnu.org; Tue, 18 Apr 2017 22:04:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0ez2-0001vD-FR for emacs-orgmode@gnu.org; Tue, 18 Apr 2017 22:04:43 -0400 Received: from outbound.ucsd.edu ([132.239.0.73]:39411 helo=iport-bcv2-out.ucsd.edu) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0ez2-0001uh-2w for emacs-orgmode@gnu.org; Tue, 18 Apr 2017 22:04:40 -0400 In-Reply-To: <65201F98-7A44-4521-938F-DB19D718C170@gmail.com> 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: D Bro Cc: emacs-orgmode@gnu.org On Tue, 18 Apr 2017, D Bro wrote: > Both 26.0 and 25.1 on OS X 10.12 via homebrew, using the Spacemacs configuration. > > I recently tried the weaving technique from > http://orgmode.org/manual/noweb_002dref.html#noweb_002dref > : [snip] Using M-x org-lint on your example gives 3 high Unknown header argument ":classname" 12 high Incorrect location for PROPERTIES drawer The latter is because the drawer is not immediately after a headline and is disregarded: > **Let's see what our code-weaving produces > :PROPERTIES: > :header-args: :noweb-ref testdemo2 > :END: If you put a space between `**' and `L[...]' the line becomes a valid headline. Then the TestDemo2 src block produces ,---- | public class Yo { | public static void main (Args[]) { | return "The test worked!"; | // | }} | cat TestDemo2.java `---- on ASCII export. You can ignore the message about :classname, which comes from ob-java not defining it as a header-arg. HTH, Chuck