From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: How to collect multiple source blocks with the same name at the same level Date: Wed, 5 Mar 2014 15:14:39 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c1c508301d8204f3e28253 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLJ9F-0005jJ-Mu for emacs-orgmode@gnu.org; Wed, 05 Mar 2014 16:14:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLJ9E-00023M-E0 for emacs-orgmode@gnu.org; Wed, 05 Mar 2014 16:14:41 -0500 Received: from mail-oa0-x233.google.com ([2607:f8b0:4003:c02::233]:59296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLJ9E-00023G-7b for emacs-orgmode@gnu.org; Wed, 05 Mar 2014 16:14:40 -0500 Received: by mail-oa0-f51.google.com with SMTP id i4so1634944oah.38 for ; Wed, 05 Mar 2014 13:14:39 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --001a11c1c508301d8204f3e28253 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, My goal is to intersperse code blocks with comments about them like this: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D And replace it with something like this: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D *** 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D 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, --=20 Grant Rettke | ACM, AMA, COG, IEEE gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson --001a11c1c508301d8204f3e28253 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

My goal is to intersperse code bloc= ks with comments about them like this:

=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D
Menu bars are not required [fn:38]
#+NAME: uxo-decision1
#+BEGIN_SRC emacs-lisp
(menu= -bar-mode 0)
#+END_SRC

Don= 9;t need auto-save
#+NAME: uxo-decision2
#+BEGIN_SRC em= acs-lisp
(disable-auto-save)
#+END_SRC
=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D
And replace it with something like this:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
*** Setup
=C2=A0 :PROPERTY:
=C2=A0 :name: uxo-decision
=C2= =A0 :END

Menu bars are not required [fn:38]
#+BEGIN_SRC emacs-lisp
(menu-bar-mode 0)
#= +END_SRC

Don't need auto-save
#+BEGIN_S= RC emacs-lisp
(disable-auto-save)
#+END_SRC
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Basically I'm going through a config file and want write a lot but to b= e able to refer to all of the
snippets as a single ended and tang= le 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@wisdomandw= onder.com | http://www.wisdomandwonder.com/
=E2=80=9CWisdom begins in wonder.= =E2=80=9D --Socrates
((=CE=BB (x) (x x)) (=CE=BB (x) (x x)))
=E2=80=9CLife has become immeasu= rably better since I have been forced to stop taking it seriously.=E2=80=9D= --Thompson
--001a11c1c508301d8204f3e28253--