From: Grant Rettke <gcr@wisdomandwonder.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: How to mark headings to be exclude from inclusion in tangling or weaving?
Date: Tue, 5 Aug 2014 08:50:48 -0500 [thread overview]
Message-ID: <CAAjq1mc7-Ov21aLdc4JFfovBW4mBV5FhpMTzqcXj7WUGaUq2LQ@mail.gmail.com> (raw)
Good morning,
My system is set up to tangle and weave an org file into a .emacs.el
file. By ensuring property inheritance is configured like this
╭────
│ (setq org-babel-use-quick-and-dirty-noweb-expansion nil)
╰────
, each heading takes properties from its parents.
Sometimes I don't want that inheritance to occur for one specific
sub-heading, though, and I want to know, what is the best way to go
about that?
My current approach, which works, but is probably wrong, is to give the
property to the subheading of:
╭────
│ :PROPERTIES:
│ :noweb-ref: ignore-r-config
│ :END:
╰────
which seems to exclude it from export or tangling. Then later when I
tangle the file, noweb expansion lets me put this where I want.
What is going on here is that I've got a programming configuration
section, and it makes sense to keep it all together, but for the fact
that 90% of that config goes into the .emacs.el an 10% of goes into
another config file, so I do need to "exclude and put somewhere else"
that 10%.
emacs "GNU Emacs 24.3.1 (x86_64-apple-darwin13.2.0, Carbon Version 1.6.0
AppKit 1265.2)\n of 2014-07-03 on orion"
org "8.2.7a"
Kind regards,
Grant Rettke | ACM, ASA, FSF, IEEE, SIAM gcr@wisdomandwonder.com |
[http://www.wisdomandwonder.com/] “Wisdom begins in wonder.” –Socrates
((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since
I have been forced to stop taking it seriously.” –Thompson
reply other threads:[~2014-08-05 13:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAAjq1mc7-Ov21aLdc4JFfovBW4mBV5FhpMTzqcXj7WUGaUq2LQ@mail.gmail.com \
--to=gcr@wisdomandwonder.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).