Skip to content

Commit 58c38a2

Browse files
Vishakh KumarVishakh Kumar
authored andcommitted
Created custom TODO types for ease of reference and issue tracking.
1 parent 8461bb1 commit 58c38a2

File tree

1 file changed

+47
-58
lines changed

1 file changed

+47
-58
lines changed

index.org

Lines changed: 47 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,64 @@
1+
# -*- eval: (progn (org-babel-goto-named-src-block "startup") (org-babel-execute-src-block-maybe)) -*-
12

23
#+TITLE: Pyrant Documentation
34
#+AUTHOR: Dharshan Rammohan & Vishakh Kumar
45

56
# Local Variables:
6-
# eval: (esf/execute-startup-block)
7+
# mode: org
8+
# eval: (esf/execure-startup-block)
79
# End:
810

911

10-
11-
#+CALL: (esf/execute-startup-block)
12-
13-
** Custom org-mode features for this file
12+
* Custom org-mode features for this file
1413
#+NAME: startup
15-
#+BEGIN_LISP :noweb yes
16-
(defun esf/execute-startup-block ()
17-
18-
<<set_org_todo_keywords>>
19-
<<set_org_keyword_faces>>
20-
)
21-
#+END_LISP
14+
#+BEGIN_SRC emacs-lisp :noweb yes :results silent
15+
<<set_org_todo_keywords>>
16+
<<set_org_keyword_faces>>
17+
#+END_SRC
2218

2319
#+RESULTS: startup
24-
: esf/execute-startup-block
25-
26-
*** Set custom Org-mode headline tags
27-
#+NAME: set_org_todo_keywords
28-
#+BEGIN_SRC emacs-lisp
29-
;; Set custom org-mode headline tags
30-
(setq org-todo-keywords '(
31-
(type "Vi-TODO"
32-
"Dharsh-TODO"
33-
"ASK-Trey"
20+
| type | Vi-TODO | Dharsh-TODO | ASK-Trey | Vi-CURRENT(!) | Dharsh-CURRENT(!) | | | Vi-Owner(!) | Dharsh-Owner(!) |
21+
22+
** Set custom Org-mode headline tags
23+
#+NAME: set_org_todo_keywords
24+
#+BEGIN_SRC emacs-lisp
25+
;; Set custom org-mode headline tags
26+
(setq-local org-todo-keywords '(
27+
(type "Vi-TODO"
28+
"Dharsh-TODO"
29+
"ASK-Trey"
3430

35-
"Vi-CURRENT(!)"
36-
"Dharsh-CURRENT(!)"
37-
38-
"|"
39-
40-
"Vi-Owner(!)"
41-
"Dharsh-Owner(!)")
42-
)
43-
)
44-
#+END_SRC
45-
46-
#+RESULTS: set_org_todo_keywords
47-
| type | Vi-TODO | Dharsh-TODO | ASK-Trey | Vi-CURRENT(!) | Dharsh-CURRENT(!) | | | Vi-Owner(!) | Dharsh-Owner(!) |
48-
49-
*** Set colors for headline tags
50-
#+NAME: set_org_keyword_faces
51-
#+BEGIN_SRC emacs-lisp
52-
;; Set colors for headline tags
53-
(setq org-todo-keyword-faces
54-
'(
55-
56-
;; Todo Items
57-
("Vi-TODO" . (:foreground "white" :background "blue" ) )
58-
("Dharsh-TODO" . (:foreground "black" :background "yellow" ) )
59-
("ASK-Trey" . (:foreground "red" :weight bold ) )
60-
61-
;; In-progress Items
62-
("Vi-CURRENT" . (:foreground "blue" :background "black" :weight bold ) )
63-
("Dharsh-CURRENT" . (:foreground "blue" :background "black" :weight bold ) )
64-
65-
;; Finished items that are owned by
66-
("Vi-Owner" . (:foreground "Green" :weight bold ) )
67-
("Dharsh-Owner" . (:foreground "Green" :weight bold ) )
31+
"Vi-CURRENT(!)"
32+
"Dharsh-CURRENT(!)"
6833

69-
)
70-
)
71-
#+END_SRC
34+
"|"
7235

36+
"Vi-Owner(!)"
37+
"Dharsh-Owner(!)")
38+
)
39+
)
40+
#+END_SRC
41+
42+
** Set colors for headline tags
43+
#+BEGIN_SRC emacs-lisp :results silent
44+
;; Set colors for headline tags
45+
(setq-local org-todo-keyword-faces
46+
'(
47+
;; Todo Items
48+
("Vi-TODO" . (:foreground "white" :background "blue" ) )
49+
("Dharsh-TODO" . (:foreground "black" :background "yellow" ) )
50+
("ASK-Trey" . (:foreground "red" :weight bold ) )
51+
52+
;; In-progress Items
53+
("Vi-CURRENT" . (:foreground "blue" :background "black" :weight bold ) )
54+
("Dharsh-CURRENT" . (:foreground "blue" :background "black" :weight bold ) )
55+
56+
;; Finished items that are owned by
57+
("Vi-Owner" . (:foreground "Green" :weight bold ) )
58+
("Dharsh-Owner" . (:foreground "Green" :weight bold ) )
59+
)
60+
)
61+
#+END_SRC
7362

7463

7564
* Tasks

0 commit comments

Comments
 (0)