emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: Daniele Pizzolli <dan@toel.it>
Cc: Org-mode <emacs-orgmode@gnu.org>, Ken Mankoff <mankoff@gmail.com>
Subject: Re: control tangling from section header
Date: Mon, 23 Feb 2015 15:39:45 +0100	[thread overview]
Message-ID: <m2sidwhetq.fsf@krugs.de> (raw)
In-Reply-To: <8661auhuh6.fsf@me.localhost.invalid> (Daniele Pizzolli's message of "Sun, 22 Feb 2015 15:49:25 +0100")

[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]

Daniele Pizzolli <dan@toel.it> 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
>
>
>
>
>

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

  reply	other threads:[~2015-02-23 14:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-22 14:36 control tangling from section header Ken Mankoff
2015-02-22 14:49 ` Daniele Pizzolli
2015-02-23 14:39   ` Rainer M Krug [this message]
2015-02-23 14:47     ` Ken Mankoff
2015-02-23 15:03       ` Rainer M Krug
2015-02-23 15:39         ` Ken Mankoff
2015-02-23 14:54   ` Rasmus

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=m2sidwhetq.fsf@krugs.de \
    --to=rainer@krugs.de \
    --cc=dan@toel.it \
    --cc=emacs-orgmode@gnu.org \
    --cc=mankoff@gmail.com \
    /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).