emacs/config/diary.org

893 B

Diary and Calendar config

Calendar

  (setopt calendar-date-style 'iso
          calendar-mark-holidays-flag t
          calendar-mark-diary-entries-flag nil
          calendar-view-holidays-initially-flag nil
          calendar-view-diary-initially-flag nil)

Appointment reminders

  (setq appt-display-diary nil            ; Don't display diary on startup
        appt-display-format 'echo
        appt-display-interval 5
        appt-message-warning-time 15)
  (appt-activate +1)

org-agenda integration

  (with-eval-after-load 'org
    (add-hook 'org-agenda-mode-hook #'org-agenda-to-appt))