emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment ins


From: Erik Iverson
Subject: Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code
Date: Fri, 28 May 2010 13:41:08 -0500
User-agent: Thunderbird 2.0.0.23 (X11/20090812)



Thomas S. Dye wrote:
Hi Erik,

If the proposed functionality places comments in the source code in whatever order they appear in the org-mode file, then the result will likely frustrate literate programming efforts that rearrange code blocks on tangling.

Yes, thank you for pointing that out.


Another way to get pieces of the org-mode file into the source file as comments might be with a little helper function, org-babel-copy-subtree-to-commented-code. The source blocks could be named so the literate programming facilities of org-babel could work with them.

I'm not following this; could you provide a minimal pseudo-example of how you see this working in practice?

Thanks!
Erik



reply via email to

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