How to Use This DocumentΒΆ

Add the following scripts to your .emacs

(require 'org)
(setq org-confirm-babel-evaluate nil)  ;; evaluate src block without confirmation

;;;;;;; [2015-01-22 Thu 21:27]
(defvar endless/ 5
  "What depth of headers to message at startup.")

  (insert-file "~/git/.emacs.d/yt/")
  (goto-char (point-min))

  ;; org babels
  (search-forward "\n* Babel Library")
  (let ((tmp-file (make-temp-file "tmp")))
    (with-temp-file tmp-file (yank))
    (org-babel-lob-ingest tmp-file))

  ;; emacs lisp functions
  (goto-char (point-min))
  (search-forward "\n* Emacs Configuration")
  (while (not (eobp))
    (forward-line 1)
     ;; Report Headers
       (format "\\*\\{2,%s\\} +.*$"
      (message "%s" (match-string 0)))
      ;; (message (format (current-time-string))))
     ;; Evaluate Code Blocks
     ((looking-at "[\s]*\\#\\+begin_src\semacs-lisp")
      ;; ((looking-at "#\\+BEGIN_SRC +emacs-lisp.*$")
      ;; ((looking-at "^#\\+BEGIN_SRC +.*$")
     ;; Finish on the next level-1 header
     ((looking-at "^\\* End")
      (goto-char (point-max))))))