emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] noweb-ref within section property for emacs-lisp [9.0.3 (9.0.3-e


From: Nicolas Goaziou
Subject: Re: [O] 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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Alan Morgan <address@hidden> 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
> <<library>>
> #+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



reply via email to

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