[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] problem with org-babel-tangle
From: |
Thomas S . Dye |
Subject: |
Re: [O] problem with org-babel-tangle |
Date: |
Mon, 07 Dec 2015 08:16:45 -1000 |
User-agent: |
mu4e 0.9.15-dd71cf8; emacs 24.5.1 |
Aloha Uwe Brauer,
Uwe Brauer <address@hidden> writes:
> Hello
>
> I have the following minimal example
>
> :tangle yes
>
> #+BEGIN_SRC emacs-lisp
> (setq-default fill-column 79)
> #+END_SRC
>
>
> I put my cursor into the code block and execute C-c C-v t
> and I obtain
>
> Tangled 0 code blocks from new.org
> C-c C-v f gives the same result.
>
> What do I miss?
You need to specify the header and eliminate the empty line before the
source code block.
#+header: :tangle yes
#+BEGIN_SRC emacs-lisp
(setq-default fill-column 79)
#+END_SRC
Or, put the header argument with the source code block.
#+BEGIN_SRC emacs-lisp :tangle yes
(setq-default fill-column 79)
#+END_SRC
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com