From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: [babel] Commenting out src blocks for tangling Date: Wed, 27 Feb 2013 20:33:31 -0300 Message-ID: <512e97cf.82c1ec0a.76d4.ffffc5f1@mx.google.com> References: <87r4k18wy2.fsf@ucl.ac.uk> <87mwup8t0q.fsf@breezy.my.home> <87bob58sdi.fsf@ucl.ac.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAqVU-0004n9-3H for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 18:34:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAqVG-0002GQ-Jc for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 18:33:51 -0500 Received: from mail-gg0-x230.google.com ([2607:f8b0:4002:c02::230]:36219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAqVG-0002Fp-C3 for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 18:33:38 -0500 Received: by mail-gg0-f176.google.com with SMTP id q6so178724ggc.35 for ; Wed, 27 Feb 2013 15:33:37 -0800 (PST) In-Reply-To: <87bob58sdi.fsf@ucl.ac.uk> 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: Alan L Tyree , emacs-orgmode@gnu.org 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. -- 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 > >