|
|
|
|
@ -360,18 +360,27 @@ |
|
|
|
|
(require 'org) |
|
|
|
|
(require 'org-pomodoro) |
|
|
|
|
|
|
|
|
|
(global-set-key (kbd "C-c a") 'org-agenda) |
|
|
|
|
(setq org-agenda-files |
|
|
|
|
' ("~/org/notes.org" "~/org/orgzly/work.org" "~/org/orgzly/hack.org" "~/org/orgzly/live.org" "~/org/orgzly/refile.org")) |
|
|
|
|
(setq org-agenda-span 1) |
|
|
|
|
(setq org-agenda-custom-commands |
|
|
|
|
'(("h" "Agenda and Android tasks" |
|
|
|
|
((agenda "") |
|
|
|
|
(tags-todo "Android"))) |
|
|
|
|
("a" "Main agenda" |
|
|
|
|
((agenda "") |
|
|
|
|
(todo "NEXT|ONGOING") |
|
|
|
|
(tags-todo "hack") |
|
|
|
|
(tags-todo "5m") |
|
|
|
|
(todo "TODO"))) |
|
|
|
|
("5" "Agenda and Break tasks" |
|
|
|
|
((agenda "") |
|
|
|
|
(tags-todo "5m") |
|
|
|
|
(tags-todo "20m"))))) |
|
|
|
|
|
|
|
|
|
(setq org-default-notes-file "~/org/notes.org") |
|
|
|
|
(global-set-key (kbd "C-c a") 'org-agenda) |
|
|
|
|
(global-set-key (kbd "C-c c") 'org-capture) |
|
|
|
|
|
|
|
|
|
(add-to-list 'org-structure-template-alist |
|
|
|
|
'("el" "#+BEGIN_SRC emacs-lisp\n?\n#+END_SRC")) |
|
|
|
|
|
|
|
|
|
(setq org-src-fontify-natively t) |
|
|
|
|
|
|
|
|
|
(setq org-capture-templates |
|
|
|
|
'(("t" "TODO today" entry (file+headline "~/org/notes.org" "Tasks") |
|
|
|
|
"* TODO %?\n SCHEDULED: %t" :clock-in t :clock-resume t) |
|
|
|
|
@ -390,10 +399,8 @@ |
|
|
|
|
("r" "Reply to" entry (file+headline "~/org/notes.org" "E-mails") |
|
|
|
|
"* DONE mailto:%?"))) |
|
|
|
|
|
|
|
|
|
(setq org-clock-persist 'history) |
|
|
|
|
(org-clock-persistence-insinuate) |
|
|
|
|
|
|
|
|
|
(setq org-agenda-span 1) |
|
|
|
|
(add-to-list 'org-structure-template-alist |
|
|
|
|
'("el" "#+BEGIN_SRC emacs-lisp\n?\n#+END_SRC")) |
|
|
|
|
|
|
|
|
|
;; Separate drawers for clocking and logs |
|
|
|
|
(setq org-drawers (quote ("PROPERTIES" "CLOCKBOOK"))) |
|
|
|
|
@ -404,20 +411,11 @@ |
|
|
|
|
;; Clock out when moving task to a done state |
|
|
|
|
(setq org-clock-out-when-done t) |
|
|
|
|
|
|
|
|
|
(setq org-agenda-custom-commands |
|
|
|
|
'(("h" "Agenda and Android tasks" |
|
|
|
|
((agenda "") |
|
|
|
|
(tags-todo "Android"))) |
|
|
|
|
("a" "Main agenda" |
|
|
|
|
((agenda "") |
|
|
|
|
(todo "NEXT|ONGOING") |
|
|
|
|
(tags-todo "hack") |
|
|
|
|
(tags-todo "5m") |
|
|
|
|
(todo "TODO"))) |
|
|
|
|
("5" "Agenda and Break tasks" |
|
|
|
|
((agenda "") |
|
|
|
|
(tags-todo "5m") |
|
|
|
|
(tags-todo "20m"))))) |
|
|
|
|
|
|
|
|
|
(setq org-src-fontify-natively t) |
|
|
|
|
|
|
|
|
|
(setq org-clock-persist 'history) |
|
|
|
|
(org-clock-persistence-insinuate) |
|
|
|
|
|
|
|
|
|
;; some super-clever stuff |
|
|
|
|
;; [https://emacs.stackexchange.com/questions/39032/tangle-the-same-src-block-to-different-files] |
|
|
|
|
|