From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Daly Subject: Re: Feature Request: Allow Tangling Named INCLUDEs Date: Sun, 26 Jan 2014 18:36:29 -0600 Message-ID: <87r47u5khe.fsf@gmail.com> References: <87ob3ifcx4.fsf@gmail.com> <87d2jmy6bs.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7aBw-0000gl-Rz for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 19:36:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7aBo-0005tA-Ez for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 19:36:44 -0500 Received: from mail-ob0-x231.google.com ([2607:f8b0:4003:c01::231]:42093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7aBo-0005rW-9S for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 19:36:36 -0500 Received: by mail-ob0-f177.google.com with SMTP id wp18so5755496obc.22 for ; Sun, 26 Jan 2014 16:36:34 -0800 (PST) In-Reply-To: <87d2jmy6bs.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org --=-=-= > Nick Daly wrote: > >> Hi folks, I have a situation where I have many named code snippets >> currently available in external files, and would like to tangle them >> into an Org mode file. Eric Schulte writes: > The following function works for me on a simple example file... Thank you, that function worked perfectly! It's now found a new home in my .emacs file. > I'm not sure if this is common enough to have functionality added to the > core. Maybe adding a `with-expanded-includes' macro would be useful > though. It probably isn't very common at all, but its incredibly handy to keep the size of the org-mode file down: it keeps the literate source readable and free of boilerplate code. Thanks for your help, Nick --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJS5aoOAAoJEJ8nM/QJKNI65CcQAIXqjvXGQ5+uhLnGIQ3FauSE 20/p8IrCeoRp4/dKy3h91qPXDVo53Y2cYkMu9vnMSMgzocvE8jfBFCstOQ1FwDJ6 jzXFD10/BA05kqQUGjavLViYTNDDT7jsUDiqQQnCxHdeTLEL2npkOqjGZrR7fVNP 9v9GnfyUUHM65WQS6iMk0nIwbOHEkgMr/qbVHfPe5eSUP938B5d6ZidzmfTrlOmg JutAPV5GIyxfy3ZeywXCjV6bG+hgaGV+8CPljpd2IqF6dXkW6Xyb8fk10jf5i5kC Z+ILrfr75G9wucmMw+0mtCFlWw8588abo/EGMvj0yWQfqWc5/05Yn8m4tvekVHax lzhkQsMbTEAodYV/7LVCoshDoxR8K6TNmjpUXVUK8jHjDslf1jgo7dLPKId5BDUN KJzb4OWdc+sJT8qaqAd4sRg+X2JDGbS5wXDgM8mqaU7ZjO1LYLY2uOk1C5pr0x3q osHi7fnD/RMa2Sg3hYy+X2ADgemS4SCZE43uM18nxC2iDERmFneHfioCtE5HHKWF aSUh4Xq/A3BL5sYaS6RybZXKn+o08vAmPRS0XBjm4YWbMXbVt5snZQBePbqn5Oef FElw6NMWdxKaZm7+S/1gaegiQqlZNnm166oIefeHw7qDragJt3StGKEPxltWAHvX Mv9/PlVfPNdEQYBzc1Lf =7Bst -----END PGP SIGNATURE----- --=-=-=--