Start switching back to using emacs diary file(s)
Add main diary file and an included birthday file so far
This commit is contained in:
parent
e012e17ca1
commit
7f6ec9be70
|
@ -1,14 +1,22 @@
|
|||
#+title: Agenda config
|
||||
#+title: Diary and Calendar 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
|
||||
* Diary
|
||||
#+begin_src emacs-lisp
|
||||
(setopt diary-file (locate-user-emacs-file "diary/main.gpg")
|
||||
diary-display-function #'diary-fancy-display)
|
||||
(add-hook 'diary-list-entries-hook #'diary-include-other-diary-files)
|
||||
(add-hook 'diary-list-entries-hook #'diary-sort-entries t)
|
||||
(add-hook 'diary-mark-entries-hook #'diary-mark-included-diary-files)
|
||||
#+end_src
|
||||
* Calendar
|
||||
#+begin_src emacs-lisp
|
||||
(setopt calendar-date-style 'iso
|
||||
calendar-mark-holidays-flag t
|
||||
calendar-mark-diary-entries-flag nil)
|
||||
calendar-view-holidays-initially-flag t
|
||||
calendar-view-diary-initially-flag t)
|
||||
#+end_src
|
||||
* Appointment reminders
|
||||
#+begin_src emacs-lisp
|
|
@ -142,8 +142,8 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
org-agenda-sticky nil
|
||||
org-agenda-window-setup 'current-window
|
||||
org-agenda-tags-column 0
|
||||
org-agenda-diary-file (expand-file-name "diary.org" org-directory)
|
||||
org-agenda-include-diary nil
|
||||
org-agenda-diary-file 'diary-file
|
||||
org-agenda-include-diary t
|
||||
org-agenda-include-deadlines t
|
||||
org-agenda-todo-ignore-scheduled 'future
|
||||
org-agenda-todo-ignore-deadlines 'far
|
||||
|
|
BIN
diary/birthdays.gpg
Normal file
BIN
diary/birthdays.gpg
Normal file
Binary file not shown.
BIN
diary/main.gpg
Normal file
BIN
diary/main.gpg
Normal file
Binary file not shown.
Loading…
Reference in a new issue