24 lines
729 B
Org Mode
24 lines
729 B
Org Mode
#+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
|
|
* Set up diary file
|
|
#+begin_src emacs-lisp
|
|
(setq diary-file (locate-user-emacs-file "diary/inbox.gpg"))
|
|
#+end_src
|
|
* 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
|