emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Paul Dumais <paul@unstate.ca>
To: emacs-orgmode@gnu.org
Subject: Detangle - How to get it to work
Date: Mon, 5 Aug 2013 13:36:09 -0600	[thread overview]
Message-ID: <CAPE4mm-9c315XsF9Um+7W6eQAgRR4Lb52T3rGD3vUzkgdzHzPw@mail.gmail.com> (raw)

Hi, I think detangle is a must for collaborative work.

I think I have read the instructions correctly, yet I can't seem to
get it to work. Here is a minimal test:

Org file named test.org:
#+PROPERTY: comments link
* Some source
#+begin_src clojure :tangle yes
  (defn hello [] (println "hello"))
#+end_src

This produces the following file named test.clj upon tangling:

;; [[file:~/test.org::*Some%20source][Some\ source:1]]

(defn hello [] (println "hello"))

;; Some\ source:1 ends here

When I add a line to the file:
(def x 1)

 and save, then do M-x org-babel-detangle, it says:
Detangled 0 code blocks

Is there something I'm missing?

Thanks!

             reply	other threads:[~2013-08-05 19:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-05 19:36 Paul Dumais [this message]
2013-08-05 23:10 ` Detangle - How to get it to work Paul Dumais

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPE4mm-9c315XsF9Um+7W6eQAgRR4Lb52T3rGD3vUzkgdzHzPw@mail.gmail.com \
    --to=paul@unstate.ca \
    --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 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).