From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: [babel] Re: [PATCH] Make org-babel-tangle work when target-file is nil Date: Sun, 29 Nov 2009 13:34:51 -0500 Message-ID: <87bpiltc1g.fsf_-_@stats.ox.ac.uk> References: <51b0095d0911290748v1c04b788k61fbdcb1f02d2c6c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NEocG-00011p-VE for emacs-orgmode@gnu.org; Sun, 29 Nov 2009 13:35:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NEocB-0000z8-8x for emacs-orgmode@gnu.org; Sun, 29 Nov 2009 13:35:23 -0500 Received: from [199.232.76.173] (port=54661 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NEocB-0000z3-3O for emacs-orgmode@gnu.org; Sun, 29 Nov 2009 13:35:19 -0500 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:47220) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NEocA-0001v2-PX for emacs-orgmode@gnu.org; Sun, 29 Nov 2009 13:35:19 -0500 In-Reply-To: (Eric Schulte's message of "Sun, 29 Nov 2009 10:10:20 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode@gnu.org "Eric Schulte" 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 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