From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Tangle subtree only? Date: Thu, 27 Jan 2011 12:34:25 +0000 Message-ID: References: <4D4158AB.7010702@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=60982 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiR3s-0001eI-6I for emacs-orgmode@gnu.org; Thu, 27 Jan 2011 07:34:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiR3q-0000RC-Il for emacs-orgmode@gnu.org; Thu, 27 Jan 2011 07:34:52 -0500 Received: from lo.gmane.org ([80.91.229.12]:39310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PiR3q-0000Qj-D0 for emacs-orgmode@gnu.org; Thu, 27 Jan 2011 07:34:50 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PiR3n-0003Hf-VX for emacs-orgmode@gnu.org; Thu, 27 Jan 2011 13:34:47 +0100 Received: from 94.196.41.223.threembb.co.uk ([94.196.41.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jan 2011 13:34:47 +0100 Received: from dandavison7 by 94.196.41.223.threembb.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jan 2011 13:34:47 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Rainer M Krug writes: > Hi > > my org document is structured in such a way, that each subtree is to be > tangled into a separate file, specified in a > :PROPERTIES: > :tangle: filename > :END: > drawer. > > If I change something in one subtree, I do tangle the whole file, just > because of a small change in one of the many subtrees. > > Is there a way to tangle only the subtree in which the cursor is > positioned (like the 1 in the export)? Hi Rainer, C-x n s (org-narrow-to-subtree) then tangle as normal. (We do have org-babel-execute-subtree; I'm not necessarily saying that the tangle analog shouldn't exist) Dan > > Thanks, > > Rainer