2024-03-07 07:51:33 +00:00
|
|
|
#+title: Agenda config
|
|
|
|
#+author: Evie Litherland-Smith
|
|
|
|
#+email: evie@xenia.me.uk
|
|
|
|
#+language: en
|
|
|
|
#+filetags: :emacs:config:org:
|
|
|
|
#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent
|
2024-03-07 17:09:43 +00:00
|
|
|
* Set up diary file
|
2024-03-07 07:51:33 +00:00
|
|
|
#+begin_src emacs-lisp
|
2024-03-11 11:32:09 +00:00
|
|
|
(setq diary-file (locate-user-emacs-file "diary.gpg"))
|
2024-03-07 07:51:33 +00:00
|
|
|
#+end_src
|
2024-03-07 17:09:43 +00:00
|
|
|
* Appointment reminders
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
(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)
|
|
|
|
#+end_src
|
|
|
|
** org-agenda integration
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
(with-eval-after-load 'org
|
|
|
|
(add-hook 'org-agenda-mode-hook #'org-agenda-to-appt))
|
|
|
|
#+End_src
|