emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Tangle subtree only?


From: Dan Davison
Subject: [Orgmode] Re: Tangle subtree only?
Date: Thu, 27 Jan 2011 12:34:25 +0000
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (darwin)

Rainer M Krug <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]