From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: tangling order Date: Tue, 16 Feb 2016 06:42:52 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1143cad62de580052be1a284 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVe1y-0004Ya-1I for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 06:42:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVe1s-0006aM-Vm for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 06:42:57 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:35417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVe1s-0006aB-ON for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 06:42:52 -0500 Received: by mail-wm0-x22f.google.com with SMTP id c200so156355624wme.0 for ; Tue, 16 Feb 2016 03:42:52 -0800 (PST) In-Reply-To: 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: Alan Schmitt Cc: emacs-orgmode --001a1143cad62de580052be1a284 Content-Type: text/plain; charset=UTF-8 I think you are seeing that the blocks are tangled in reverse. If I add a third arbitrary lang it comes in reverse. If they are all the same language, they are in the right order. It looks like org collects by language, so your strategy won't work with org-babel tangle I guess. On Tue, Feb 16, 2016 at 5:19 AM, Alan Schmitt < alan.schmitt@polytechnique.org> wrote: > #+BEGIN_SRC foob :tangle foo.ml > let x = 1 > #+END_SRC > > #+BEGIN_SRC fooa :tangle foo.ml > let x = 2 > #+END_SRC > John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu --001a1143cad62de580052be1a284 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think you are seeing that the= blocks are tangled in reverse. If I add a third arbitrary lang it comes in= reverse.

If they are all the same language, they are in the right order. It look= s like org collects by language, so your strategy won't work with org-b= abel tangle I guess.

On Tue, Feb 16, 2016 at 5:19 AM, Alan Schmitt &l= t;alan.= schmitt@polytechnique.org> wrote:
#+BEGIN_SRC = foob :tangle foo.ml
let x =3D 1
#+END_SRC

#+BEGIN_SRC fooa :tangle foo.ml
let x =3D 2
#+END_SRC



John

---= --------------------------------
Professor John Kitchin=C2=A0
Doherty= Hall A207F
Department of Chemical Engineering
Carnegie Mellon Univer= sity
Pittsburgh, PA 15213
412-268-7803
--001a1143cad62de580052be1a284--