From: tsd@tsdye.com (Thomas S. Dye)
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: org-babel-tangle-file not parsing code blocks
Date: Mon, 25 Mar 2013 13:39:06 -1000 [thread overview]
Message-ID: <m1hajzkq1x.fsf@poto.myhome.westell.com> (raw)
In-Reply-To: <CACHMzOF6tF8eK-4VOLykOKgxcyxTMZUcb_hByvDKH-kegjgciQ@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Mon, 25 Mar 2013 16:45:01 -0600")
Aloha Marcelo,
Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
> Oh, actually that wasn't the issue.
>
> org-babel-load-file seems to force tangling the file to an .el.
> org-babel-tangle-file doesn't. Is there a way to force the output to the
> .el file without using the parameter in the code block itself?
>
Yes, there is.
(org-babel-tangle-file FILE &optional TARGET-FILE LANG)
You should be able set TARGET-FILE with a buffer-wide header argument,
like this:
#+PROPERTY: tangle force-output-to-the.el
hth,
Tom
--
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com
next prev parent reply other threads:[~2013-03-25 23:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-25 22:02 org-babel-tangle-file not parsing code blocks Marcelo de Moraes Serpa
2013-03-25 22:03 ` Marcelo de Moraes Serpa
2013-03-25 22:19 ` Thomas S. Dye
2013-03-25 22:20 ` Marcelo de Moraes Serpa
2013-03-25 22:45 ` Marcelo de Moraes Serpa
2013-03-25 23:24 ` Marcelo de Moraes Serpa
2013-03-25 23:39 ` Thomas S. Dye [this message]
2013-03-25 23:48 ` Marcelo de Moraes Serpa
2013-03-26 0:58 ` Thomas S. Dye
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1hajzkq1x.fsf@poto.myhome.westell.com \
--to=tsd@tsdye.com \
--cc=celoserpa@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.