From: "Eric Schulte" <schulte.eric@gmail.com>
To: Nicolas Girard <nicolas.girard@nerim.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Make org-babel-tangle work when target-file is nil
Date: Sun, 29 Nov 2009 10:10:20 -0700 [thread overview]
Message-ID: <m2iqctntoj.fsf@gmail.com> (raw)
In-Reply-To: <51b0095d0911290748v1c04b788k61fbdcb1f02d2c6c@mail.gmail.com> (Nicolas Girard's message of "Sun, 29 Nov 2009 16:48:56 +0100")
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.
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
next prev parent reply other threads:[~2009-11-29 17:10 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 [this message]
2009-11-29 18:34 ` [babel] " Dan Davison
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2iqctntoj.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=nicolas.girard@nerim.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.