emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <r.m.krug@gmail.com>
To: Darlan Cavalcante Moreira <darcamo@gmail.com>,
	Alan L Tyree <alantyree@gmail.com>,
	emacs-orgmode@gnu.org
Subject: Re: [babel] Commenting out src blocks for tangling
Date: Thu, 28 Feb 2013 10:01:19 +0100	[thread overview]
Message-ID: <512F1CDF.80906@gmail.com> (raw)
In-Reply-To: <512e97cf.82c1ec0a.76d4.ffffc5f1@mx.google.com>

-----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 <alantyree@gmail.com> 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	other threads:[~2013-02-28  9:01 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27 17:53 [babel] Commenting out src blocks for tangling Eric S Fraga
2013-02-27 18:10 ` Aaron Ecay
2013-02-27 18:22   ` Eric S Fraga
2013-02-27 19:18 ` Alan L Tyree
2013-02-27 19:32   ` Eric S Fraga
2013-02-27 23:33     ` Darlan Cavalcante Moreira
2013-02-28  9:01       ` Rainer M Krug [this message]
2013-02-28  9:25         ` Bastien
2013-02-28  9:27           ` Rainer M Krug
2013-02-28  9:30           ` Sebastien Vauban
2013-02-28  9:42             ` Rainer M Krug
2013-02-28  9:47               ` Sebastien Vauban
2013-02-28 12:30                 ` Rainer M Krug
2013-03-02 10:31                   ` Bastien
2013-03-03  3:44                     ` Charles Berry
2013-03-03  6:18                       ` Bastien
2013-02-28  9:44             ` Bastien
2013-02-28  9:51           ` Rasmus
2013-02-28 10:05             ` Bastien
2013-02-28 19:45           ` Eric S Fraga
2013-10-18 14:37           ` Alan Schmitt
2013-10-18 16:43             ` Eric Schulte
2013-10-19  6:06               ` Alan Schmitt
2013-10-19 21:56                 ` Eric Schulte
2013-10-20 17:05                   ` Alan Schmitt
2013-10-20 21:58                     ` Eric Schulte
2013-10-21  6:49                       ` Alan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=512F1CDF.80906@gmail.com \
    --to=r.m.krug@gmail.com \
    --cc=alantyree@gmail.com \
    --cc=darcamo@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).