emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Hilboll <lists@hilboll.de>
To: emacs-orgmode@gnu.org
Subject: Help tangling
Date: Wed, 02 Apr 2014 21:49:39 +0200	[thread overview]
Message-ID: <533C69D3.3010906@hilboll.de> (raw)

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" and the ":tangle
SConstruct" 'globally' for the whole file?

Thanks for helping me orgmode-newbie!

-- Andreas.

             reply	other threads:[~2014-04-02 19:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-02 19:49 Andreas Hilboll [this message]
2014-04-02 21:04 ` Help tangling Eric Schulte
2014-04-02 21:10   ` Andreas Hilboll
2014-04-02 23:05     ` Eric Schulte
2014-04-03 14:19       ` Andreas Hilboll

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=533C69D3.3010906@hilboll.de \
    --to=lists@hilboll.de \
    --cc=emacs-orgmode@gnu.org \
    /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).