emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [BABEL] Tangling to a hierarchy of files?


From: Rainer M Krug
Subject: Re: [Orgmode] [BABEL] Tangling to a hierarchy of files?
Date: Thu, 20 Jan 2011 11:06:15 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14pre) Gecko/20110118 Lightning/1.0b2 Shredder/3.1.8pre

-----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:      address@hidden

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-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]