From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: tangling order Date: Wed, 17 Feb 2016 16:43:41 +0100 Message-ID: References: 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]:36665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW4Gd-0005G9-FO for emacs-orgmode@gnu.org; Wed, 17 Feb 2016 10:43:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW4GW-0003wn-6u for emacs-orgmode@gnu.org; Wed, 17 Feb 2016 10:43:48 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:26529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW4GW-0003wW-0X for emacs-orgmode@gnu.org; Wed, 17 Feb 2016 10:43:44 -0500 In-Reply-To: (Charles C. Berry's message of "Tue, 16 Feb 2016 09:34:22 -0800") 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: "Charles C. Berry" Cc: emacs-orgmode , John Kitchin --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-02-16 18:34, "Charles C. Berry" writes: >> I've found a workaround, as it is only for a few blocks I manually >> change their headers, so it is fine at the moment. > > Another workaround would be to add after advice to=20 > `org-babel-get-src-block-info' to map your faux languages to a common=20 > variant. > >> I still think it >> would be great to have better control on the order in which blocks are >> tangled. > > If you want to do this inside org/emacs (and not stitch a bunch of tangle= d=20 > files together with other tools), try this in your *.org file and execute= =20 > it. The result is what you might work with (i.e. customize or advice the= =20 > function below). > > #+BEGIN_SRC emacs-lisp :results pp :tangle foo.ml > (org-babel-tangle-collect-blocks) > #+END_SRC Thank you for the suggestions. Looking at what this function returns (blocks sorted by language), I now understand better why this does not do what I want. 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 iQEcBAEBCgAGBQJWxJUtAAoJEAQNCjtO0uXHRWYH/1xn7BnUUcW/XiK5p42iaL7P TiLoMlfuC+XfAUe6FGlR3rl7FgkpKhlNfHoI/cpzg0BsUbUu2LK3UrivkL7374Hh 5k+c8flTsyeaiR0ImBCTfU55an9Wn/hS1cLk9yhERY9zRgMnbm6+BnSBbZPgdehZ 6rUb6AZPNg3Gyl5IkClqI4P7043nUTOZyJIhjVMpmGbbxigmOXVXxaWCmVrGSEs2 7yaomvfc0lxT/Mv/hUcdlOmBDsD2Idc2Tj40Zr1GJ192KLgFNLwH1B1KSDsvkwqd tyKwNRbhXEhy5JHLqaKiHg+ztRxPxe+8WdJCC9ISoGF80jMhfUZNq6Te7jq73NI= =7AtG -----END PGP SIGNATURE----- --=-=-=--