diff options
author | Case Duckworth | 2021-01-25 16:54:01 -0600 |
---|---|---|
committer | Case Duckworth | 2021-01-25 16:54:01 -0600 |
commit | a809abd3b6465aa3b6f1476779e7434aa82159b6 (patch) | |
tree | 69bf52b9218e34d711bb11c7e325c75e220227de | |
parent | Change org-imenu-depth to capture more headlines (diff) | |
download | emacs-a809abd3b6465aa3b6f1476779e7434aa82159b6.tar.gz emacs-a809abd3b6465aa3b6f1476779e7434aa82159b6.zip |
Configure Agenda
Still more to do.
-rw-r--r-- | config.org | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/config.org b/config.org index d7e4ba1..e088f46 100644 --- a/config.org +++ b/config.org | |||
@@ -1825,17 +1825,16 @@ I fix the headline spacing every time I save. | |||
1825 | 1825 | ||
1826 | ** Org Agenda | 1826 | ** Org Agenda |
1827 | 1827 | ||
1828 | *** Basic Agenda Settings | ||
1829 | |||
1828 | #+begin_src emacs-lisp :noweb-ref settings | 1830 | #+begin_src emacs-lisp :noweb-ref settings |
1829 | (setq-default org-agenda-files | 1831 | (setq-default org-agenda-files ; look for files in ~/org |
1830 | (list | 1832 | (list org-directory) |
1831 | (expand-file-name "inbox.org" org-directory) | ||
1832 | (expand-file-name "home.org" org-directory) | ||
1833 | (expand-file-name "work.org" org-directory)) | ||
1834 | ;; agenda | 1833 | ;; agenda |
1835 | org-agenda-span 5 | 1834 | org-agenda-span 5 |
1836 | org-agenda-skip-scheduled-if-done t | 1835 | org-agenda-skip-scheduled-if-done t |
1837 | org-agenda-skip-deadline-if-done t | 1836 | org-agenda-skip-deadline-if-done t |
1838 | org-deadline-warning-days 0 | 1837 | org-deadline-warning-days 2 |
1839 | ;; logging | 1838 | ;; logging |
1840 | org-log-into-drawer "LOGBOOK" | 1839 | org-log-into-drawer "LOGBOOK" |
1841 | org-log-done t) | 1840 | org-log-done t) |
@@ -1845,6 +1844,25 @@ I fix the headline spacing every time I save. | |||
1845 | (define-key acdw/leader (kbd "C-a") #'org-agenda) | 1844 | (define-key acdw/leader (kbd "C-a") #'org-agenda) |
1846 | #+end_src | 1845 | #+end_src |
1847 | 1846 | ||
1847 | *** Calendar settings | ||
1848 | |||
1849 | I'm not sure where else to put these, to be honest. | ||
1850 | |||
1851 | #+begin_src emacs-lisp :noweb-ref settings | ||
1852 | (setq-default calendar-date-style 'iso) ; YYYY-mm-dd | ||
1853 | #+end_src | ||
1854 | |||
1855 | *** Habits | ||
1856 | |||
1857 | Org can track habits! Great stuff. I need to add it to =org-modules=, | ||
1858 | though. | ||
1859 | |||
1860 | #+begin_src emacs-lisp :noweb-ref settings | ||
1861 | (add-to-list 'org-modules 'org-habit) | ||
1862 | #+end_src | ||
1863 | |||
1864 | Now I just add a =habit= property to a subtree, and BAM! | ||
1865 | |||
1848 | *** Org Todo Keywords | 1866 | *** Org Todo Keywords |
1849 | 1867 | ||
1850 | These need some more thinking -- e.g., the MEETING sequence should | 1868 | These need some more thinking -- e.g., the MEETING sequence should |