+(setq org-refile-targets (quote ((nil :maxlevel . 9)
+ (org-agenda-files :maxlevel . 9))))
+
+
+
+
+;; Capture templates for: TODO tasks, Notes, appointments, phone calls, meetings, and org-protocol
+;(setq org-capture-templates
+; (quote (("t" "todo" entry (file "~/git/org/refile.org")
+; "* TODO %?\n%U\n%a\n" :clock-in t :clock-resume t)
+; ("r" "respond" entry (file "~/git/org/refile.org")
+; "* NEXT Respond to %:from on %:subject\nSCHEDULED: %t\n%U\n%a\n" :clock-in t :clock-resume t :immediate-finish t)
+; ("n" "note" entry (file "~/git/org/refile.org")
+; "* %? :NOTE:\n%U\n%a\n" :clock-in t :clock-resume t)
+; ("j" "Journal" entry (file+datetree "~/git/org/diary.org")
+; "* %?\n%U\n" :clock-in t :clock-resume t)
+; ("w" "org-protocol" entry (file "~/git/org/refile.org")
+; "* TODO Review %c\n%U\n" :immediate-finish t)
+; ("m" "Meeting" entry (file "~/git/org/refile.org")
+; "* MEETING with %? :MEETING:\n%U" :clock-in t :clock-resume t)
+; ("p" "Phone call" entry (file "~/git/org/refile.org")
+; "* PHONE %? :PHONE:\n%U" :clock-in t :clock-resume t)
+; ("h" "Habit" entry (file "~/git/org/refile.org")
+; "* NEXT %?\n%U\n%a\nSCHEDULED: %(format-time-string \"%<<%Y-%m-%d %a .+1d/3d>>\")\n:PROPERTIES:\n:STYLE: habit\n:REPEAT_TO_STATE: NEXT\n:END:\n"))))
+
+
+;;; org-tag
+; Tags with fast selection keys
+(setq org-tag-alist (quote ((:startgroup)
+ ("@errand" . ?e)
+ ("@office" . ?o)
+ ("@home" . ?H)
+ ("@farm" . ?f)
+ (:endgroup)
+ ("WAITING" . ?w)
+ ("HOLD" . ?h)
+ ("PERSONAL" . ?P)
+ ("WORK" . ?W)
+ ("FARM" . ?F)
+ ("ORG" . ?O)
+ ("NORANG" . ?N)
+ ("crypt" . ?E)
+ ("NOTE" . ?n)
+ ("CANCELLED" . ?c)
+ ("FLAGGED" . ??))))
+
+; Allow setting single tags without the menu
+(setq org-fast-tag-selection-single-key (quote expert))
+
+; For tag searches ignore tasks with scheduled and deadline dates
+(setq org-agenda-tags-todo-honor-ignore-options t)
+
+
+;; Always hilight the current agenda line
+(add-hook 'org-agenda-mode-hook
+ '(lambda () (hl-line-mode 1))
+ 'append)
+
+
+
+;; The following custom-set-faces create the highlights
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(org-mode-line-clock ((t (:background "grey75" :foreground "red" :box (:line-width -1 :style released-button)))) t))
+
+
+