all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thomas S. Dye <tsd@tsdye.com>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-orgmode@gnu.org
Subject: Re: problem with org-babel-tangle
Date: Mon, 07 Dec 2015 08:16:45 -1000	[thread overview]
Message-ID: <m2oae2p1iq.fsf@tsdye.com> (raw)
In-Reply-To: <87io4acgr9.fsf@mat.ucm.es>

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

  reply	other threads:[~2015-12-07 18:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-07 17:26 problem with org-babel-tangle Uwe Brauer
2015-12-07 18:16 ` Thomas S. Dye [this message]
2015-12-07 20:45   ` Uwe Brauer
2015-12-07 18:53 ` John Kitchin
2015-12-07 20:44   ` Uwe Brauer

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=m2oae2p1iq.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=oub@mat.ucm.es \
    /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.