From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: How to mark headings to be exclude from inclusion in tangling or weaving? Date: Tue, 5 Aug 2014 08:50:48 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEf8h-0005Fz-2Y for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 09:50:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEf8e-0000yi-5X for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 09:50:55 -0400 Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:34030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEf8e-0000y3-0k for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 09:50:52 -0400 Received: by mail-ob0-f175.google.com with SMTP id wp18so688963obc.6 for ; Tue, 05 Aug 2014 06:50:48 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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 =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 (setq org-babel-use-quick-and-dirty-noweb-expansion nil) =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 , 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: =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 :PROPERTIES: =E2=94=82 :noweb-ref: ignore-r-config =E2=94=82 :END: =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 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/] =E2=80=9CWisdom begins in wonder.=E2=80= =9D =E2=80=93Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurab= ly better since I have been forced to stop taking it seriously.=E2=80=9D =E2=80=93Thompson