From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Hudson Subject: Dynamic tangle target? Date: Wed, 21 Sep 2016 20:13:08 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmmxX-0006dn-6p for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 15:13:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmmxV-0004cn-Pi for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 15:13:30 -0400 Received: from mail-yb0-x243.google.com ([2607:f8b0:4002:c09::243]:36362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmmxV-0004cZ-LY for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 15:13:29 -0400 Received: by mail-yb0-x243.google.com with SMTP id u125so2028773ybg.3 for ; Wed, 21 Sep 2016 12:13:29 -0700 (PDT) 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: emacs orgmode-mailinglist 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