emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] How to collect multiple source blocks with the same name at the same


From: Grant Rettke
Subject: [O] How to collect multiple source blocks with the same name at the same level
Date: Wed, 5 Mar 2014 15:14:39 -0600

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
address@hidden | 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]