From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [PATCH] Make org-babel-tangle work when target-file is nil Date: Sun, 29 Nov 2009 10:10:20 -0700 Message-ID: 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 1NEnI5-0001cZ-Lv for emacs-orgmode@gnu.org; Sun, 29 Nov 2009 12:10:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NEnI1-0001YN-9z for emacs-orgmode@gnu.org; Sun, 29 Nov 2009 12:10:29 -0500 Received: from [199.232.76.173] (port=49503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NEnI1-0001YI-2I for emacs-orgmode@gnu.org; Sun, 29 Nov 2009 12:10:25 -0500 Received: from mail-gx0-f212.google.com ([209.85.217.212]:59060) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NEnI0-0002yG-MS for emacs-orgmode@gnu.org; Sun, 29 Nov 2009 12:10:24 -0500 Received: by gxk4 with SMTP id 4so1197898gxk.8 for ; Sun, 29 Nov 2009 09:10:23 -0800 (PST) In-Reply-To: <51b0095d0911290748v1c04b788k61fbdcb1f02d2c6c@mail.gmail.com> (Nicolas Girard's message of "Sun, 29 Nov 2009 16:48:56 +0100") 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: Nicolas Girard Cc: emacs-orgmode@gnu.org 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 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