From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [BABEL] Tangling to a hierarchy of files? Date: Wed, 19 Jan 2011 20:37:16 -0700 Message-ID: <87bp3c1c0e.fsf@gmail.com> References: <87tyh5icir.fsf@gmail.com> <4D36B76D.9020502@gmail.com> <87vd1k3i62.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=59765 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PflL8-0002oz-FX for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 22:37:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PflL3-00007z-M0 for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 22:37:38 -0500 Received: from mail-pz0-f41.google.com ([209.85.210.41]:55661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PflL3-00007t-Df for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 22:37:33 -0500 Received: by pzk27 with SMTP id 27so40367pzk.0 for ; Wed, 19 Jan 2011 19:37:32 -0800 (PST) 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: Chris Maier Cc: emacs-orgmode@gnu.org, "Charles C. Berry" , Rainer M Krug > > 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 Cheers -- Eric