From: Erik Iverson <eriki@ccbr.umn.edu>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code
Date: Fri, 28 May 2010 13:41:08 -0500 [thread overview]
Message-ID: <4C000E44.9050307@ccbr.umn.edu> (raw)
In-Reply-To: <88DCAA98-9A9A-4010-807F-2430121BAF22@tsdye.com>
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
next prev parent reply other threads:[~2010-05-28 18:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-28 14:55 [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code Eric Schulte
2010-05-28 15:43 ` Erik Iverson
2010-05-28 15:47 ` Erik Iverson
2010-05-28 15:57 ` Eric Schulte
2010-05-28 16:24 ` Erik Iverson
2010-05-28 18:08 ` Thomas S. Dye
2010-05-28 18:41 ` Erik Iverson [this message]
2010-05-28 19:17 ` Thomas S. Dye
2010-06-17 3:57 ` Eric Schulte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C000E44.9050307@ccbr.umn.edu \
--to=eriki@ccbr.umn.edu \
--cc=emacs-orgmode@gnu.org \
--cc=tsd@tsdye.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.