From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: de-tangle function? Date: Thu, 30 May 2013 21:31:18 +0200 Message-ID: <87txlkmfi1.fsf@pank.eu> References: <87vc60y13d.fsf@krugs.de> <86a9ncxxqp.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui8ZT-0001Rm-Bf for emacs-orgmode@gnu.org; Thu, 30 May 2013 15:31:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ui8ZO-0001lI-OP for emacs-orgmode@gnu.org; Thu, 30 May 2013 15:31:35 -0400 Received: from plane.gmane.org ([80.91.229.3]:46038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui8ZO-0001lB-I4 for emacs-orgmode@gnu.org; Thu, 30 May 2013 15:31:30 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ui8ZN-00082q-7G for emacs-orgmode@gnu.org; Thu, 30 May 2013 21:31:29 +0200 Received: from dynamic-adsl-94-34-191-111.clienti.tiscali.it ([94.34.191.111]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 May 2013 21:31:29 +0200 Received: from rasmus by dynamic-adsl-94-34-191-111.clienti.tiscali.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 May 2013 21:31:29 +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 "Sebastien Vauban" writes: >> 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... It not always good at finding its way back into the Org file, and I found that some of the header arguments didn't 'work properlyø for 'complicated' blocks. I'll see if I can make reproducible examples later. It's definitely a potentially cool feature though. Notice you have to run it from the tangled file. –Rasmus -- Don't panic!!!