emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Help tangling
@ 2014-04-02 19:49 Andreas Hilboll
  2014-04-02 21:04 ` Eric Schulte
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Hilboll @ 2014-04-02 19:49 UTC (permalink / raw)
  To: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-03 14:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-02 19:49 Help tangling Andreas Hilboll
2014-04-02 21:04 ` Eric Schulte
2014-04-02 21:10   ` Andreas Hilboll
2014-04-02 23:05     ` Eric Schulte
2014-04-03 14:19       ` Andreas Hilboll

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).