From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Alan Morgan <alanxoc3@gmail.com>
Cc: emacs-orgmode@gnu.org
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 [thread overview]
Message-ID: <87y3iz4o1p.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAHB+YnYVa+kGQtK6qw=dudxv5QnLwgXFtT88PLx9-Q0ygAyN3Q@mail.gmail.com> (Alan Morgan's message of "Mon, 19 Feb 2018 01:23:06 -0700")
Hello,
Alan Morgan <alanxoc3@gmail.com> 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
prev parent reply other threads:[~2018-03-10 21:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-19 8:23 noweb-ref within section property for emacs-lisp [9.0.3 (9.0.3-elpa @ /home/alanxoc3/.emacs.d/elpa/org-20161224/)] Alan Morgan
2018-03-10 21:29 ` Nicolas Goaziou [this message]
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=87y3iz4o1p.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=alanxoc3@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).