From: Timothy <tecosaur@gmail.com>
To: gmauer@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: noweb expansion when eval and not tangle?
Date: Sat, 20 Feb 2021 12:23:31 +0800 [thread overview]
Message-ID: <87lfbjpdqq.fsf@gmail.com> (raw)
In-Reply-To: <CA+pajW+Fn74WOdPNrKga1Kk4VQHy_kuQ8-qcaeNoL+JnP9i6Vg@mail.gmail.com>
George Mauer <gmauer@gmail.com> writes:
> I would like noweb to expand during eval but *not* tangle. Is this possible?
>
> I realize I can achieve the same effect with multiple code blocks but it
> seems an odd asymmetry to not be able to do this directly.
>
> Is it possible and just not documented?
It is indeed, and it's documented in
https://orgmode.org/manual/Noweb-Reference-Syntax.html.
‘eval’
Expansion of noweb syntax references in the body of the code block only before evaluating.
--
Timothy.
prev parent reply other threads:[~2021-02-20 4:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-19 23:00 noweb expansion when eval and not tangle? George Mauer
2021-02-20 4:23 ` Timothy [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=87lfbjpdqq.fsf@gmail.com \
--to=tecosaur@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=gmauer@gmail.com \
/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).