From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [babel] Commenting out src blocks for tangling Date: Thu, 28 Feb 2013 10:01:19 +0100 Message-ID: <512F1CDF.80906@gmail.com> References: <87r4k18wy2.fsf@ucl.ac.uk> <87mwup8t0q.fsf@breezy.my.home> <87bob58sdi.fsf@ucl.ac.uk> <512e97cf.82c1ec0a.76d4.ffffc5f1@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAzMn-0003zb-3f for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 04:01:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAzMh-0004Kj-Sh for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 04:01:28 -0500 Received: from mail-ee0-f43.google.com ([74.125.83.43]:44399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAzMh-0004Kd-Lw for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 04:01:23 -0500 Received: by mail-ee0-f43.google.com with SMTP id c50so1210936eek.30 for ; Thu, 28 Feb 2013 01:01:22 -0800 (PST) In-Reply-To: <512e97cf.82c1ec0a.76d4.ffffc5f1@mx.google.com> 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: Darlan Cavalcante Moreira , Alan L Tyree , emacs-orgmode@gnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28/02/13 00:33, Darlan Cavalcante Moreira wrote: > > I also converted my Emacs configuration to an org-mode file a long time ago and I hit the same > spot you did. As you, I initially assumed (wished) that the COMMENT marker would disable > tangling of blocks in that subtree. After that I found out the tangle property, which solves > the problem but has no visual indication as you mentioned. > > Nowadays I use both approaches. Whenever I set the tangle property to "no" I also set the > COMMENT mark and vice-verse. It is just a very minor annoyance to do both things and I'm used > to it now. I agree - COMMENTing a subtree should automatically disable tangling of code blocks in the subtree. Would this something which could be introduced easily, as it seems there are quite a few who assumed that it would be doing it? Rainer > > -- Darlan > > > At Wed, 27 Feb 2013 19:32:41 +0000, Eric S Fraga wrote: >> >> Alan L Tyree writes: >> >> [...] >> >>> G'day Eric, >>> >>> If I understand your problem correctly, doesn't the property :tangle: do what you want? >> >> Yes, thanks; Aaron Ecay has also pointed out to me. It works and does exactly what I said I >> needed. And you have both been very polite :-) >> >> -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org >> release_7.9.3f-1285-g6cc600 >> >> > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRLxzfAAoJENvXNx4PUvmCuaAIAOITFnoNMB5EIyaPib6JC/wU WcD5e0J8+kQMcowYEoLrJmPOupw3sXj2tQoyq0gHhdcCVgBx0ZJh+WNkbC7QUlWh ruSJYuPQhbkFr+FjUpas3iyNmuxPIghpmmhMPKK/NhLGaE3tVgvEtMXeY9IEp2ai a0P+7g32yAv80kmJE2FXy8UdWGo/Cya8MFueRH2YxRv7cYRA63qFj8Wl4+hCM7sD comvN6wZue8ZTi32O203PQueafEA37+AZgUdcdLU13TQDRj4PytFjjsHGr64LRK8 zYTQr3+YiUDq9Nr0j+B4uxPZWXJgAcTMzW6+0FqbPdnSPoTpGnwLblQbZ/MnG1E= =sgpY -----END PGP SIGNATURE-----