emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Starter-kit: How to disable some heading from the initialization
@ 2011-04-28  3:29 Darlan Cavalcante Moreira
  2011-04-28  3:43 ` Eric Schulte
  0 siblings, 1 reply; 3+ messages in thread
From: Darlan Cavalcante Moreira @ 2011-04-28  3:29 UTC (permalink / raw)
  To: Orgmode Mailing List


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.

 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-28 15:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28  3:29 Starter-kit: How to disable some heading from the initialization Darlan Cavalcante Moreira
2011-04-28  3:43 ` Eric Schulte
2011-04-28 15:20   ` Darlan Cavalcante Moreira

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).