Here is what I was looking for: http://orgmode.org/manual/noweb_002dref.html *** Windows [fn:39] :PROPERTIES: :noweb-ref: uxo-decision :END: Menu bars are not required [fn:38] #+BEGIN_SRC emacs-lisp (menu-bar-mode 0) #+END_SRC On Wed, Mar 5, 2014 at 4:24 PM, Grant Rettke wrote: > Exactly I'm doing a > > #+BEGIN_SRC emacs-lisp :tangle .emacs.el :noweb tangle > > What I'm aiming for is the case where you have lots of code blocks > interspersed > with written language... and want them to accumulate under a single > identifier. I will keep > digging. > > > On Wed, Mar 5, 2014 at 3:39 PM, Thomas S. Dye wrote: > >> Aloha Grant, >> >> I'm not certain what you're after. >> >> From the Org mode manual: >> >> * outline header >> :PROPERTIES: >> :header-args: :cache yes >> :END: >> >> Perhaps >> >> :header-args: :tangle myfile.el >> >> All the best, >> Tom >> >> Grant Rettke writes: >> >> > Hi, >> > >> > My goal is to intersperse code blocks with comments about them like >> this: >> > >> > ================================== >> > Menu bars are not required [fn:38] >> > #+NAME: uxo-decision1 >> > #+BEGIN_SRC emacs-lisp >> > (menu-bar-mode 0) >> > #+END_SRC >> > >> > Don't need auto-save >> > #+NAME: uxo-decision2 >> > #+BEGIN_SRC emacs-lisp >> > (disable-auto-save) >> > #+END_SRC >> > ================================== >> > And replace it with something like this: >> > ================================== >> > *** Setup >> > :PROPERTY: >> > :name: uxo-decision >> > :END >> > >> > Menu bars are not required [fn:38] >> > #+BEGIN_SRC emacs-lisp >> > (menu-bar-mode 0) >> > #+END_SRC >> > >> > Don't need auto-save >> > #+BEGIN_SRC emacs-lisp >> > (disable-auto-save) >> > #+END_SRC >> > ================================== >> > >> > Basically I'm going through a config file and want write a lot but to be >> > able to refer to all of the >> > snippets as a single ended and tangle them accordingly. What is the >> right >> > way to do this? >> > >> > My apologies for having to ask this; for some bizarre reason I am not >> > finding the example >> > to do this though I know I have read it. >> > >> > Regards, >> > >> > -- >> > Grant Rettke | ACM, AMA, COG, IEEE >> > gcr@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 >> > Hi, >> > >> > My goal is to intersperse code blocks with comments about them like >> > this: >> > >> > ================================== >> > Menu bars are not required [fn:38] >> > #+NAME: uxo-decision1 >> > #+BEGIN_SRC emacs-lisp >> > (menu-bar-mode 0) >> > #+END_SRC >> > >> > Don't need auto-save >> > #+NAME: uxo-decision2 >> > #+BEGIN_SRC emacs-lisp >> > (disable-auto-save) >> > #+END_SRC >> > ================================== >> > And replace it with something like this: >> > ================================== >> > *** Setup >> > :PROPERTY: >> > :name: uxo-decision >> > :END >> > >> > Menu bars are not required [fn:38] >> > #+BEGIN_SRC emacs-lisp >> > (menu-bar-mode 0) >> > #+END_SRC >> > >> > Don't need auto-save >> > #+BEGIN_SRC emacs-lisp >> > (disable-auto-save) >> > #+END_SRC >> > ================================== >> > >> > Basically I'm going through a config file and want write a lot but to >> > be able to refer to all of the >> > snippets as a single ended and tangle them accordingly. What is the >> > right way to do this? >> > >> > My apologies for having to ask this; for some bizarre reason I am not >> > finding the example >> > to do this though I know I have read it. >> > >> > Regards, >> >> -- >> Thomas S. Dye >> http://www.tsdye.com >> > > > > -- > Grant Rettke | ACM, AMA, COG, IEEE > gcr@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 > -- Grant Rettke | ACM, AMA, COG, IEEE gcr@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