[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Starter-kit: How to disable some heading from the initialization
From: |
Darlan Cavalcante Moreira |
Subject: |
Re: [O] Starter-kit: How to disable some heading from the initialization |
Date: |
Thu, 28 Apr 2011 12:20:14 -0300 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) Emacs/24.0 Mule/6.0 (HANACHIRUSATO) |
Thanks Eric,
Adding the property ":TANGLE: no" did the trick. I guess I was so sure the
correct value was "nil", since it is what I use when adding this to the
source blocks, that I didn't even try the more obvious "no" as a value.
--
Darlan
At Wed, 27 Apr 2011 21:43:52 -0600,
Eric Schulte wrote:
>
> Darlan Cavalcante Moreira <address@hidden> writes:
>
> > Hello list,
> >
> > I have changed my Emacs initialization from the .emacs file (loading
> > several .el files) to org-mode by using the excellent starter kit. I use a
> > single .org file with the initialization code broken down into level-1
> > headings, possible with subheadings.
> >
> > This works very well, but I'd like to disable some sections that I don't
> > need at the moment or to identify where most of the initialization time is
> > spent.
> >
> > 1.) At first I tried to add the COMMENT keyword in a heading with "C-c ;",
> > but without any effect. This would be the preferred option IMHO, since
> > you get an easy visual feedback about which parts of the
> > initialization are disabled.
> >
> > 2.) Then I tried adding the ":TANGLE: nil" property to a heading, but
> > again without success. The starter kit probably adds something such as
> > ":tangle org_file_name.el" to each source block thus overwriting
> > the :TANGLE: property of the heading.
> >
>
> Very Close, try adding the ":tangle: no" properties to headings to
> disable their tangling (note: ":TANGLE: no" should work as well).
>
> Best -- Eric
>
> >
> > 3.) At last, I tried to add ":tangle nil" to each individual source block
> > I wanted to disable. This works, but because each heading can have
> > many source blocks it is a lot of work to add this to each one (and
> > remove later if I want to enable this configuration again).
> >
> > Is there an easy way to do this? If not, I'd like to suggest 1.) or 2.) as
> > a feature request.
> >
> > --
> > Darlan
> >
>
> --
> Eric Schulte
> http://cs.unm.edu/~eschulte/