emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [Babel] detangle


From: Eric Schulte
Subject: [Orgmode] [Babel] detangle
Date: Fri, 29 Oct 2010 02:15:08 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi,

I've just added functions for detangling code from pure source code
files back into code blocks in the org-mode files from whence they were
tangled.  This is done by the new `org-babel-detangle' function.
Additionally the new `org-babel-tangle-jump-to-org' function can be used
to navigate from a pure source code file back to the related code block
in the original Org-mode file.

Both of these new functions require that the code block was tangled with
comments which can be accomplished by setting the :comments header to
"yes".

This should be useful for collaborating with anyone who would rather
edit source-code files directly rather than keeping the canonical
versions of all source-code in Org-mode files.  You'll just have to
convince your collaborators to leave the link comments in the source
code file.

Best -- Eric



reply via email to

[Prev in Thread] Current Thread [Next in Thread]