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
|
#+author: Evie Litherland-Smith
|
||||||
#+email: evie@xenia.me.uk
|
#+email: evie@xenia.me.uk
|
||||||
#+language: en
|
#+language: en
|
||||||
#+filetags: :emacs:config:org:
|
#+filetags: :emacs:config:org:
|
||||||
#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent
|
#+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
|
* Calendar
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setopt calendar-date-style 'iso
|
(setopt calendar-date-style 'iso
|
||||||
calendar-mark-holidays-flag t
|
calendar-view-holidays-initially-flag t
|
||||||
calendar-mark-diary-entries-flag nil)
|
calendar-view-diary-initially-flag t)
|
||||||
#+end_src
|
#+end_src
|
||||||
* Appointment reminders
|
* Appointment reminders
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
|
@ -142,8 +142,8 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
||||||
org-agenda-sticky nil
|
org-agenda-sticky nil
|
||||||
org-agenda-window-setup 'current-window
|
org-agenda-window-setup 'current-window
|
||||||
org-agenda-tags-column 0
|
org-agenda-tags-column 0
|
||||||
org-agenda-diary-file (expand-file-name "diary.org" org-directory)
|
org-agenda-diary-file 'diary-file
|
||||||
org-agenda-include-diary nil
|
org-agenda-include-diary t
|
||||||
org-agenda-include-deadlines t
|
org-agenda-include-deadlines t
|
||||||
org-agenda-todo-ignore-scheduled 'future
|
org-agenda-todo-ignore-scheduled 'future
|
||||||
org-agenda-todo-ignore-deadlines 'far
|
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