Commit 44fad1d74520

Vincent Demeester <vincent@sbr.pm>
2015-02-14 13:17:58
Add 'Personal Kanban' quadrant agendas
1 parent 5371cdf
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -993,14 +993,14 @@
      Let's also define the default /todo-keywords/ and the workflow
      between them.
 
-- TODO : task not started yet, part of the backlog :)
-- PROGRESS : task that are currently in progress, should be a minimum
-- BLOCKED : task that I start working on but cannot anymore (for
+- =TODO= : task not started yet, part of the backlog :)
+- =PROGRESS= : task that are currently in progress, should be a minimum
+- =BLOCKED= : task that I start working on but cannot anymore (for
       some reason), thus they are blocked
-- REVIEW : task that should be done, but I need or wait for a
+- =REVIEW= : task that should be done, but I need or wait for a
       review (by someone else or by me)
-- DONE : task that are completed.
-- ARCHIVED : same as done but keep it here (and not moving into archive)
+- =DONE= : task that are completed.
+- =ARCHIVED= : same as done but keep it here (and not moving into archive)
 
      #+begin_src emacs-lisp
        (defface org-progress ; font-lock-warning-face
@@ -1229,7 +1229,7 @@
      buffers.
 
      #+BEGIN_SRC emacs-lisp
-       (set org-tag-alist '(
+       (setq org-tag-alist '(
                             ("important" . ?i)
                             ("urgent" . ?u)
                             ("@home" . ?h)     ;; needs to be done at home
@@ -1266,7 +1266,8 @@
        (global-set-key (kbd "C-c a") 'org-agenda)
      #+END_SRC
 
-Then set custom agendas..
+Then set custom agendas.. For the syntax, look in worg : [[http://orgmode.org/worg/org-tutorials/advanced-searching.html][Advanced
+searching]] and [[http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html][Custom Agenda Commands]].
 
      #+BEGIN_SRC emacs-lisp
        (setq org-agenda-custom-commands
@@ -1282,12 +1283,50 @@
                ("b" todo "BLOCKED"
                 ((org-agenda-sorting-strategy '(priority-down))
                  (org-agenda-prefix-format "  Mixed: ")))
-               ("Z" tags-tree "+zenika"
-                ((org-show-following-heading nil)
-                 (org-show-hierarchy-above nil)))
-               ("N" search ""
-                ((org-agenda-files '("~org/notes.org"))
-                 (org-agenda-text-search-extra-files nil)))))
+               ;; Panic tasks : urgent & important
+               ;; Probably the most important to do, but try not have to much of them..
+               ("Pt" "Panic -emergency-" tags-todo "important&urgent/!TODO"
+                ((org-agenda-sorting-strategy '(priority-down))
+                 (org-agenda-prefix-format "  Mixed: ")))
+               ("Pb" "Panic -emergency- blocked" tags-todo "important&urgent/!BLOCKED"
+                ((org-agenda-sorting-strategy '(priority-down))
+                 (org-agenda-prefix-format "  Mixed: ")))
+               ("Pr" "Panic -emergency- review" tags-todo "important&urgent/!REVIEW"
+                ((org-agenda-sorting-strategy '(priority-down))
+                 (org-agenda-prefix-format "  Mixed: ")))
+               ;; Kaizen tasks : important but not urgent
+               ("Kt" "Kaizen -improvement-" tags-todo "important&-urgent/!TODO"
+                ((org-agenda-sorting-strategy '(priority-down))
+                 (org-agenda-prefix-format "  Mixed: ")))
+               ("Kb" "Kaizen -improvement- blocked" tags-todo "important&-urgent/!BLOCKED"
+                ((org-agenda-sorting-strategy '(priority-down))
+                 (org-agenda-prefix-format "  Mixed: ")))
+               ("Kr" "Kaizen -improvement- review" tags-todo "important&-urgent/!REVIEW"
+                ((org-agenda-sorting-strategy '(priority-down))
+                 (org-agenda-prefix-format "  Mixed: ")))
+               ;; Social investment : urgent
+               ("St" "Social -investment-" tags-todo "-important&urgent/!TODO"
+                ((org-agenda-sorting-strategy '(priority-down))
+                 (org-agenda-prefix-format "  Mixed: ")))
+               ("Sb" "Social -investment- blocked" tags-todo "-important&urgent/!BLOCKED"
+                ((org-agenda-sorting-strategy '(priority-down))
+                 (org-agenda-prefix-format "  Mixed: ")))
+               ("Sr" "Social -investment- review" tags-todo "-important&urgent/!REVIEW"
+                ((org-agenda-sorting-strategy '(priority-down))
+                 (org-agenda-prefix-format "  Mixed: ")))
+               ;; Organics
+               ("Ot" "Organics -inspiration-" tags-todo "-important&-urgent/!TODO"
+                ((org-agenda-sorting-strategy '(priority-down))
+                 (org-agenda-prefix-format "  Mixed: ")))
+               ("Ob" "Organics -inspiration- blocked" tags-todo "-important&-urgent/!BLOCKED"
+                ((org-agenda-sorting-strategy '(priority-down))
+                 (org-agenda-prefix-format "  Mixed: ")))
+               ("Or" "Organics -inspiration- review" tags-todo "-important&-urgent/!REVIEW"
+                ((org-agenda-sorting-strategy '(priority-down))
+                 (org-agenda-prefix-format "  Mixed: ")))
+             ("N" search ""
+              ((org-agenda-files '("~org/notes.org"))
+               (org-agenda-text-search-extra-files nil)))))
      #+END_SRC
 
 **** TODO Integration with git