From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: tangling order Date: Tue, 16 Feb 2016 11:19:43 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVcjV-0003o5-Hd for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 05:19:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVcjS-0003n4-CY for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 05:19:49 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:48031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVcjS-0003mn-2a for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 05:19:46 -0500 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 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I thought the order source blocks were tangled was the order of the file. I just discovered this is not necessarily the case. This file: =2D-8<---------------cut here---------------start------------->8--- #+BEGIN_SRC foob :tangle foo.ml let x =3D 1 #+END_SRC #+BEGIN_SRC fooa :tangle foo.ml let x =3D 2 #+END_SRC =2D-8<---------------cut here---------------end--------------->8--- is tangled to this file =2D-8<---------------cut here---------------start------------->8--- let x =3D 2 let x =3D 1 =2D-8<---------------cut here---------------end--------------->8--- It seems that the language name determines the order of tangling in this case. Is there a way to disable this and use file order? (This question comes up in the setting of a more complex example, where I'm using different language names to specify different default headers, and this feature is breaking the tangling of the files.) Thanks, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO=E2=82=82 (2016-01, Mauna Loa Obs.): 402.52 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJWwve/AAoJEAQNCjtO0uXHq9oIAL83QmEwzFIgL+AymCrcGx4t h5M2QXSeDtuWmj/4vIJdMs3dK56lCBlw73vR3ckhCXDZ4q7bnf3mF/p+fGZtuIWW xwt1a7/TgomHXk6bfXM7oFBA7Wc3NZekqsZCuzLQ4cL0fis7ZuwoJzIcrQ0fw6n2 6qFuHy1ki/yXxVwsuiMdz48InE2F83F0QS2gJfMp93nK3N9nzzKgv1Aj8+g5+ml3 OdsF6iuBjtpgloykGh4Iig1Sb4zIu+Yp6+V3l0imeQenmU0UbqmQ8rm2lKAMeVBS b8rLRPLrQj5xbsLW+tDaUrq4iw34ppLqL8dQOcoafwaaQlGF5xAY+I4/eh+YQy0= =MQ7l -----END PGP SIGNATURE----- --=-=-=--