emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] Commenting out src blocks for tangling


From: Rainer M Krug
Subject: Re: [O] [babel] Commenting out src blocks for tangling
Date: Thu, 28 Feb 2013 13:30:35 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:19.0) Gecko/20130125 Thunderbird/19.0

-----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 <address@hidden> 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-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]