Move diary/calendar back into org files
This commit is contained in:
parent
6ad4f30e74
commit
5da8441201
|
@ -4,14 +4,6 @@
|
|||
#+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 "~/.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
|
||||
|
|
|
@ -296,8 +296,8 @@
|
|||
#+begin_src emacs-lisp
|
||||
(use-package gnus-icalendar
|
||||
:custom
|
||||
(gnus-icalendar-org-capture-file (expand-file-name ".diary/email.org.gpg" gnus-home-directory))
|
||||
(gnus-icalendar-org-capture-headline '("Inbox"))
|
||||
(gnus-icalendar-org-capture-file (expand-file-name "calendar/inbox.org" org-directory))
|
||||
(gnus-icalendar-org-capture-headline '("Email"))
|
||||
:config (gnus-icalendar-org-setup))
|
||||
|
||||
(use-package mu4e-icalendar
|
||||
|
|
|
@ -139,8 +139,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 'diary-file
|
||||
org-agenda-include-diary t
|
||||
org-agenda-diary-file (expand-file-name "calendar/inbox.org.gpg" org-directory)
|
||||
org-agenda-include-diary nil
|
||||
org-agenda-include-deadlines t
|
||||
org-agenda-todo-ignore-scheduled 'future
|
||||
org-agenda-todo-ignore-deadlines 'far
|
||||
|
@ -151,8 +151,8 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
|
||||
(require 'gnus-icalendar)
|
||||
(setopt org-agenda-files (list
|
||||
gnus-icalendar-org-capture-file
|
||||
(expand-file-name org-directory)
|
||||
(expand-file-name "calendar" org-directory)
|
||||
(expand-file-name "journal" org-directory)
|
||||
(expand-file-name "projects" org-directory)))
|
||||
#+end_src
|
||||
|
|
Loading…
Reference in a new issue