From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: control tangling from section header Date: Mon, 23 Feb 2015 15:39:45 +0100 Message-ID: References: <8661auhuh6.fsf@me.localhost.invalid> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPuBN-0003fR-4B for emacs-orgmode@gnu.org; Mon, 23 Feb 2015 09:40:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPuB9-0007Y2-Ko for emacs-orgmode@gnu.org; Mon, 23 Feb 2015 09:40:25 -0500 Received: from mail-we0-f182.google.com ([74.125.82.182]:35779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPuB9-0007XB-Bd for emacs-orgmode@gnu.org; Mon, 23 Feb 2015 09:40:11 -0500 Received: by wevl61 with SMTP id l61so14573744wev.2 for ; Mon, 23 Feb 2015 06:40:09 -0800 (PST) In-Reply-To: <8661auhuh6.fsf@me.localhost.invalid> (Daniele Pizzolli's message of "Sun, 22 Feb 2015 15:49:25 +0100") 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: Daniele Pizzolli Cc: Org-mode , Ken Mankoff --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Daniele Pizzolli writes: > Hello Ken, > > Ken Mankoff writes: > >> I'm working with my literate init file (emacs.org), and would like to >> have certain sections not tangle. I currently do this with ":tangle no" >> at the SRC block level. Is it possible to control tangling with tags at >> the header level? > > Not with tag but with PROPERTIES: > > * outline header > :PROPERTIES: > :header-args: :tangle no > :END: > > More at > http://orgmode.org/manual/Header-arguments-in-Org-mode-properties.html > >> It would make it much easier to disable/enable sections, and see what >> sections are enabled/disabled, if the tangling state were more clearly >> visible like tags are. > > I do not think that this is currently possible. If I am not mistaken, you can mark the header as COMMENT and no code blocks under this header are tangled. Cheers, Rainer > > Best, > Daniele > > > > > =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJU6zu2AAoJENvXNx4PUvmC8YUH/R3zzUjUenNqauJoO8KA2n2V scH2FdU01/vWdd+9MZaIGq/Xl5NhSsvzKSgTAzmmLLoZYYxWxtm91f1ktoWnJ5d+ ZMX9roCjCLpLh7HOU/phImAjPeKYmznKcypaah4r90dKL2gUtoqXDZ3fitFLd/D2 +E8VPWuIKIZuoZ8a9OpWnsR7G/pThHTVuKFQgEAqudO29pdAqow7KSc4StplSdhN CiqLxfj2aMwziz8FNdPq1Nx5tTlwndCH2bsh98XaE+fmiqz2FFayL6ASqFT8J1UJ PFsvUQJ4O66tnEoDlMH/cJQS1acJ+zyS4z2y7fsQa8lYgXZifUqmVOyihj2GiNw= =6Cvi -----END PGP SIGNATURE----- --=-=-=--