From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Babel Tangling Only Blocks Under One Heading in a File with Multiple Blocks. Date: Tue, 22 Nov 2011 13:36:04 +0000 Message-ID: <4ECBA544.5010006@wilkesley.net> Reply-To: ian@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSqWs-0000sh-Fe for emacs-orgmode@gnu.org; Tue, 22 Nov 2011 08:37:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSqWo-0005Ps-At for emacs-orgmode@gnu.org; Tue, 22 Nov 2011 08:36:54 -0500 Received: from mail.ian-barton.com ([109.74.196.44]:42866 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSqWo-0005NG-6e for emacs-orgmode@gnu.org; Tue, 22 Nov 2011 08:36:50 -0500 Received: from [192.168.0.133] (unknown [217.146.125.41]) (Authenticated sender: lists@wilkesley.net) by li40-130.members.linode.com (Postfix) with ESMTPSA id BBCB826A3E4 for ; Tue, 22 Nov 2011 13:36:27 +0000 (GMT) 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: Org-mode I am using org to keep configuration files for my various servers. A typical file might look like: * Postfix ** main.cf #+BEGIN_SRC sh :tangle ~/dropbox/configuration_files/wilkesley.org/postfix/main.cf :exports none :noweb yes #+END_SRC ** master.cf * Dovecot ** dovecot.conf Mostly I only change one configuration file and don't need to tangle every block in my org file. Is there any method to only tangle files under a particular heading? Thus I could regenerate just my Postfix config files and not my Dovecot ones. Ian.