From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Help tangling Date: Wed, 02 Apr 2014 15:04:53 -0600 Message-ID: <87bnwjqw7e.fsf@gmail.com> References: <533C69D3.3010906@hilboll.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVSLG-0000ED-RK for emacs-orgmode@gnu.org; Wed, 02 Apr 2014 17:05:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVSLC-0001bJ-4J for emacs-orgmode@gnu.org; Wed, 02 Apr 2014 17:05:02 -0400 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:47115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVSLB-0001b8-TI for emacs-orgmode@gnu.org; Wed, 02 Apr 2014 17:04:58 -0400 Received: by mail-pa0-f52.google.com with SMTP id rd3so750870pab.25 for ; Wed, 02 Apr 2014 14:04:56 -0700 (PDT) In-Reply-To: <533C69D3.3010906@hilboll.de> (Andreas Hilboll's message of "Wed, 02 Apr 2014 21:49:39 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Hilboll Cc: emacs-orgmode@gnu.org Andreas Hilboll writes: > Hi, > > I want to write a "SConstruct" file (for SCons, a Python make > alternative) in orgmode, using literate programming. So I have a file > "SConstruct.org", where I include the code blocks with "#+begin_src ... > #+end_src". My question: > > How can I specify that *all* code blocks shall be tangled into one > single file called "SConstruct"? > > I know I could do this by writing > > #+begin_src python :tangle SConstruct > [...] > #+end_src > > instead of > > #+begin_src > [...] > #+end_src > > but is there some way to define the "python" no > and the ":tangle SConstruct" yes #+Property: tangle SConstruct > 'globally' for the whole file? > > Thanks for helping me orgmode-newbie! > Best, > > -- Andreas. > -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D