From 62b0b5b859230f59bb3e6cbe1ac2da410063c071 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 28 Oct 2015 06:38:18 -0400 Subject: org maintenance --- maker.org | 49 +++++++++++++++++++++++++------------- org/ao_abstract_doc_source.org | 3 ++- org/ao_assertions.org | 3 ++- org/ao_defaults.org | 3 ++- org/ao_emitters_and_interfaces.org | 3 ++- org/ao_markup_source_raw.org | 3 ++- org/ao_object_setter.org | 3 ++- org/ao_output_debugs.org | 3 ++- org/ao_rgx.org | 3 ++- org/ao_scan_inserts.org | 3 ++- org/sdp.org | 9 +++---- readme.org | 16 +++++++++++-- 12 files changed, 70 insertions(+), 31 deletions(-) diff --git a/maker.org b/maker.org index 070b6a6..f7f494e 100644 --- a/maker.org +++ b/maker.org @@ -1,4 +1,4 @@ -#+TITLE: Emacs config file written in org-mode +#+TITLE: sdp (project) makefile #+AUTHOR: Ralph Amissah #+EMAIL: ralph.amissah@gmail.com #+STARTUP: indent @@ -10,11 +10,12 @@ #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+TAGS: Amissah(A) Class(c) WEB(W) noexport(n) +#+FILETAGS: :project:sdp:makefile: -* makefile :makefile: -** settings [+2] -*** alternative D compilers [+1] -**** dmd +* makefile +** settings [+2] :settings: +*** alternative D compilers [+1] :compiler: +**** dmd :dmd: #+name: makefile #+BEGIN_SRC makefile :exports none DMD=dmd @@ -23,7 +24,7 @@ DMD_FLAGS_RELEASE=-release DMD_FLAG_BINOF=-of #+end_src -**** ldc2 +**** ldc2 :ldc: #+name: makefile #+BEGIN_SRC makefile :exports none LDC=ldc2 @@ -32,7 +33,7 @@ LDC_FLAGS_RELEASE=-release LDC_FLAG_BINOF=-of= #+end_src -**** gdc +**** gdc :gdc: #+name: makefile #+BEGIN_SRC makefile :exports none GDC=gdc @@ -42,10 +43,10 @@ GDC_FLAGS_RELEASE=-frelease GDC_FLAG_BINOF=-o #+end_src -*** set/select: ~D compiler~ & ~debug flags~ [+1] [2/2] +*** set/select: ~D compiler~ & ~debug flags~ [+1] [2/2] :select: - [X] Set D_COMPILER (one of DMD LDC or GDC) - [X] Set debug flags (using DMD standard flag -debug=) -**** SET compiler: "SET_D_COMPILER=": +**** SET compiler: "SET_D_COMPILER=": :compiler:select: Set D_COMPILER one of DMD LDC or GDC e.g.: SET_D_COMPILER=DMD #+name: makefile @@ -54,7 +55,7 @@ Set D_COMPILER one of DMD LDC or GDC e.g.: SET_D_COMPILER=LDC #+end_src -**** SET debug flags: "SET_DC_FLAGS_DEBUG_EXTRA=-debug=": +**** SET debug flags: "SET_DC_FLAGS_DEBUG_EXTRA=-debug=": :compiler:flags:debug: Set debug flags using DMD standard flag -debug= e.g.: SET_DC_FLAGS_DEBUG_EXTRA=-debug=headings -debug=bookindex #+name: makefile @@ -62,7 +63,7 @@ Set debug flags using DMD standard flag -debug= e.g.: SET_DC_FLAGS_DEBUG_EXTRA=-debug=headings -debug=bookindex #+end_src -*** D compiler settings [+1] +*** D compiler settings [+1] :settings:compiler: **** compiler settings #+name: makefile #+BEGIN_SRC makefile :exports none @@ -89,7 +90,7 @@ ifeq ($(DC), $(GDC)) endif #+end_src -*** Project Details +*** Project Details :project:sdp: #+name: makefile #+BEGIN_SRC makefile :exports none PRG_NAME=sdp @@ -99,7 +100,7 @@ PRG_BIN=$(PRG_NAME) PRG_BINDIR=bin #+end_src -*** Emacs Org settings +*** Emacs Org settings :settings:emacs:org: #+name: makefile #+BEGIN_SRC makefile :exports none # ORG @@ -111,7 +112,22 @@ ORGFILES="" ORGDIR=$(shell echo `pwd`) #+end_src -** "make" commands [+2] +** "make" commands [+2] :make:commands: +- build commands + - build + - debug + - release +- init, clean, distclean etc. + - init + - clean + - expunge + - distclean + - distclean_and_init +- org babel tangle + - tangle +- git snapshot + - gitsnapshot + *** build commands [+1] **** build rebuild #+name: makefile @@ -218,8 +234,9 @@ gitsnapshot: distclean_and_init tangle tangle #+end_src -* sh script to batch process emacs org babel tangle :tangle: +* sh script to batch process emacs org babel tangle :shell_script:tangle: [http://orgmode.org/manual/Batch-execution.html] +creates a shell batch script called "tangle", that will tangle (emacs org babel tangle) org files in ./org/ to create .d source files in ./lib/sdp/ (similar functionality is contained within the "makefile" created by this "maker.org" file make tangle) #+BEGIN_SRC sh :tangle tangle :tangle-mode (identity #o755) :shebang #!/bin/sh # -*- mode: shell-script -*- # tangle files with org-mode @@ -245,7 +262,7 @@ emacs --batch -Q -q \ (kill-buffer)) '($ORGFILES)))" 2>&1 #|grep tangled #+end_src -* tangle +* tangle :tangle: ** makefile: :makefile: #+name: tangle_ao_rgx #+BEGIN_SRC makefile :tangle makefile :exports none :noweb yes diff --git a/org/ao_abstract_doc_source.org b/org/ao_abstract_doc_source.org index 97da031..257213c 100644 --- a/org/ao_abstract_doc_source.org +++ b/org/ao_abstract_doc_source.org @@ -6,10 +6,11 @@ #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+OPTIONS: author:nil email:nil creator:nil timestamp:nil -#+OPTIONS: ^:nil _:nil#+OPTIONS: ^:nil _:nil +#+OPTIONS: ^:nil _:nil #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+TAGS: Amissah(A) Class(c) tangle(T) template(t) WEB(W) noexport(n) +#+FILETAGS: :sdp:ao: * document abstraction Process markup document, create document abstraction. diff --git a/org/ao_assertions.org b/org/ao_assertions.org index e687c20..c6b09bb 100644 --- a/org/ao_assertions.org +++ b/org/ao_assertions.org @@ -6,10 +6,11 @@ #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+OPTIONS: author:nil email:nil creator:nil timestamp:nil -#+OPTIONS: ^:nil _:nil#+OPTIONS: ^:nil _:nil +#+OPTIONS: ^:nil _:nil #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+TAGS: Amissah(A) Class(c) WEB(W) noexport(n) +#+FILETAGS: :sdp:ao: * assertions ** mixin template: assertions on markup document structure diff --git a/org/ao_defaults.org b/org/ao_defaults.org index c98d75c..e16ed59 100644 --- a/org/ao_defaults.org +++ b/org/ao_defaults.org @@ -6,10 +6,11 @@ #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+OPTIONS: author:nil email:nil creator:nil timestamp:nil -#+OPTIONS: ^:nil _:nil#+OPTIONS: ^:nil _:nil +#+OPTIONS: ^:nil _:nil #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+TAGS: Amissah(A) Class(c) WEB(W) noexport(n) +#+FILETAGS: :sdp:ao: * defaults ** template: header diff --git a/org/ao_emitters_and_interfaces.org b/org/ao_emitters_and_interfaces.org index d068b78..8729a74 100644 --- a/org/ao_emitters_and_interfaces.org +++ b/org/ao_emitters_and_interfaces.org @@ -6,10 +6,11 @@ #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+OPTIONS: author:nil email:nil creator:nil timestamp:nil -#+OPTIONS: ^:nil _:nil#+OPTIONS: ^:nil _:nil +#+OPTIONS: ^:nil _:nil #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+TAGS: Amissah(A) Class(c) WEB(W) noexport(n) +#+FILETAGS: :sdp:ao: * emitters & interfaces ao_interface.d diff --git a/org/ao_markup_source_raw.org b/org/ao_markup_source_raw.org index f9bd866..ec94448 100644 --- a/org/ao_markup_source_raw.org +++ b/org/ao_markup_source_raw.org @@ -6,10 +6,11 @@ #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+OPTIONS: author:nil email:nil creator:nil timestamp:nil -#+OPTIONS: ^:nil _:nil#+OPTIONS: ^:nil _:nil +#+OPTIONS: ^:nil _:nil #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+TAGS: Amissah(A) Class(c) WEB(W) noexport(n) +#+FILETAGS: :sdp:ao: * markup source raw ** source string diff --git a/org/ao_object_setter.org b/org/ao_object_setter.org index 44c7c3e..b6d2680 100644 --- a/org/ao_object_setter.org +++ b/org/ao_object_setter.org @@ -6,10 +6,11 @@ #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+OPTIONS: author:nil email:nil creator:nil timestamp:nil -#+OPTIONS: ^:nil _:nil#+OPTIONS: ^:nil _:nil +#+OPTIONS: ^:nil _:nil #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+TAGS: Amissah(A) Class(c) WEB(W) noexport(n) +#+FILETAGS: :sdp:ao: * object setter ** comment diff --git a/org/ao_output_debugs.org b/org/ao_output_debugs.org index c84ab82..f63fcad 100644 --- a/org/ao_output_debugs.org +++ b/org/ao_output_debugs.org @@ -6,10 +6,11 @@ #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+OPTIONS: author:nil email:nil creator:nil timestamp:nil -#+OPTIONS: ^:nil _:nil#+OPTIONS: ^:nil _:nil +#+OPTIONS: ^:nil _:nil #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+TAGS: Amissah(A) Class(c) WEB(W) noexport(n) +#+FILETAGS: :sdp:ao: * output debugs ** (parent) diff --git a/org/ao_rgx.org b/org/ao_rgx.org index 90c7492..f168e7a 100644 --- a/org/ao_rgx.org +++ b/org/ao_rgx.org @@ -6,10 +6,11 @@ #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+OPTIONS: author:nil email:nil creator:nil timestamp:nil -#+OPTIONS: ^:nil _:nil#+OPTIONS: ^:nil _:nil +#+OPTIONS: ^:nil _:nil #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+TAGS: Amissah(A) Class(c) WEB(W) noexport(n) +#+FILETAGS: :sdp:ao: * regex ** misc diff --git a/org/ao_scan_inserts.org b/org/ao_scan_inserts.org index cd5c169..167553a 100644 --- a/org/ao_scan_inserts.org +++ b/org/ao_scan_inserts.org @@ -6,10 +6,11 @@ #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+OPTIONS: author:nil email:nil creator:nil timestamp:nil -#+OPTIONS: ^:nil _:nil#+OPTIONS: ^:nil _:nil +#+OPTIONS: ^:nil _:nil #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+TAGS: Amissah(A) Class(c) WEB(W) noexport(n) +#+FILETAGS: :sdp:ao: * inserts ** scan inserts (sub-document) source diff --git a/org/sdp.org b/org/sdp.org index b9c9f85..a9881ee 100644 --- a/org/sdp.org +++ b/org/sdp.org @@ -6,12 +6,13 @@ #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+OPTIONS: author:nil email:nil creator:nil timestamp:nil -#+OPTIONS: ^:nil _:nil#+OPTIONS: ^:nil _:nil +#+OPTIONS: ^:nil _:nil #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+TAGS: Amissah(A) Class(c) WEB(W) noexport(n) +#+FILETAGS: :sdp: -* sdp.d +* sdp.d :sdp.d: Deal with imports. Take command line instructions and process files as instructed. ** imports @@ -230,8 +231,8 @@ writeln("no recognized filename"); break; // terminate, stop #+end_src -* tangles -** code structure :sdp.d: +* tangles :tangle: +** code structure :sdp.d: #+name: tangle_sdp #+BEGIN_SRC d :tangle ../lib/sdp/sdp.d :exports none :noweb yes #!/usr/bin/env rdmd diff --git a/readme.org b/readme.org index 600adc8..12b5d18 100644 --- a/readme.org +++ b/readme.org @@ -1,6 +1,18 @@ -#+OPTIONS: ^:nil _:nil#+OPTIONS: ^:nil _:nil +#+TITLE: Summary of Dotfiles +#+AUTHOR: Ralph Amissah +#+EMAIL: ralph.amissah@gmail.com +#+STARTUP: indent +#+LANGUAGE: en +#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t +#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc +#+OPTIONS: author:nil email:nil creator:nil timestamp:nil +#+OPTIONS: ^:nil _:nil +#+EXPORT_SELECT_TAGS: export +#+EXPORT_EXCLUDE_TAGS: noexport #+PRIORITIES: A F E -* sdp :sdp: +#+TAGS: Amissah(A) Class(c) WEB(W) noexport(n) +#+FILETAGS: :sdp:readme: +* sdp ** debug :debug: objects header -- cgit v1.2.3