From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: de-tangle function?
Date: Thu, 30 May 2013 18:01:50 +0200 [thread overview]
Message-ID: <86a9ncxxqp.fsf@somewhere.org> (raw)
In-Reply-To: 87vc60y13d.fsf@krugs.de
Hi Rainer,
Rainer M. Krug wrote:
> I remember something about a de-tangle function, which re-imports the
> source code blocks into the org file is previously tangled with comments
> et al, but I can't find that function any more.
>
> Is it still there?
M-x org-babel-detangle
> Does it work reliably?
You need the code blocks to be wrapped into comments for it to work.
Regarding reliability, it does work well on small examples. I remember having
had really bad results with my huge .emacs file, but hadn't any time to debug
the problem -- try to reproduce -- at that time.
So, when you do it, please keep a backup of your original Org file. It's
safer.
But, if there are bugs, they should be clearly identified, and fixed...
Best regards,
Seb
--
Sebastien Vauban
next prev parent reply other threads:[~2013-05-30 16:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-30 14:49 de-tangle function? Rainer M. Krug
2013-05-30 16:01 ` Sebastien Vauban [this message]
2013-05-30 19:31 ` Rasmus
2013-05-31 7:13 ` Rainer M. Krug
2013-05-31 7:12 ` Rainer M. Krug
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=86a9ncxxqp.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).