[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[babel] Re: [Orgmode] [PATCH] Make org-babel-tangle work when target-fil
From: |
Dan Davison |
Subject: |
[babel] Re: [Orgmode] [PATCH] Make org-babel-tangle work when target-file is nil |
Date: |
Sun, 29 Nov 2009 13:34:51 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
"Eric Schulte" <address@hidden> writes:
> Thanks Nicolas,
>
> By default source-code blocks are not tangled. They are only tangled if
> their :tangle header argument is equal to "yes" or is a file name -- in
> which case target-file is set to that file name. I believe your patch
> would have the effect of making all source-code blocks tangle by
> default -- which is not the desired behavior.
Hi Nicolas,
Just to add to that -- when I want to tangle all source blocks in a
file, I include the line
#+property: tangle yes
in my org file, which can be over-ridden on a per-block basis with
':tangle no'.
Dan
>
> I realize that the documentation of tangling, noweb syntax, and these
> many header arguments is lacking and this is something that we are
> working on fixing.
>
> Best -- Eric
>
> Nicolas Girard <address@hidden> writes:
>
>> Hi all,
>>
>> I'm glad to be back around there, it's been a while !
>>
>> As the title says, the attached file makes org-babel-tangle work when
>> its "target-file" optional argument is nil.
>>
>> Cheers,
>> Nicolas
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode