|
| 1 | +# -*- eval: (progn (org-babel-goto-named-src-block "startup") (org-babel-execute-src-block-maybe)) -*- |
1 | 2 |
|
2 | 3 | #+TITLE: Pyrant Documentation |
3 | 4 | #+AUTHOR: Dharshan Rammohan & Vishakh Kumar |
4 | 5 |
|
5 | 6 | # Local Variables: |
6 | | -# eval: (esf/execute-startup-block) |
| 7 | +# mode: org |
| 8 | +# eval: (esf/execure-startup-block) |
7 | 9 | # End: |
8 | 10 |
|
9 | 11 |
|
10 | | - |
11 | | -#+CALL: (esf/execute-startup-block) |
12 | | - |
13 | | -** Custom org-mode features for this file |
| 12 | +* Custom org-mode features for this file |
14 | 13 | #+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 |
22 | 18 |
|
23 | 19 | #+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" |
34 | 30 |
|
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(!)" |
68 | 33 |
|
69 | | - ) |
70 | | - ) |
71 | | - #+END_SRC |
| 34 | + "|" |
72 | 35 |
|
| 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 |
73 | 62 |
|
74 | 63 |
|
75 | 64 | * Tasks |
|
0 commit comments