[O] [Babel] Detangling with Noweb references.

2014-11-22 Thread aditya siram
Hi all,
I would like detangling to work even where there are Noweb references in
code chunks.

My reason for this is that I've have hit the following case several times
and haven't found a satisfactory answer yet:
1. I would like to break up the code within braces or parens into their own
chunks
2. I would like to be able to detangle the code in those chunks. This
effectively means ( I think ) that Noweb style references are not a
possibility currently.
3. I don't want chunks that simply open and close parens/braces.

An example might look like:
method {
code;
code;
/* --- Chunk 1 --- */
   
/* --- End --- */
code;
/* --- Chunk 2 --- */
   ...
/* --- End --- */
}

Can anyone think of an alternative. And if not does anyone have any
interest in this functionality or is someone already working on  this?

Thanks!
-deech


Re: [O] [Babel] Detangling with Noweb references.

2014-11-22 Thread Grant Rettke
http://orgmode.org/manual/prologue.html#prologue

and

http://orgmode.org/manual/epilogue.html#epilogue

come to mind but I am not sure whether that applies to your case or not.

On Sat, Nov 22, 2014 at 2:06 PM, aditya siram aditya.si...@gmail.com wrote:
 Hi all,
 I would like detangling to work even where there are Noweb references in
 code chunks.

 My reason for this is that I've have hit the following case several times
 and haven't found a satisfactory answer yet:
 1. I would like to break up the code within braces or parens into their own
 chunks
 2. I would like to be able to detangle the code in those chunks. This
 effectively means ( I think ) that Noweb style references are not a
 possibility currently.
 3. I don't want chunks that simply open and close parens/braces.

 An example might look like:
 method {
 code;
 code;
 /* --- Chunk 1 --- */

 /* --- End --- */
 code;
 /* --- Chunk 2 --- */
...
 /* --- End --- */
 }

 Can anyone think of an alternative. And if not does anyone have any interest
 in this functionality or is someone already working on  this?

 Thanks!
 -deech




-- 
Grant Rettke
g...@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson