From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: [Babel] detangle Date: Fri, 29 Oct 2010 02:15:08 -0600 Message-ID: <87ocadv2ib.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=46423 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBk7F-00022S-Cm for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 04:15:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBk7E-0003cq-AI for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 04:15:13 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:36377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBk7E-0003ck-6N for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 04:15:12 -0400 Received: by gyh20 with SMTP id 20so2175390gyh.0 for ; Fri, 29 Oct 2010 01:15:11 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode 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