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 13:30:35 +0100 Message-ID: <512F4DEB.7050202@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> <512F1CDF.80906@gmail.com> <877glsg57i.fsf@bzg.ath.cx> <867gls9451.fsf@somewhere.org> <512F26A1.7020807@gmail.com> <86y5e87osz.fsf@somewhere.org> 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]:50217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB30r-0003u1-V3 for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 07:55:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UB30p-0006uI-Nf for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 07:55:05 -0500 In-Reply-To: <86y5e87osz.fsf@somewhere.org> 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: Sebastien Vauban , emacs-orgmode , Bastien -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28/02/13 10:47, Sebastien Vauban wrote: > Hi Rainer, > > Rainer M Krug wrote: >> On 28/02/13 10:30, Sebastien Vauban wrote: >>> Bastien wrote: >>>> Rainer M Krug writes: >>>> >>>>> 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? >>>> >>>> This is now the case in master: >>>> http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=8e0b45 >>> >>> Does it work as well for the `:noexport:' tag? >> >> I don't think it should. Tangling is something different to export, so there should not be ay >> interactions between the two in this respect. On the other hand, COMMENT is generic - it is a >> COMMENT and does not concern anything. So it is applicable for tangling as well. >> >> I would actually say it would be counterintuitive if :noexport: would influence tangling as >> it is governed by a completely different approach in org as well as in what I am doing with >> the org file. > > I've always used :noexport: instead of COMMENT (as I hate the visual clutter of that wide > keyword). So, for me, they were equivalent. Follow up: would it be possible to have the same mechanism for tangling, i.e. a tag :notangle:? functioning would be equivalent to property tangle: no but more visible and consistent with the :noexport:? One could also define properties to be tangled and not tangled for different scenarios? Rainer > > You must be right, though, that they aren't: COMMENT seems more generic than just export. So, > dismiss my request. > > Best regards, Seb > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRL03rAAoJENvXNx4PUvmCsGQIAKlPTGJzSlRSvPamZCs2XZqp kR6YIU20QdSLs3Eei7p1VAFTdb4i9Ci6GaX8LfmForM4jrmkUYPqGNFHOl6Q6rwq tCSCxAhIvEWZirs1tmhvj+jIZ2so61LTudMfzToEXPcowoCJXOzjS4GVb/QAysmX qYrY/5OlEw7Qj8YlkmDoeTep4HtSKM941po1VWxm4AJPiyFkipgiQJ3bpVTq5g4p /QIoG7QhNug1kstDx/2LfTXMZMU1zamBS1T5i0rzYHSkpoZwHCAjozXHtpNeW5VB UOJTTctGNERb7sk70SM5ACoQxNne3Ojd5iQdjj+lJf0gKGbz20kT6rHrXUS7d9g= =ryTy -----END PGP SIGNATURE-----