From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: noweb-ref within section property for emacs-lisp [9.0.3 (9.0.3-elpa @ /home/alanxoc3/.emacs.d/elpa/org-20161224/)] Date: Sat, 10 Mar 2018 22:29:38 +0100 Message-ID: <87y3iz4o1p.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eum3l-00006q-3v for emacs-orgmode@gnu.org; Sat, 10 Mar 2018 16:29:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eum3h-0005K2-J2 for emacs-orgmode@gnu.org; Sat, 10 Mar 2018 16:29:45 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:57853) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eum3h-0005Ji-Bs for emacs-orgmode@gnu.org; Sat, 10 Mar 2018 16:29:41 -0500 In-Reply-To: (Alan Morgan's message of "Mon, 19 Feb 2018 01:23:06 -0700") 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: Alan Morgan Cc: emacs-orgmode@gnu.org Hello, Alan Morgan writes: > The bug is fairly self explanatory. noweb-ref works fine in elisp when > the argument is put in the code block, but it doesn't work when using > the property section things. Here is a quick example (divided by lines): > > ------------------------------ > This code block will give me an error, > saying that the function wasn't defined or whatever. :( > > #+BEGIN_SRC emacs-lisp :noweb yes > <> > #+END_SRC > > > * Testing the noweb-ref thing > :PROPERTIES: > :header-args:emacs-lisp: :noweb-ref library > :END: > > I want these code blocks to be put together. But it don't work bro! > > #+BEGIN_SRC emacs-lisp > (defun do-something () (print "yes")) > #+END_SRC > > #+BEGIN_SRC emacs-lisp > (defun do-something-else () (print "no")) > #+END_SRC > > ------------------------------ I cannot reproduce it with a recent Org. Could you update yours and try again? Thank you. Regards, -- Nicolas Goaziou