From: Dan Davison <dandavison7@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Tangle subtree only?
Date: Thu, 27 Jan 2011 12:34:25 +0000 [thread overview]
Message-ID: <m1ei7yh6em.fsf@94.196.138.207.threembb.co.uk> (raw)
In-Reply-To: 4D4158AB.7010702@gmail.com
Rainer M Krug <r.m.krug@gmail.com> 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
prev parent reply other threads:[~2011-01-27 12:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-27 11:36 Tangle subtree only? Rainer M Krug
2011-01-27 12:34 ` Dan Davison [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1ei7yh6em.fsf@94.196.138.207.threembb.co.uk \
--to=dandavison7@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).