emacs/config/agenda.org

723 B

Agenda config

Set up diary file

  (setq diary-file (locate-user-emacs-file "diary.gpg"))

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))