From: Philip Hudson <phil.hudson@iname.com>
To: emacs orgmode-mailinglist <emacs-orgmode@gnu.org>
Subject: Dynamic tangle target?
Date: Wed, 21 Sep 2016 20:13:08 +0100 [thread overview]
Message-ID: <CAJ1MqVFqQf6GCq2vgkuzr9-Ttf6viCcZYWET2H3aDyRx=_FwJw@mail.gmail.com> (raw)
AFAICT :tangle takes only "yes", "no", or a literal pathname. How
might I dynamically generate a pathname for :tangle? I suppose what I
want is some kind of escape syntax for eval'ing a Lisp form, like
maybe:
:tangle %(my-dynamic-filename-generator)
Sorry if I'm missing something basic and obvious; I'm new to tangling.
I've been looking for a few days and found nothing so far, and even
though I'm sure the answer is out there, it seemed like at this point
my best bet is just to ask the ML. Might the answer be something to do
with either declaring a variable or using noweb syntax? I'm pretty
much in the dark here.
--
Phil Hudson http://hudson-it.ddns.net
@UWascalWabbit PGP/GnuPG ID: 0x887DCA63
next reply other threads:[~2016-09-21 19:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-21 19:13 Philip Hudson [this message]
2016-09-22 1:06 ` Dynamic tangle target? Charles C. Berry
2016-09-22 19:36 ` Grant Rettke
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ1MqVFqQf6GCq2vgkuzr9-Ttf6viCcZYWET2H3aDyRx=_FwJw@mail.gmail.com' \
--to=phil.hudson@iname.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.