|Subject:||Re: [O] Can one tangle only the current blocks under header ?|
|Date:||Tue, 2 Aug 2016 10:05:02 -0500|
> Joon: thx this is great.
> one last question. suppose i have multiple code blocks under header like this:
> **** main i3 conf
> :ID: f17b5518-2695-4484-a958-2fc7b8aa2479
> :tangle: /home/zeltak/.i3/config
> is there a way to issue a tangle just for all below the header blocks?
Again if you read the help:
When two universal prefix arguments, only tangle blocks for the tangle file of the block at point.
So if you give two universal prefix arguments and issue org-babel-tangle while you are at a code block with the tangle file /home/zeltak/.i3/config, it will only tangle code blocks with that particular code block. I think that is what you want. I'm sure you can modify the code I showed you to implement this.
Another way to do this is just `org-narrow-to-subtree` to narrow down to that subtree and and then just tangle the whole thing.
On Sun, Jul 31, 2016 at 5:34 PM, Grant Rettke <address@hidden> wrote:
You can `:tangle no' on the source block to exclude it from tangling.
|[Prev in Thread]||Current Thread||[Next in Thread]|