From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohamed HIBTI Subject: Re: org-babel (org-babel-detangle) Date: Wed, 13 Apr 2011 20:01:10 +0200 Message-ID: <39568.8753495508$1302717703@news.gmane.org> References: <874o62m6xz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA4Ne-0003DB-GX for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 14:01:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA4Nd-0008Ff-JK for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 14:01:30 -0400 Received: from lo.gmane.org ([80.91.229.12]:52035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA4Nd-0008Fb-5j for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 14:01:29 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QA4NX-0002cV-Ac for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 20:01:23 +0200 Received: from cor91-2-82-237-100-244.fbx.proxad.net ([82.237.100.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Apr 2011 20:01:23 +0200 Received: from mohamed.hibti by cor91-2-82-237-100-244.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Apr 2011 20:01:23 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org "Eric Schulte" writes: Hi Eric, Thanks for this swift reply. I will try :) Best regards, Mohamed > Hi Mohamed, > > You have a small typo in your header arguments, ":comment" should be > ":comments". After that change then code block should be tangled > wrapped in comments, and then Babel can use these comments to jump back > to the original org-mode file. > > That said, the detangle mechanisms are in need of some work, > specifically regarding their use of the Org-mode's link resolution, > which doesn't currently make it possible to programmatically jump to the > results of a link. So, until some time is spent fixing up the > detangling machinery inside of Babel, you may not find detangling to be > extremely robust. > > Best -- Eric > > Mohamed HIBTI writes: > >> Dear all, >> I have a problem with detangling org-babel fragments. >> May be this is because XML is not a supported feature/or I use it in a wrong way. >> Any help is welcome. >> >> My org-file is below. I can tangle this file to obtain the XML file but >> when I try to jump to org I get the message "not in tangled code". >> >> *** TODO Question that needs validation >> :PROPERTIES: >> :ID: 2788f65d-5613-40c1-80ae-ae966f4bb398 >> :END: >> #+BEGIN_SRC XML :tangle ./sample04.xml :comment yes >> >> >> >> >> >> >> >> >> >> >> >> >> #+END_SRC >> >> Best regards, >> >> Mohamed >> >> >>