From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [BABEL] Tangling to a hierarchy of files? Date: Thu, 20 Jan 2011 11:06:15 +0100 Message-ID: <4D380917.6040709@gmail.com> References: <87tyh5icir.fsf@gmail.com> <4D36B76D.9020502@gmail.com> <87vd1k3i62.fsf@gmail.com> <87bp3c1c0e.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=41296 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfrPJ-0007tf-HX for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 05:06:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfrPI-0007i1-Af for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 05:06:21 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:46476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfrPI-0007hn-2Z for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 05:06:20 -0500 Received: by wyj26 with SMTP id 26so515275wyj.0 for ; Thu, 20 Jan 2011 02:06:19 -0800 (PST) In-Reply-To: <87bp3c1c0e.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode@gnu.org, Chris Maier , "Charles C. Berry" -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/20/2011 04:37 AM, Eric Schulte wrote: >> >> A customization variable would be fantastic. Could it be done such >> that it could be applied (or not applied, according to taste) to a >> sub-tree of your Org file? That way you could have it disabled on >> whatever code you might be currently working on so you still see the >> error messages if you mistype. Then, when you're satisfied with all >> your tangle paths, you could flip the switch on that sub-tree and have >> Org do everything for you. >> > > This has now been added as a new :mkdirp code block header argument, so > it can be set on the block, subtree, file, language, or global level > (see http://orgmode.org/manual/Using-header-arguments.html). > > #+begin_src language :mkdirp yes :tangle nested/directories/target.ext > code body > #+end_src Sounds perfect for me - thanks. Rainer > > Cheers -- Eric - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel: +33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk04CRcACgkQoYgNqgF2ego39ACaAhYz3GYfAKBODtY8KDJmYIdZ jpQAn0pQNxcCwnzUtQo6m1lugmSIXaDE =Fxrd -----END PGP SIGNATURE-----