THE BASICS OF TODOS
TODO
- In Org Mode, TODOs need not be stored in a single file. They can be stored in any notes file and retrieved as a list.
- Any Org level headline can be turned into a TODO item when the word TODO follows *
- Rotate the state of a TODO with
C-c C-t
TODO >> DONE >> no-state - One can also rotate TODOs in the Org agenda buffer interface with
t
S-RIGHT S-LEFT
cycles TODO states only ifshift-selection
is not operativeC-c / t
views TODOs in a sparse treeC-c / T, search for a specific TODO
KWD1|KWD2|
allows one to search multiple statesM-x org-agenda t (org-todo-list)
shows all TODO items from all agenda filesS-M-RET (org-insert-todo-heading)
TODO (Advanced)
- One can use different TODO keywords to indicate different states, even sequential states of a task.
This can be done on a file per file basis or globally.
Non-sequential example: #+SEQ_TODO: TODO(t) VISIT(v) APPOINTMENT(a) EVENT(e) | DONE(d) CANCELLED(c) Note: These are NOT sequential states by different kinds of TODOs. Note the abbreviations in parentheses. This makes for fast access to TODO states. OR, Sequential example: (setq org-todo-keywords '((sequence "TODO" "FEEDBACK" "VERIFY" "|" "DONE" "DELEGATED"))) This example gives the sequential states of a task.
Another possibility is to use different keywords to assign various tasks to different individuals:
#+SEQ_TODO: "Raoul" "Linda" "Marianne" "Stephanie" "Anita" "Tracey" "Deemter | "DONE"
- Note that the vertical bar
|
separates the TODO states from DONE ones. - I.e. any state after
|
always means the task is DONE! Any state before means in must be done. C-c C-t
toggles the state.C-c C-c
refreshes local setup.- Prefix arguments will allow you to insert a specific state
To get really fancy, one can use different faces for different keywords
(setq org-todo-keyword-faces '(("TODO" . org-warning) ("STARTED" . "yellow") ("CANCELED" . (:foreground "blue" :weight bold))))