Exactly I'm doing a#+BEGIN_SRC emacs-lisp :tangle .emacs.el :noweb tangleWhat I'm aiming for is the case where you have lots of code blocks interspersedwith written language... and want them to accumulate under a single identifier. I will keepdigging.On Wed, Mar 5, 2014 at 3:39 PM, Thomas S. Dye <tsd@tsdye.com> 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
Thomas S. Dye
Grant Rettke <gcr@wisdomandwonder.com> 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,
--
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