doomemacs/modules/app/calendar
Henrik Lissner fb831a3bcf
Bump :app
abo-abo/avy@3bf8314 -> abo-abo/avy@509471b
kidd/org-gcal.el@6821e34 -> kidd/org-gcal.el@1667aba
skeeto/elfeed@d0405e6 -> remyhonig/elfeed-org@77b6bbf

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-04-30 01:28:02 -04:00
..
autoload.el General refactors & appease byte-compiler 2020-02-02 02:05:20 -05:00
config.el 💥 Rename def-package! -> use-package! 2019-07-23 12:50:45 +02:00
packages.el Bump :app 2020-04-30 01:28:02 -04:00
README.org Standardize the READMEs of various modules 2019-05-09 21:31:23 -04:00

app/calendar

Description

This module adds a calendar view for Emacs, with org and google calendar sync support.

Module Flags

This module provides no flags.

Configuration

Changing calendar sources

By defining your own calendar commands, you can control what sources to pull calendar data from:

(defun my-open-calendar ()
  (interactive)
  (cfw:open-calendar-buffer
   :contents-sources
   (list
    (cfw:org-create-source "Green")  ; orgmode source
    (cfw:howm-create-source "Blue")  ; howm source
    (cfw:cal-create-source "Orange") ; diary source
    (cfw:ical-create-source "Moon" "~/moon.ics" "Gray")  ; ICS source1
    (cfw:ical-create-source "gcal" "https://..../basic.ics" "IndianRed") ; google calendar ICS
   )))

To control what org files clfw:org-create-source will use, let-bind org-agenda-files around a call to +calendar/open-calendar like so:

;;;###autoload
(defun cfw:open-org-calendar-with-cal1 ()
  (interactive)
  (let ((org-agenda-files '("/path/to/org/" "/path/to/cal1.org")))
    (call-interactively #'+calendar/open-calendar)))

;;;###autoload
(defun cfw:open-org-calendar-with-cal2 ()
  (interactive)
  (let ((org-agenda-files '("/path/to/org/" "/path/to/cal2.org")))
    (call-interactively #'+calendar/open-calendar)))

The kiwanami/emacs-calfw project readme contains more examples.

Synchronizing Org and Google Calendar

The myuhe/org-gcal.el project README contains more detailed instructions on how to link your calendar with Google calendars.