Skip to content

Commit 1d4489e

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

File tree

2 files changed

+99
-59
lines changed

2 files changed

+99
-59
lines changed

.dir-locals.el

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
(
2+
(org . (
3+
;; Set custom org-mode headline tags
4+
(setq org-todo-keywords '(
5+
(type "Vi-TODO"
6+
"Dharsh-TODO"
7+
"ASK-Trey"
8+
9+
"Vi-CURRENT(!)"
10+
"Dharsh-CURRENT(!)"
11+
12+
"|"
13+
14+
"Vi-Owner(!)"
15+
"Dharsh-Owner(!)")
16+
)
17+
)
18+
19+
)
20+
)
21+
)

index.org

Lines changed: 78 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,100 @@
1+
<<<<<<< HEAD
2+
#+TITLE: Pyrant Documentation
3+
#+AUTHOR: Dharshan Rammohan & Vishakh Kumar
4+
5+
6+
* Custom org-mode features for this file
7+
Mainly to put custom TODO types so that everyone can use them.
8+
9+
#+NAME: startup
10+
#+BEGIN_SRC emacs-lisp :tangle .dir-locals.el :noweb yes :results silent
11+
12+
(
13+
(org . (
14+
<<set_org_todo_keywords>>
15+
<<set_org_keyword_faces>>
16+
)
17+
)
18+
)
19+
#+END_SRC
20+
21+
** Set custom Org-mode headline tags
22+
#+NAME: set_org_todo_keywords
23+
#+BEGIN_SRC emacs-lisp :results silent
24+
;; Set custom org-mode headline tags
25+
(setq org-todo-keywords '(
26+
=======
27+
# -*- eval: (progn (org-babel-goto-named-src-block "startup") (org-babel-execute-src-block-maybe)) -*-
128

229
#+TITLE: Pyrant Documentation
330
#+AUTHOR: Dharshan Rammohan & Vishakh Kumar
431

532
# Local Variables:
6-
# eval: (esf/execute-startup-block)
33+
# mode: org
34+
# eval: (esf/execure-startup-block)
735
# End:
836

937

10-
11-
#+CALL: (esf/execute-startup-block)
12-
13-
** Custom org-mode features for this file
38+
* Custom org-mode features for this file
1439
#+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
40+
#+BEGIN_SRC emacs-lisp :noweb yes :results silent
41+
<<set_org_todo_keywords>>
42+
<<set_org_keyword_faces>>
43+
#+END_SRC
2244

2345
#+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"
46+
| type | Vi-TODO | Dharsh-TODO | ASK-Trey | Vi-CURRENT(!) | Dharsh-CURRENT(!) | | | Vi-Owner(!) | Dharsh-Owner(!) |
47+
48+
** Set custom Org-mode headline tags
49+
#+NAME: set_org_todo_keywords
50+
#+BEGIN_SRC emacs-lisp
51+
;; Set custom org-mode headline tags
52+
(setq-local org-todo-keywords '(
53+
>>>>>>> 58c38a2... Created custom TODO types for ease of reference and issue tracking.
54+
(type "Vi-TODO"
55+
"Dharsh-TODO"
56+
"ASK-Trey"
3457

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 ) )
58+
"Vi-CURRENT(!)"
59+
"Dharsh-CURRENT(!)"
6860

69-
)
70-
)
71-
#+END_SRC
61+
"|"
7262

63+
"Vi-Owner(!)"
64+
"Dharsh-Owner(!)")
65+
)
66+
)
67+
#+END_SRC
68+
69+
** Set colors for headline tags
70+
#+BEGIN_SRC emacs-lisp :results silent
71+
;; Set colors for headline tags
72+
<<<<<<< HEAD
73+
(setq org-todo-keyword-faces
74+
=======
75+
(setq-local org-todo-keyword-faces
76+
>>>>>>> 58c38a2... Created custom TODO types for ease of reference and issue tracking.
77+
'(
78+
;; Todo Items
79+
("Vi-TODO" . (:foreground "white" :background "blue" ) )
80+
("Dharsh-TODO" . (:foreground "black" :background "yellow" ) )
81+
("ASK-Trey" . (:foreground "red" :weight bold ) )
82+
83+
;; In-progress Items
84+
("Vi-CURRENT" . (:foreground "blue" :background "black" :weight bold ) )
85+
("Dharsh-CURRENT" . (:foreground "blue" :background "black" :weight bold ) )
86+
87+
;; Finished items that are owned by
88+
("Vi-Owner" . (:foreground "Green" :weight bold ) )
89+
("Dharsh-Owner" . (:foreground "Green" :weight bold ) )
90+
)
91+
)
92+
#+END_SRC
7393

7494

7595
* Tasks
7696

7797
** Hardware
78-
7998
*** Vi-TODO Flight Logic Controller
8099
**** Vi-TODO Connect the arduino pins to raspberry pi pins for SPI interface
81100
**** Vi-TODO Arduino

0 commit comments

Comments
 (0)