From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Deactivate babel source block Date: Wed, 9 Oct 2013 10:57:01 +0100 Message-ID: <87vc163gya.fsf@ucl.ac.uk> References: <87k3hqfnbj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTqWH-0003Um-Qv for emacs-orgmode@gnu.org; Wed, 09 Oct 2013 05:57:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTqWB-0006ZI-Jn for emacs-orgmode@gnu.org; Wed, 09 Oct 2013 05:57:29 -0400 Received: from mail14-co9on0066.outbound.messaging.microsoft.com ([157.56.211.66]:3978 helo=CO9EHSNDR003.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTqWB-0006YM-BM for emacs-orgmode@gnu.org; Wed, 09 Oct 2013 05:57:23 -0400 In-Reply-To: (Rainer M. Krug's message of "Mon, 7 Oct 2013 10:31:44 +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: Rainer M Krug Cc: emacs-orgmode@gnu.org Rainer M Krug writes: [...] > Correct me if I am wrong, but I seem to remember that source blocks > under a commented heading are not tangled? > > But I just tried it now, and it doesn't seem to be the case anymore - > code blocks under commented header are still tangled - has this feature > been removed or was it never there? It was there; we had a discussion about this early this year. There is a commit log entry indicating that this was implemented: ,---- | commit 8e0b4529f780de4e442d26a7ba4aedd892c78c5b | Author: Bastien Guerry | Date: Thu Feb 28 10:25:21 2013 +0100 | | ob-tangle.el (org-babel-tangle-collect-blocks): Don't collect blocks in commented out headings | | * ob-tangle.el (org-babel-tangle-collect-blocks): Don't | collect blocks in commented out headings. | | Thansk to the various people who requested this. `---- but I also found recently that code blocks in commented sections are indeed tangled. I have no idea what has happened to the code since. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.2.1-66-gf871fb