emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to mark headings to be exclude from inclusion in tangling or weaving?
@ 2014-08-05 13:50 Grant Rettke
  0 siblings, 0 replies; only message in thread
From: Grant Rettke @ 2014-08-05 13:50 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-05 13:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05 13:50 How to mark headings to be exclude from inclusion in tangling or weaving? Grant Rettke

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