[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-babel-tangle-file not parsing code blocks
From: |
Thomas S. Dye |
Subject: |
Re: [O] org-babel-tangle-file not parsing code blocks |
Date: |
Mon, 25 Mar 2013 12:19:22 -1000 |
Aloha Marcelo,
Marcelo de Moraes Serpa <address@hidden> writes:
> Hi list,
>
> I have a simple babel file with an Emacs Lisp code block, that looks like
> this:
>
> peepopen-config.org:
>
>
> * Load it
> #+BEGIN_SRC emacs_lisp
> (add-to-list 'load-path (concat fullofcaffeine-vendor-dir "/peepopen"))
> (require 'peepopen)
> (textmate-mode)
> #+END_SRC
>
> (provide 'peepopen-config)
>
>
> I'm trying to tangle it with (org-babel-tangle-file "peepopen-config.org"),
> but I get the following in the "Messages" buffer:
>
> Tangled 0 code blocks from peepopen-config.org
>
>
> I'm confused, since the file *does* contain a code block. Am I doing
> something wrong?
Not really, but you do need to tell Babel you want to tangle this code
block. See the header argument :tangle, which by default is set to
`no'. If you add :tangle yes to the code block header, then it should
do what you want.
hth,
Tom
>
> Thanks in advance,
>
> - Marcelo.
> Hi list,
>
>
> I have a simple babel file with an Emacs Lisp code block, that looks
> like this:
>
> peepopen-config.org:
>
>
> * Load it
> #+BEGIN_SRC emacs_lisp
> (add-to-list 'load-path (concat fullofcaffeine-vendor-dir
> "/peepopen"))
> (require 'peepopen)
> (textmate-mode)
> #+END_SRC
>
> (provide 'peepopen-config)
>
>
> I'm trying to tangle it with (org-babel-tangle-file
> "peepopen-config.org"), but I get the following in the "Messages"
> buffer:
>
> Tangled 0 code blocks from peepopen-config.org
>
>
> I'm confused, since the file *does* contain a code block. Am I doing
> something wrong?
>
> Thanks in advance,
>
> - Marcelo.
>
>
>
--
Thomas S. Dye
http://www.tsdye.com
- [O] org-babel-tangle-file not parsing code blocks, Marcelo de Moraes Serpa, 2013/03/25
- Re: [O] org-babel-tangle-file not parsing code blocks, Marcelo de Moraes Serpa, 2013/03/25
- Re: [O] org-babel-tangle-file not parsing code blocks,
Thomas S. Dye <=
- Re: [O] org-babel-tangle-file not parsing code blocks, Marcelo de Moraes Serpa, 2013/03/25
- Re: [O] org-babel-tangle-file not parsing code blocks, Marcelo de Moraes Serpa, 2013/03/25
- Re: [O] org-babel-tangle-file not parsing code blocks, Marcelo de Moraes Serpa, 2013/03/25
- Re: [O] org-babel-tangle-file not parsing code blocks, Thomas S. Dye, 2013/03/25
- Re: [O] org-babel-tangle-file not parsing code blocks, Marcelo de Moraes Serpa, 2013/03/25
- Re: [O] org-babel-tangle-file not parsing code blocks, Thomas S. Dye, 2013/03/25