|
1 | | - |
2 | 1 | #+TITLE: Pyrant Documentation |
3 | 2 | #+AUTHOR: Dharshan Rammohan & Vishakh Kumar |
4 | 3 |
|
5 | | -# Local Variables: |
6 | | -# eval: (esf/execute-startup-block) |
7 | | -# End: |
8 | | - |
9 | | - |
10 | 4 |
|
11 | | -#+CALL: (esf/execute-startup-block) |
| 5 | +* Custom org-mode features for this file |
| 6 | +Mainly to put custom TODO types so that everyone can use them. |
12 | 7 |
|
13 | | -** Custom org-mode features for this file |
14 | 8 | #+NAME: startup |
15 | | -#+BEGIN_LISP :noweb yes |
16 | | -(defun esf/execute-startup-block () |
17 | | - |
18 | | - <<set_org_todo_keywords>> |
19 | | - <<set_org_keyword_faces>> |
| 9 | +#+BEGIN_SRC emacs-lisp :tangle .dir-locals.el :noweb yes :results silent |
| 10 | + |
| 11 | +( |
| 12 | + (org . ( |
| 13 | + <<set_org_todo_keywords>> |
| 14 | + <<set_org_keyword_faces>> |
| 15 | + ) |
| 16 | + ) |
20 | 17 | ) |
21 | | -#+END_LISP |
22 | | - |
23 | | -#+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" |
| 18 | +#+END_SRC |
| 19 | + |
| 20 | +** Set custom Org-mode headline tags |
| 21 | +#+NAME: set_org_todo_keywords |
| 22 | +#+BEGIN_SRC emacs-lisp |
| 23 | +;; Set custom org-mode headline tags |
| 24 | +(setq org-todo-keywords '( |
| 25 | + (type "Vi-TODO" |
| 26 | + "Dharsh-TODO" |
| 27 | + "ASK-Trey" |
34 | 28 |
|
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 ) ) |
| 29 | + "Vi-CURRENT(!)" |
| 30 | + "Dharsh-CURRENT(!)" |
68 | 31 |
|
69 | | - ) |
70 | | - ) |
71 | | - #+END_SRC |
| 32 | + "|" |
72 | 33 |
|
| 34 | + "Vi-Owner(!)" |
| 35 | + "Dharsh-Owner(!)") |
| 36 | + ) |
| 37 | +) |
| 38 | +#+END_SRC |
| 39 | + |
| 40 | +** Set colors for headline tags |
| 41 | +#+BEGIN_SRC emacs-lisp :results silent |
| 42 | +;; Set colors for headline tags |
| 43 | +(setq org-todo-keyword-faces |
| 44 | + '( |
| 45 | + ;; Todo Items |
| 46 | + ("Vi-TODO" . (:foreground "white" :background "blue" ) ) |
| 47 | + ("Dharsh-TODO" . (:foreground "black" :background "yellow" ) ) |
| 48 | + ("ASK-Trey" . (:foreground "red" :weight bold ) ) |
| 49 | + |
| 50 | + ;; In-progress Items |
| 51 | + ("Vi-CURRENT" . (:foreground "blue" :background "black" :weight bold ) ) |
| 52 | + ("Dharsh-CURRENT" . (:foreground "blue" :background "black" :weight bold ) ) |
| 53 | + |
| 54 | + ;; Finished items that are owned by |
| 55 | + ("Vi-Owner" . (:foreground "Green" :weight bold ) ) |
| 56 | + ("Dharsh-Owner" . (:foreground "Green" :weight bold ) ) |
| 57 | + ) |
| 58 | +) |
| 59 | +#+END_SRC |
73 | 60 |
|
74 | 61 |
|
75 | 62 | * Tasks |
76 | 63 |
|
77 | 64 | ** Hardware |
78 | | - |
79 | 65 | *** Vi-TODO Flight Logic Controller |
80 | 66 | **** Vi-TODO Connect the arduino pins to raspberry pi pins for SPI interface |
81 | 67 | **** Vi-TODO Arduino |
|
0 commit comments