forked from jwiegley/dot-emacs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org-settings.el
409 lines (409 loc) · 16.8 KB
/
org-settings.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(cfw:read-date-command
(lambda nil
(interactive)
(let
((xs
(decode-time
(org-time-string-to-time
(org-read-date)))))
(list
(nth 4 xs)
(nth 3 xs)
(nth 5 xs)))))
'(deft-directory "~/doc/notes")
'(deft-text-mode 'org-mode)
'(deft-use-filename-as-title t)
'(jobhours-files
'("~/dfinity/docs/dfinity.org" "~/dfinity/docs/archive/dfinity.org"))
'(org-M-RET-may-split-line '((headline) (default . t)))
'(org-adapt-indentation nil)
'(org-agenda-auto-exclude-function 'org-my-auto-exclude-function)
'(org-agenda-cmp-user-defined 'org-compare-todo-age)
'(org-agenda-custom-commands
'(("h" "Current Hotlist" alltodo ""
((org-agenda-overriding-header "Current Hotlist")
(org-agenda-skip-function #'my-org-agenda-skip-all-siblings-but-first-hot)))
("H" "Hot Projects" tags "HOT&TODO=\"PROJECT\""
((org-agenda-overriding-header "Hot Projects")))
("T" "Non-Hot Projects" tags "-HOT&TODO=\"PROJECT\""
((org-agenda-overriding-header "Non-Hot Projects")))
("n" "Project Next Actions" alltodo ""
((org-agenda-overriding-header "Project Next Actions")
(org-agenda-skip-function #'my-org-agenda-skip-all-siblings-but-first)))
("P" "All Projects" tags "TODO=\"PROJECT\""
((org-agenda-overriding-header "All Projects")))
("A" "Priority #A tasks" agenda ""
((org-agenda-ndays 1)
(org-agenda-overriding-header "Today's priority #A tasks: ")
(org-agenda-skip-function
'(org-agenda-skip-entry-if 'notregexp "\\=.*\\[#A\\]"))))
("b" "Priority #A and #B tasks" agenda ""
((org-agenda-ndays 1)
(org-agenda-overriding-header "Today's priority #A and #B tasks: ")
(org-agenda-skip-function
'(org-agenda-skip-entry-if 'regexp "\\=.*\\[#C\\]"))))
("r" "Uncategorized items" tags "CATEGORY=\"Inbox\"&LEVEL=2"
((org-agenda-overriding-header "Uncategorized items")))
("W" "Waiting/delegated tasks" tags "W-TODO=\"DONE\"|TODO={WAITING\\|DELEGATED}"
((org-agenda-overriding-header "Waiting/delegated tasks:")
(org-agenda-skip-function
'(org-agenda-skip-entry-if 'scheduled))
(org-agenda-sorting-strategy
'(todo-state-up priority-down category-up))))
("D" "Deadlined tasks" tags "TODO<>\"\"&TODO<>{DONE\\|CANCELED\\|NOTE\\|PROJECT}"
((org-agenda-overriding-header "Deadlined tasks: ")
(org-agenda-skip-function
'(org-agenda-skip-entry-if 'notdeadline))
(org-agenda-sorting-strategy
'(category-up))))
("S" "Scheduled tasks" tags "TODO<>\"\"&TODO<>{APPT\\|DONE\\|CANCELED\\|NOTE\\|PROJECT}&STYLE<>\"habit\""
((org-agenda-overriding-header "Scheduled tasks: ")
(org-agenda-skip-function
'(org-agenda-skip-entry-if 'notscheduled))
(org-agenda-sorting-strategy
'(category-up))))
("d" "Unscheduled open source tasks (by date)" tags "TODO<>\"\"&TODO<>{DONE\\|CANCELED\\|NOTE\\|PROJECT}"
((org-agenda-overriding-header "Unscheduled Open Source tasks (by date): ")
(org-agenda-skip-function
'(org-agenda-skip-entry-if 'scheduled 'deadline 'timestamp 'regexp "\\* \\(DEFERRED\\|SOMEDAY\\)"))
(org-agenda-sorting-strategy
'(user-defined-up))
(org-agenda-prefix-format "%-11c%5(org-todo-age) ")
(org-agenda-files
'("~/doc/tasks/OSS.org"))))
("o" "Unscheduled open source tasks (by project)" tags "TODO<>\"\"&TODO<>{DONE\\|CANCELED\\|NOTE\\|PROJECT}"
((org-agenda-overriding-header "Unscheduled Open Source tasks (by project): ")
(org-agenda-skip-function
'(org-agenda-skip-entry-if 'scheduled 'deadline 'timestamp 'regexp "\\* \\(DEFERRED\\|SOMEDAY\\)"))
(org-agenda-sorting-strategy
'(category-up))
(org-agenda-prefix-format "%-11c%5(org-todo-age) ")
(org-agenda-files
'("~/doc/tasks/OSS.org"))))
("u" "Unscheduled tasks" tags "TODO<>\"\"&TODO<>{DONE\\|CANCELED\\|NOTE\\|PROJECT\\|DEFERRED\\|SOMEDAY}"
((org-agenda-overriding-header "Unscheduled tasks: ")
(org-agenda-skip-function
'(org-agenda-skip-entry-if 'scheduled 'deadline 'timestamp))
(org-agenda-sorting-strategy
'(user-defined-up))
(org-agenda-prefix-format "%-11c%5(org-todo-age) ")
(org-agenda-files
'("~/doc/tasks/todo.org" "~/doc/tasks/Bahai.org"))))
("U" "Deferred tasks" tags "TODO=\"DEFERRED\""
((org-agenda-overriding-header "Deferred tasks:")
(org-agenda-sorting-strategy
'(user-defined-up))
(org-agenda-prefix-format "%-11c%5(org-todo-age) ")))
("Y" "Someday tasks" tags "TODO=\"SOMEDAY\""
((org-agenda-overriding-header "Someday tasks:")
(org-agenda-sorting-strategy
'(user-defined-up))
(org-agenda-prefix-format "%-11c%5(org-todo-age) ")))
("w" "Unscheduled work-related tasks" tags "TODO<>\"\"&TODO<>{DONE\\|DEFERRED\\|CANCELED\\|NOTE\\|PROJECT}"
((org-agenda-overriding-header "Unscheduled work-related tasks")
(org-agenda-files
'("~/dfinity/docs/dfinity.org" "~/kadena/docs/kadena.org"))
(org-agenda-sorting-strategy
'(category-up user-defined-up))
(org-agenda-skip-function
'(org-agenda-skip-entry-if 'scheduled 'deadline 'timestamp))
(org-agenda-prefix-format "%-11c%5(org-todo-age) ")))
("c" "Appointment Calendar" agenda ""
((org-agenda-overriding-header "Appointment Calendar")
(org-agenda-sorting-strategy
'(time-up))
(org-agenda-span 14)
(org-agenda-ndays 14)
(org-agenda-regexp-filter-preset
'("+APPT"))))))
'(org-agenda-deadline-leaders '("!D!: " "D%02d: "))
'(org-agenda-default-appointment-duration 60)
'(org-agenda-files
'("~/doc/tasks/todo.org" "~/doc/tasks/habits.org" "~/dfinity/docs/dfinity.org" "~/kadena/docs/kadena.org" "~/doc/tasks/Bahai.org" "~/doc/tasks/OSS.org"))
'(org-agenda-fontify-priorities t)
'(org-agenda-include-diary t)
'(org-agenda-inhibit-startup t)
'(org-agenda-log-mode-items '(closed clock state))
'(org-agenda-ndays 1)
'(org-agenda-persistent-filter t)
'(org-agenda-prefix-format
'((agenda . " %-11c%?-12t% s")
(timeline . " % s")
(todo . " %-11c%5(org-todo-age) ")
(tags . " %-11c")))
'(org-agenda-scheduled-leaders '("" "S%d: "))
'(org-agenda-scheduled-relative-text "S%d: ")
'(org-agenda-scheduled-text "")
'(org-agenda-show-all-dates t)
'(org-agenda-skip-deadline-if-done t)
'(org-agenda-skip-scheduled-if-deadline-is-shown t)
'(org-agenda-skip-scheduled-if-done t)
'(org-agenda-skip-unavailable-files t)
'(org-agenda-sorting-strategy
'((agenda habit-down time-up todo-state-up priority-down)
(todo priority-down category-keep)
(tags priority-down category-keep)
(search category-keep)))
'(org-agenda-start-on-weekday nil)
'(org-agenda-tags-column -100)
'(org-agenda-tags-todo-honor-ignore-options t)
'(org-agenda-text-search-extra-files '(agenda-archives "~/doc/tasks/notes.org"))
'(org-agenda-todo-ignore-scheduled 'past)
'(org-agenda-use-time-grid nil)
'(org-agenda-window-frame-fractions '(0.5 . 0.75))
'(org-archive-location "TODO-archive::")
'(org-archive-save-context-info '(time category itags))
'(org-attach-file-list-property nil)
'(org-attach-method 'mv)
'(org-attach-store-link-p 'attached)
'(org-author-transforms '(("^Howard Reubenstein$" . "Howard")))
'(org-babel-load-languages
'((python . t)
(emacs-lisp . t)
(haskell . t)
(calc . t)
(ledger . t)
(ditaa . t)
(plantuml . t)
(sh . t)
(sql . t)
(dot . t)
(restclient . t)))
'(org-beamer-frame-default-options "fragile")
'(org-capture-templates
'(("a" "Add Task" entry
(file+headline "~/doc/tasks/todo.org" "Inbox")
"* TODO %?
:PROPERTIES:
:ID: %(shell-command-to-string \"uuidgen\"):CREATED: %U
:END:" :prepend t)
("n" "Note" entry
(file "~/doc/tasks/notes.org")
"* NOTE %?
:PROPERTIES:
:ID: %(shell-command-to-string \"uuidgen\"):CREATED: %U
:END:" :prepend t)
("c" "Calendar" entry
(file+headline "~/doc/tasks/todo.org" "Inbox")
"* APPT %?
:PROPERTIES:
:ID: %(shell-command-to-string \"uuidgen\"):CREATED: %U
:END:" :prepend t)
("t" "Add Task" entry
(file+headline "~/doc/tasks/todo.org" "Inbox")
"* TODO %?
:PROPERTIES:
:ID: %(shell-command-to-string \"uuidgen\"):CREATED: %U
:END:" :prepend t)
("p" "Protocol" entry
(file+headline "~/doc/tasks/todo.org" "Inbox")
"* NOTE %?
#+BEGIN_QUOTE
%i
#+END_QUOTE
:PROPERTIES:
:ID: %(shell-command-to-string \"uuidgen\"):CREATED: %U
:URL: %c
:END:")
("L" "Protocol Link" entry
(file+headline "~/doc/tasks/todo.org" "Inbox")
"* NOTE %?
[[%:link][%:description]]
#+BEGIN_QUOTE
%i
#+END_QUOTE
:PROPERTIES:
:ID: %(shell-command-to-string \"uuidgen\"):CREATED: %U
:URL: %c
:END:")
("j" "Journal entry" entry
(file+datetree "~/kadena/docs/kadena.org")
"* %?")))
'(org-clock-clocked-in-display nil)
'(org-clock-idle-time 10)
'(org-clock-in-resume t)
'(org-clock-in-switch-to-state "STARTED")
'(org-clock-into-drawer "LOGBOOK")
'(org-clock-mode-line-total 'current)
'(org-clock-out-remove-zero-time-clocks t)
'(org-clock-out-switch-to-state nil)
'(org-clock-persist t)
'(org-clock-persist-file "~/.emacs.d/data/org-clock-save.el")
'(org-clock-resolve-expert t)
'(org-completion-use-ido t)
'(org-confirm-babel-evaluate nil)
'(org-confirm-elisp-link-function nil)
'(org-confirm-shell-link-function nil)
'(org-crypt-disable-auto-save t)
'(org-crypt-key "0xAB37611BDDE48EBD")
'(org-cycle-global-at-bob t)
'(org-deadline-warning-days 14)
'(org-default-notes-file "~/doc/tasks/todo.org")
'(org-depend-tag-blocked nil)
'(org-directory "~/doc/tasks/")
'(org-ditaa-jar-path "~/.nix-profile/lib/ditaa.jar")
'(org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "OUT"))
'(org-edit-src-content-indentation 0)
'(org-enforce-todo-dependencies t)
'(org-export-babel-evaluate nil)
'(org-export-latex-classes
'(("article" "\\documentclass[11pt]{article}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
("linalg" "\\documentclass{article}
\\usepackage{linalgjh}
[DEFAULT-PACKAGES]
[EXTRA]
[PACKAGES]"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
("report" "\\documentclass[11pt]{report}"
("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
("book" "\\documentclass[11pt]{book}"
("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
("beamer" "\\documentclass{beamer}" org-beamer-sectioning)))
'(org-extend-today-until 4)
'(org-fast-tag-selection-single-key 'expert)
'(org-fontify-done-headline t)
'(org-fontify-quote-and-verse-blocks t)
'(org-fontify-whole-heading-line t)
'(org-footnote-section nil)
'(org-gcal-dir "~/.emacs.d/data/org-gcal/")
'(org-habit-preceding-days 42)
'(org-habit-today-glyph 45)
'(org-hide-emphasis-markers t)
'(org-hide-leading-stars t)
'(org-icalendar-combined-agenda-file "~/doc/tasks/org.ics")
'(org-icalendar-timezone "America/Los_Angeles")
'(org-id-locations-file "~/.emacs.d/data/org-id-locations")
'(org-image-actual-width nil)
'(org-imenu-depth 4)
'(org-insert-heading-respect-content t)
'(org-irc-link-to-logs t t)
'(org-latex-default-packages-alist
'(("T1" "fontenc" t)
("" "fixltx2e" nil)
("" "graphicx" t)
("" "longtable" nil)
("" "float" nil)
("" "wrapfig" nil)
("" "rotating" nil)
("normalem" "ulem" t)
("" "amsmath" t)
("" "textcomp" t)
("" "marvosym" t)
("" "wasysym" t)
("" "amssymb" t)
("" "hyperref" nil)
"\\tolerance=1000"))
'(org-latex-listings 'minted)
'(org-latex-minted-options
'(("fontsize" "\\footnotesize")
("linenos" "true")
("xleftmargin" "0em")))
'(org-latex-pdf-process
'("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
'(org-mime-preserve-breaks nil)
'(org-mobile-agendas '("Z"))
'(org-mobile-directory "~/Dropbox/Apps/MobileOrg")
'(org-mobile-files '("~/doc/tasks/todo.org"))
'(org-mobile-files-exclude-regexp "\\(TODO\\(-.*\\)?\\)\\'")
'(org-mobile-inbox-for-pull "~/doc/tasks/from-mobile.org")
'(org-mode-hook
'(org-babel-result-hide-spec org-babel-hide-all-hashes abbrev-mode))
'(org-modules '(org-gnus org-habit org-info org-depend))
'(org-plantuml-jar-path "~/.nix-profile/lib/plantuml.jar")
'(org-pretty-entities t)
'(org-priority-faces
'((65 :foreground "White" :weight bold)
(66 . "White")
(67 :foreground "dark gray" :slant italic)))
'(org-refile-target-verify-function 'org-refile-heading-p)
'(org-refile-targets '((org-agenda-files :todo . "PROJECT")))
'(org-return-follows-link t)
'(org-reverse-note-order t)
'(org-smart-capture-use-lastname t)
'(org-src-fontify-natively t)
'(org-src-tab-acts-natively t)
'(org-stuck-projects '("TODO=\"PROJECT\"" ("TODO" "DEFERRED") nil ""))
'(org-subject-transforms
'(("\\`\\(Re\\|Fwd\\): " . "")
("\\`{ledger} " . "")
("([Ww]as: .+)\\'" . "")
("\\`\\[[a-z-]+\\] " . "")
("\\`bug#\\([0-9]+\\):" . "[[x-debbugs-gnu:\\1][#\\1]]")))
'(org-tags-column -97)
'(org-time-clocksum-use-fractional t)
'(org-todo-keyword-faces
'(("TODO" :foreground "medium blue" :weight bold)
("EPIC" :foreground "deep sky blue" :weight bold)
("STORY" :foreground "royal blue" :weight bold)
("RECUR" :foreground "cornflowerblue" :weight bold)
("APPT" :foreground "medium blue" :weight bold)
("NOTE" :foreground "brown" :weight bold)
("STARTED" :foreground "dark orange" :weight bold)
("WAITING" :foreground "red" :weight bold)
("DELEGATED" :foreground "dark violet" :weight bold)
("DEFERRED" :foreground "dark blue" :weight bold)
("SOMEDAY" :foreground "dark blue" :weight bold)
("PROJECT" :foreground "#088e8e" :weight bold)))
'(org-todo-repeat-to-state "TODO")
'(org-use-property-inheritance '("AREA"))
'(org-use-speed-commands t)
'(org-use-tag-inheritance nil)
'(org-velocity-always-use-bucket t)
'(org-velocity-bucket "~/doc/tasks/notes.org")
'(org-velocity-capture-templates
'(("v" "Velocity" entry
(file "~/doc/tasks/notes.org")
"* NOTE %:search
%i%?
:PROPERTIES:
:ID: %(shell-command-to-string \"uuidgen\"):CREATED: %U
:END:" :prepend t)))
'(org-velocity-exit-on-match nil)
'(org-velocity-force-new t)
'(org-velocity-search-method 'regexp)
'(org-velocity-use-completion t)
'(org-x-backends '(ox-org ox-redmine))
'(org-x-redmine-title-prefix-function 'org-x-redmine-title-prefix)
'(org-x-redmine-title-prefix-match-function 'org-x-redmine-title-prefix-match))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(org-agenda-clocking ((t (:background "red2"))) t)
'(org-agenda-done ((t (:foreground "ForestGreen"))))
'(org-done ((t (:foreground "ForestGreen" :weight bold))))
'(org-habit-alert-face ((((background light)) (:background "#f5f946"))))
'(org-habit-alert-future-face ((((background light)) (:background "#fafca9"))))
'(org-habit-clear-face ((((background light)) (:background "#8270f9"))))
'(org-habit-clear-future-face ((((background light)) (:background "#d6e4fc"))))
'(org-habit-overdue-face ((((background light)) (:background "#f9372d"))))
'(org-habit-overdue-future-face ((((background light)) (:background "#fc9590"))))
'(org-habit-ready-face ((((background light)) (:background "#4df946"))))
'(org-habit-ready-future-face ((((background light)) (:background "#acfca9"))))
'(org-headline-done ((t (:foreground "grey75" :strike-through t :slant italic))))
'(org-level-4 ((t (:foreground "green"))))
'(org-scheduled ((((class color) (min-colors 88) (background light)) nil)))
'(org-upcoming-deadline ((((class color) (min-colors 88) (background light)) (:foreground "Brown")))))