emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* problem with org-babel-tangle
@ 2015-12-07 17:26 Uwe Brauer
  2015-12-07 18:16 ` Thomas S. Dye
  2015-12-07 18:53 ` John Kitchin
  0 siblings, 2 replies; 5+ messages in thread
From: Uwe Brauer @ 2015-12-07 17:26 UTC (permalink / raw)
  To: emacs-orgmode


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?

Thanks

Uwe Brauer 

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

* Re: problem with org-babel-tangle
  2015-12-07 17:26 problem with org-babel-tangle Uwe Brauer
@ 2015-12-07 18:16 ` Thomas S. Dye
  2015-12-07 20:45   ` Uwe Brauer
  2015-12-07 18:53 ` John Kitchin
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas S. Dye @ 2015-12-07 18:16 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode

Aloha Uwe Brauer,

Uwe Brauer <oub@mat.ucm.es> 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

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

* Re: problem with org-babel-tangle
  2015-12-07 17:26 problem with org-babel-tangle Uwe Brauer
  2015-12-07 18:16 ` Thomas S. Dye
@ 2015-12-07 18:53 ` John Kitchin
  2015-12-07 20:44   ` Uwe Brauer
  1 sibling, 1 reply; 5+ messages in thread
From: John Kitchin @ 2015-12-07 18:53 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode


Try


#+BEGIN_SRC emacs-lisp :tangle yes
  (setq-default fill-column 79)
#+END_SRC

Uwe Brauer 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?
>
> Thanks
>
> Uwe Brauer

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

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

* Re: problem with org-babel-tangle
  2015-12-07 18:53 ` John Kitchin
@ 2015-12-07 20:44   ` Uwe Brauer
  0 siblings, 0 replies; 5+ messages in thread
From: Uwe Brauer @ 2015-12-07 20:44 UTC (permalink / raw)
  To: emacs-orgmode

>>> "John" == John Kitchin <jkitchin@andrew.cmu.edu> writes:

    > Try


    > #+BEGIN_SRC emacs-lisp :tangle yes
    >   (setq-default fill-column 79)
    > #+END_SRC


thanks works nicely!

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

* Re: problem with org-babel-tangle
  2015-12-07 18:16 ` Thomas S. Dye
@ 2015-12-07 20:45   ` Uwe Brauer
  0 siblings, 0 replies; 5+ messages in thread
From: Uwe Brauer @ 2015-12-07 20:45 UTC (permalink / raw)
  To: emacs-orgmode

>>> "Thomas" == Thomas S Dye <tsd@tsdye.com> writes:

   > Aloha Uwe Brauer,
   > Uwe Brauer <oub@mat.ucm.es> writes:

   >> Hello
   >> 
   >> I have the following minimal example
   >> 
   >> :tangle yes
   >> 
   >> #+BEGIN_SRC emacs-lisp
   >> (setq-default fill-column 79)
   >> #+END_SRC

thanks works also nicely.

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

end of thread, other threads:[~2015-12-07 20:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-07 17:26 problem with org-babel-tangle Uwe Brauer
2015-12-07 18:16 ` Thomas S. Dye
2015-12-07 20:45   ` Uwe Brauer
2015-12-07 18:53 ` John Kitchin
2015-12-07 20:44   ` Uwe Brauer

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