kiwanami / emacs-calfw

A calendar framework for Emacs
1.17k stars 104 forks source link

How to add calendar with one ics file per event? #140

Open kflak opened 2 years ago

kflak commented 2 years ago

Hi,

I'm dipping my toes into the emacs waters after years of vimming :-) and trying now to get my calendar setup working. I use vdirsyncer to sync my calendars from a nextcloud instance, and I am getting one ics file per event in that calendar. It's not clear to me how to import this into cfw.... I tried using a wildcard, but that didn't work out too well...:

    (cfw:ical-create-source "Calendar" "~/path/to/calendar/*.ics" "Gray")  ; 

Any help much appreciated!

hperrey commented 2 years ago

I unfortunately do not know how to achieve this with calfw. Just in case you have not already solved it or for future visitors I just want to bring up an alternative: this is the exact setup for which I wrote khalel which allows me to interact from Org mode with calendars synced via vdirsyncer: https://gitlab.com/hperrey/khalel If you already have vdirsyncer set up, you only need to install the Python package khal and you have all the prerequisites in place :)

kflak commented 2 years ago

Hi there, thanks for the tip! I use khal as well, and my emacs experiment ended in ignomy and I slinked back to my beloved neovim :-)