From: Eric Schulte <schulte.eric@gmail.com>
To: Andreas Hilboll <lists@hilboll.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Help tangling
Date: Wed, 02 Apr 2014 15:04:53 -0600 [thread overview]
Message-ID: <87bnwjqw7e.fsf@gmail.com> (raw)
In-Reply-To: <533C69D3.3010906@hilboll.de> (Andreas Hilboll's message of "Wed, 02 Apr 2014 21:49:39 +0200")
Andreas Hilboll <lists@hilboll.de> 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
next prev parent reply other threads:[~2014-04-02 21:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 19:49 Help tangling Andreas Hilboll
2014-04-02 21:04 ` Eric Schulte [this message]
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=87bnwjqw7e.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=lists@hilboll.de \
/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).