emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Darlan Cavalcante Moreira <darcamo@gmail.com>
To: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: Starter-kit: How to disable some heading from the initialization
Date: Thu, 28 Apr 2011 00:29:02 -0300	[thread overview]
Message-ID: <4db8df02.1074650a.4ec7.4679@mx.google.com> (raw)


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

             reply	other threads:[~2011-04-28  3:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-28  3:29 Darlan Cavalcante Moreira [this message]
2011-04-28  3:43 ` Starter-kit: How to disable some heading from the initialization Eric Schulte
2011-04-28 15:20   ` Darlan Cavalcante Moreira

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=4db8df02.1074650a.4ec7.4679@mx.google.com \
    --to=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).