commented out org-calendar - doesn't work to my satisfaction

This commit is contained in:
Petr Nyc
2026-01-17 20:30:14 +01:00
parent 3438d019a9
commit 866eed3a57

View File

@@ -893,54 +893,54 @@ before packages are loaded."
(setq org-duration-format 'h:mm) (setq org-duration-format 'h:mm)
;; ================================================================================ ;; ;; ================================================================================
;; config for org-caldav for my nextcloud installation ;; ;; config for org-caldav for my nextcloud installation
;; not working to my satisfaction yet - only configured for not used files ;; ;; not working to my satisfaction yet - only configured for not used files
;; inspiration from https://www.reddit.com/r/orgmode/comments/8rl8ep/making_orgcaldav_useable/ ;; ;; inspiration from https://www.reddit.com/r/orgmode/comments/8rl8ep/making_orgcaldav_useable/
;; doc: https://github.com/dengste/org-caldav ;; ;; doc: https://github.com/dengste/org-caldav
;; URL of the caldav server ;; ;; URL of the caldav server
(setq org-caldav-url "https://next.cloud.jetpac.org/remote.php/dav/calendars/jetpac") ;; (setq org-caldav-url "https://next.cloud.jetpac.org/remote.php/dav/calendars/jetpac")
(setq org-caldav-calendars ;; (setq org-caldav-calendars
'((:calendar-id "personal" ;; '((:calendar-id "personal"
:files ("~/Documents/org/synced_calendar.org") ;; :files ("~/Documents/org/synced_calendar.org")
;; :inbox ("~/Documents/org/caldav/from-calendar.org") ;; ;; :inbox ("~/Documents/org/caldav/from-calendar.org")
;; :sync-direction ('org->cal) ;; ;; :sync-direction ('org->cal)
)) ;; ))
) ;; )
;; config ;; ;; config
(setq org-icalendar-alarm-time 1) ;; (setq org-icalendar-alarm-time 1)
;; This makes sure to-do items as a category can show up on the calendar ;; ;; This makes sure to-do items as a category can show up on the calendar
(setq org-icalendar-include-todo t) ;; (setq org-icalendar-include-todo t)
;; This ensures all org "deadlines" show up, and show up as due dates ;; ;; This ensures all org "deadlines" show up, and show up as due dates
(setq org-icalendar-use-deadline '(event-if-todo event-if-not-todo todo-due)) ;; (setq org-icalendar-use-deadline '(event-if-todo event-if-not-todo todo-due))
;; This ensures "scheduled" org items show up, and show up as start times ;; ;; This ensures "scheduled" org items show up, and show up as start times
(setq org-icalendar-use-scheduled '(todo-start event-if-todo event-if-not-todo)) ;; (setq org-icalendar-use-scheduled '(todo-start event-if-todo event-if-not-todo))
(setq org-caldav-backup-file "~/Documents/org/caldav/org-caldav-backup.org") ;; (setq org-caldav-backup-file "~/Documents/org/caldav/org-caldav-backup.org")
(setq org-caldav-save-directory "~/Documents/org/caldav/") ;; (setq org-caldav-save-directory "~/Documents/org/caldav/")
;; ;; calendar ID on server ;; ;; ;; calendar ID on server
;; (setq org-caldav-calendar-id "personal") ;; ;; (setq org-caldav-calendar-id "personal")
;; ;; Org filename where new entries from calendar stored ;; ;; ;; Org filename where new entries from calendar stored
(setq org-caldav-inbox "~/Documents/org/caldav/from-calendar.org") ;; (setq org-caldav-inbox "~/Documents/org/caldav/from-calendar.org")
;; ;; Additional Org files to check for calendar events ;; ;; ;; Additional Org files to check for calendar events
;; ;; this line breaks the sync! ;; ;; ;; this line breaks the sync!
;; (setq org-caldav-files ("~/Documents/org/caldav/todo.org")) ;; ;; (setq org-caldav-files ("~/Documents/org/caldav/todo.org"))
;; ;; (setq org-caldav-files nil) ;; ;; ;; (setq org-caldav-files nil)
;; ;; Usually a good idea to set the timezone manually ;; ;; ;; Usually a good idea to set the timezone manually
;; (setq org-icalendar-timezone "Europe/Prague") ;; ;; (setq org-icalendar-timezone "Europe/Prague")
;; ;; sync from org to cal only ;; ;; ;; sync from org to cal only
;; (setq org-caldav-sync-direction "org->cal") ;; ;; (setq org-caldav-sync-direction "org->cal")
;; ;; (setq org-caldav-sync-direction "twoway") ;; ;; ;; (setq org-caldav-sync-direction "twoway")
;; ================================================================================ ;; ;; ================================================================================
;; Define the custum capture templates ;; Define the custum capture templates
@@ -970,7 +970,6 @@ before packages are loaded."
"~/Documents/org/work/oracle.org" "~/Documents/org/work/oracle.org"
"~/Documents/org/someday.org" "~/Documents/org/someday.org"
"~/Documents/org/calendar.org" "~/Documents/org/calendar.org"
"~/Documents/org/synced_calendar.org"
)) ))
@@ -1297,8 +1296,7 @@ This function is called at the very end of Spacemacs initialization."
evil-tutor evil-unimpaired evil-visual-mark-mode evil-visualstar evil-tutor evil-unimpaired evil-visual-mark-mode evil-visualstar
exotica-theme expand-region eyebrowse eziam-themes fancy-battery exotica-theme expand-region eyebrowse eziam-themes fancy-battery
farmhouse-themes fish-mode flatland-theme flatui-theme flx-ido farmhouse-themes fish-mode flatland-theme flatui-theme flx-ido
flycheck-bashate flycheck-elsa flycheck-package flycheck-pos-tip forge forge frame-local gandalf-theme gh-md ghub git-link git-messenger git-modes
frame-local gandalf-theme gh-md ghub git-link git-messenger git-modes
git-timemachine gitignore-templates gntp gnuplot golden-ratio git-timemachine gitignore-templates gntp gnuplot golden-ratio
google-translate gotham-theme grandshell-theme gruber-darker-theme google-translate gotham-theme grandshell-theme gruber-darker-theme
gruvbox-theme haml-mode hc-zenburn-theme hcl-mode helm-ag gruvbox-theme haml-mode hc-zenburn-theme hcl-mode helm-ag