From: Dan Davison <davison@stats.ox.ac.uk>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: [babel] Re: [PATCH] Make org-babel-tangle work when target-file is nil
Date: Sun, 29 Nov 2009 13:34:51 -0500 [thread overview]
Message-ID: <87bpiltc1g.fsf_-_@stats.ox.ac.uk> (raw)
In-Reply-To: <m2iqctntoj.fsf@gmail.com> (Eric Schulte's message of "Sun, 29 Nov 2009 10:10:20 -0700")
"Eric Schulte" <schulte.eric@gmail.com> 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 <nicolas.girard@nerim.net> 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.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2009-11-29 18:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-29 15:48 [PATCH] Make org-babel-tangle work when target-file is nil Nicolas Girard
2009-11-29 17:10 ` Eric Schulte
2009-11-29 18:34 ` Dan Davison [this message]
2009-11-29 19:12 ` Nicolas Girard
2009-11-30 15:55 ` Eric Schulte
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=87bpiltc1g.fsf_-_@stats.ox.ac.uk \
--to=davison@stats.ox.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.com \
/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).