added todo to caldav sync

This commit is contained in:
paul-loedige
2023-12-20 21:44:39 +01:00
parent 264f54e94a
commit 93f0855a52
+13 -12
View File
@@ -455,8 +455,9 @@ To get a more nuanced overview of my current TODOs I add more progress states.
| Access Key | t | b | i | r | t | | d | | c | | Access Key | t | b | i | r | t | | d | | c |
| Log Type | time | note | time | note | note | | time | note | note | | Log Type | time | note | time | note | note | | time | note | note |
#+begin_src emacs-lisp :tangle config.el #+begin_src emacs-lisp :tangle config.el
(setq org-todo-keywords (after! org
'((sequence "TODO(t!)" "IN_PROGRESS(i!)" "BLOCKED(b@)" "REVIEW(r@)" "TESTING(t@)" "|" "DONE(d!)" "DELEGATED(!)" "CANCELED(c@)"))) (setq org-todo-keywords
'((sequence "TODO(t!)" "IN_PROGRESS(i!)" "BLOCKED(b@)" "REVIEW(r@)" "TESTING(t@)" "|" "DONE(d!)" "DELEGATED(!)" "CANCELED(c@)"))))
#+end_src #+end_src
*** Add "~/org" to Agenda *** Add "~/org" to Agenda
#+begin_src emacs-lisp :tangle config.el #+begin_src emacs-lisp :tangle config.el
@@ -473,22 +474,22 @@ A lot of the config is also taken from [[https://www.reddit.com/r/orgmode/commen
#+begin_src emacs-lisp :tangle packages.el #+begin_src emacs-lisp :tangle packages.el
(package! org-caldav) (package! org-caldav)
#+end_src #+end_src
*** configure calendars *** Enable TODOs
add the calendars to the org-caldav config
#+begin_src emacs-lisp :tangle config.el
(after! org-caldav
(setq org-caldav-url "https://cloud.ploedige.com/remote.php/dav/calendars/paul-loedige")
(setq org-caldav-calendars
'((:calendar-id "org-test" :files ("~/org/calendars/org_test.org")
:inbox "~/org/calendars/org_test.org"))))
#+end_src
*** enable TODOs
#+begin_src emacs-lisp :tangle config.el #+begin_src emacs-lisp :tangle config.el
(after! org-caldav (after! org-caldav
(setq org-icalendar-include-todo 'all (setq org-icalendar-include-todo 'all
org-caldav-sync-todo t)) org-caldav-sync-todo t))
#+end_src #+end_src
*** Configure Sync
add the calendars to the org-caldav config
#+begin_src emacs-lisp :tangle config.el
(after! org-caldav
(setq org-caldav-url "https://cloud.ploedige.com/remote.php/dav/calendars/paul-loedige")
(setq org-caldav-calendars
'((:calendar-id "todo" :files ("~/org/todo.org")
:inbox "~/org/todo.org"))))
#+end_src
** Org Roam ** Org Roam
*** set base directory *** set base directory
Both the org files themselves and the database should be located in the same directory to enable syncing via Nextcloud Both the org files themselves and the database should be located in the same directory to enable syncing via Nextcloud