     ;; Configure paths
     (setq org-directory "~/Notes")
     (setq org-default-notes-file (concat org-directory "/Inbox.org"))
-    (setq org-blank-before-new-entry
-	  '((heading . t)
-	    (plain-list-item . auto)))
+    ;; (setq org-blank-before-new-entry
+    ;; 	  '((heading . t)
+    ;; 	    (plain-list-item . auto)))
 
     ;; Configure the agenda
     (setq org-agenda-window-setup 'other-window)
+    (setq org-agenda-span 'day)
     (setq org-agenda-files
 	  '("~/Notes/Inbox.org" 
 	    "~/Notes/Habits.org" 

	    "~/Notes/Projects.org" 
	    "~/Notes/Reference/Emacs/OrgMode.org"))
    
    ;; Configure refile
    (setq org-refile-targets 
	  (quote ((nil :maxlevel . 9)
		  (org-agenda-files :maxlevel . 9))))

    (setq org-outline-path-complete-in-steps nil)
    
    ;; Configure TODO settings
    (setq org-log-done 'time)
    (setq org-log-into-drawer t)
    (setq org-log-reschedule 'time)
    (setq org-log-refile 'time)
    (setq org-datetree-add-timestamp 'inactive)
    (setq org-habit-graph-column 60)
    (setq org-todo-keywords
	  '((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!)")
	    (sequence "WAIT(w@/!)" "HOLD(h)" "|" "CANC(c@)")))

    ;; Configure capture templates
    (setq org-capture-templates
	  '(("t" "Task" entry (file+headline "~/Notes/Inbox.org" "Tasks")
             "* TODO %?\n  %i\n  %a" :empty-lines 1)
	    ("j" "Journal" entry (file+datetree "~/Notes/Journal.org")
             "* %<%l:%M %p> %?\n " :empty-lines 1)
	    ("w" "Weight" table-line (file+headline "~/Notes/Metrics.org" "Weight")
	     "| %U | %^{Weight} | %^{Notes} |" :kill-buffer)
	    ("p" "Blood Pressure" table-line (file+headline "~/Notes/Metrics.org" "Blood Pressure")
	     "| %U | %^{Systolic} | %^{Diastolic} | %^{Notes}" :kill-buffer)
	    ))

    ;; Configure custom agenda views
    (setq org-agenda-custom-commands
	  '(("n" todo "NEXT"
	     ((org-agenda-overriding-header "Next Actions")))
	    ("d" "Dashboard" 
	     ((agenda "")
	      (todo "NEXT"
		    ((org-agenda-overriding-header "Next Actions")))
	      (todo "TODO"
		    ((org-agenda-overriding-header "Inbox")
		     (org-agenda-files '("~/Notes/Inbox.org"))
		     (org-agenda-text-search-extra-files nil)))))
	    ))

    ;; Configure common tags
    (setq org-tag-alist (quote ((:startgroup)
				("@errand" . ?e)
				("@work" . ?w)
				("@home" . ?H)
				(:endgroup)
				("waiting" . ?w)
				("onhold" . ?h)
				("projects" ?p)
				("personal" . ?P)
				("note" . ?n)
				("idea" . ?i)
				("journal" . ?j)
				("publish" . ?b)
				("cancelled" . ?c))))

    ;; Configure task state change tag triggers
    (setq org-todo-state-tags-triggers
      (quote (("CANC" ("cancelled" . t))
              ("WAIT" ("waiting" . t))
              ("HOLD" ("waiting") ("onhold" . t))
              (done ("waiting") ("onhold"))
              ("TODO" ("waiting") ("cancelled") ("onhold"))
              ("NEXT" ("waiting") ("cancelled") ("onhold"))
              ("DONE" ("waiting") ("cancelled") ("onhold")))))
    
    ;; Configure modules
    (setq org-modules 
	  '(org-bbdb org-crypt org-gnus org-habit org-bookmark org-drill org-eshell org-eval org-expiry org-learn org-notmuch org-man org-toc org-irc org-mhe org-vm org-w3m org-wl))

    ;; Configure key bindings
    (global-set-key "\C-cl" 'org-store-link)
