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 10:01:19 +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 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 <address@hidden> 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-----



reply via email to

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