Just to make sure we don't lose these idea, I've posed them up in the
babel dev repo
http://eschulte.github.com/babel-dev/PROPOSED-tangle-entire-org-mode-file-in-comments.html
Best -- Eric
"Thomas S. Dye" writes:
> Hi Erik,
>
> I am *not* a programmer so expect considerable chaff for every kern
Hi Erik,
I am *not* a programmer so expect considerable chaff for every kernel
of wheat (no wheat guaranteed).
I would pass the function an org-mode link then write out the contents
pointed at by the link inside a named code block, with each line
preceded by an optional comment character.
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 ou
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.
Another way to get pieces of the org-mode file into the
One more idea I had was that it might be interesting to be able to
maintain properties for headlines that indicate the headline/body
should be included as a comment in a specific source file. The reason
I say this is that even if I write my code in org-mode, and in effect
comment the code using
Hi Erik,
explanation below
Erik Iverson writes:
> Eric Schulte wrote:
>> Hi,
>>
>> The insertion of automatically generated comments in tangled source code
>> is now controlled by the new `org-babel-tangle-w-comments' variable.
>> Setting this variable to non-nil will allow org-babel to insert
##
[[file:~/private/R-org-babel/test.org::*cube%20lets%20go%20to%20the][block-2]]
cube <- function(x) {
# a test comment
x * x * x * x
}
## block-2 ends here
So, you mean that all three of the comments would no longer appear by
default? Or you mean that only my inline function commen
Eric Schulte wrote:
Hi,
The insertion of automatically generated comments in tangled source code
is now controlled by the new `org-babel-tangle-w-comments' variable.
Setting this variable to non-nil will allow org-babel to insert comments
for those languages with comment support.
Can you bri
Hi,
The insertion of automatically generated comments in tangled source code
is now controlled by the new `org-babel-tangle-w-comments' variable.
Setting this variable to non-nil will allow org-babel to insert comments
for those languages with comment support.
This changes the default behavior.