Hi friends,

Hope I'm sending to the correct place -

I've just completed a rewrite of the Org Babel detangling facility.  The work 
should give a *full support* of detangling with Noweb references.  The the 
actual code (along with the motivation, design, and much more) is in the 
attached org-babel-detangle.org file.  The other org file contains some basic 
tests for demonstration.

To try them out:
 1. Open org-babel-detangle.org and tangle everything
 2. Evaluate the produced new-ob-core.el and new-ob-tangle.el
 3. Goto org-babel-detangle-tests.org, and run the block in "Lib references", 
which loads a demo block into =org-babel-library-of-babel=
 4. Tangle everything in org-babel-detangle-tests.org, and you shall be able to 
see a demo.el
 5. Goto demo.el, run =org-babel-detangle=
What's included:
 1. A thorough analysis of Org Babel tangle and Noweb references.  
org-babel-detangle.org also tangles to case-analysis.el and tangle-bug.el, for 
demonstration purpose.
 2. Some reasonable extension to Org Babel tangle, to support detangling.
 3. A complete rewrite of the detangling facilities.
I'm not familiar with open-source contribution, nor do I have much time on 
this, but I do hope this feature can get into Org upstream ASAP.  Anyone is 
welcomed and appreciated to take my work and do anything necessary to make it 
towards the goal.

Thanks,
MT

Attachment: org-babel-detangle.org
Description: Binary data

Attachment: org-babel-detangle-tests.org
Description: Binary data

Reply via email to