Re: [O] Illiterate programming question

2011-04-01 Thread Eric Schulte
Nick Dokos writes: > Sean O'Halpin wrote: > >> On Thu, Mar 31, 2011 at 9:13 PM, Nick Dokos wrote: >> > Sean O'Halpin wrote: >> > >> >> On Wed, Mar 30, 2011 at 11:52 PM, Eric Schulte >> >> wrote: >> >> > Babel does have a way to bring changes back from pure source code into >> >> > code block

Re: [O] Illiterate programming question

2011-03-31 Thread Nick Dokos
Sean O'Halpin wrote: > On Thu, Mar 31, 2011 at 9:13 PM, Nick Dokos wrote: > > Sean O'Halpin wrote: > > > >> On Wed, Mar 30, 2011 at 11:52 PM, Eric Schulte > >> wrote: > >> > Babel does have a way to bring changes back from pure source code into > >> > code blocks in an Org-mode document.  Whi

Re: [O] Illiterate programming question

2011-03-31 Thread Sean O'Halpin
On Thu, Mar 31, 2011 at 9:13 PM, Nick Dokos wrote: > Sean O'Halpin wrote: > >> On Wed, Mar 30, 2011 at 11:52 PM, Eric Schulte >> wrote: >> > Babel does have a way to bring changes back from pure source code into >> > code blocks in an Org-mode document.  While it isn't perfect (especially >> >

Re: [O] Illiterate programming question

2011-03-31 Thread Nick Dokos
Sean O'Halpin wrote: > On Wed, Mar 30, 2011 at 11:52 PM, Eric Schulte wrote: > > Babel does have a way to bring changes back from pure source code into > > code blocks in an Org-mode document. While it isn't perfect (especially > > if you make extensive use of noweb references or variables) the

Re: [O] Illiterate programming question

2011-03-31 Thread Sean O'Halpin
On Wed, Mar 30, 2011 at 11:52 PM, Eric Schulte wrote: > Babel does have a way to bring changes back from pure source code into > code blocks in an Org-mode document. While it isn't perfect (especially > if you make extensive use of noweb references or variables) there are > mechanisms to maintain

Re: [O] Illiterate programming question

2011-03-30 Thread Eric Schulte
Robert Goldman writes: > On 3/30/11 Mar 30 -4:33 PM, Nick Dokos wrote: >> Robert Goldman wrote: >> >>> I would like to do the opposite of literate programming (hence the >>> subject line!): >>> >>> I would like to pull into my org file snippets from a code file. I know >>> that org-mode will l

Re: Re: [O] Illiterate programming question

2011-03-30 Thread chris . m . malone
You could probably hack something up with a shell source code block that uses sed to find and display text between two delimiters, and then dump the results to the org-mode file. On Mar 30, 2011 5:44pm, Robert Goldman wrote: On 3/30/11 Mar 30 -4:33 PM, Nick Dokos wrote: > Robert Goldman

Re: [O] Illiterate programming question

2011-03-30 Thread Robert Goldman
On 3/30/11 Mar 30 -4:33 PM, Nick Dokos wrote: > Robert Goldman wrote: > >> I would like to do the opposite of literate programming (hence the >> subject line!): >> >> I would like to pull into my org file snippets from a code file. I know >> that org-mode will let me import /entire/ source code

Re: [O] Illiterate programming question

2011-03-30 Thread Erik Iverson
Nick Dokos wrote: Robert Goldman wrote: I would like to do the opposite of literate programming (hence the subject line!): I would like to pull into my org file snippets from a code file. I know that org-mode will let me import /entire/ source code files. Is there some way to say "Import

Re: [O] Illiterate programming question

2011-03-30 Thread Nick Dokos
Robert Goldman wrote: > I would like to do the opposite of literate programming (hence the > subject line!): > > I would like to pull into my org file snippets from a code file. I know > that org-mode will let me import /entire/ source code files. Is there > some way to say "Import the region

[O] Illiterate programming question

2011-03-30 Thread Robert Goldman
I would like to do the opposite of literate programming (hence the subject line!): I would like to pull into my org file snippets from a code file. I know that org-mode will let me import /entire/ source code files. Is there some way to say "Import the region of this file between these two delim