[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Deactivate babel source block
From: |
Eric S Fraga |
Subject: |
Re: [O] Deactivate babel source block |
Date: |
Wed, 9 Oct 2013 10:57:01 +0100 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Rainer M Krug <address@hidden> 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 <address@hidden>
| 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