Remove remaining diary entries, replace with org-agenda files
Diary file just calls sexp org-diary Move calendar config from org-mode.org -> agenda.org Don't mark diary entries in calendar by default, slow startup now with org-agenda included Don't add config files to refile targets either
This commit is contained in:
parent
929ea9b20f
commit
ce8fe8a57f
|
@ -4,9 +4,11 @@
|
|||
#+language: en
|
||||
#+filetags: :emacs:config:org:
|
||||
#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent
|
||||
* Set up diary file
|
||||
* Calendar
|
||||
#+begin_src emacs-lisp
|
||||
(setq diary-file (locate-user-emacs-file "diary.gpg"))
|
||||
(customize-set-variable 'calendar-date-style 'iso)
|
||||
(customize-set-variable 'calendar-mark-holidays-flag t)
|
||||
(customize-set-variable 'calendar-mark-diary-entries-flag nil)
|
||||
#+end_src
|
||||
* Appointment reminders
|
||||
#+begin_src emacs-lisp
|
||||
|
|
|
@ -30,10 +30,6 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
org-refile-targets '((nil . (:maxlevel . 2))
|
||||
(org-agenda-files . (:maxlevel . 2))))
|
||||
|
||||
;; Add emacs config files to `org-file-targets'
|
||||
(dolist (fname my/config-files)
|
||||
(add-to-list 'org-refile-targets (cons fname '(:maxlevel . 2)) t))
|
||||
|
||||
;; Visually indent org-mode files to a given header level
|
||||
(add-hook 'org-mode-hook #'org-indent-mode)
|
||||
|
||||
|
@ -125,12 +121,6 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
(setq org-roam-graph-executable "dot"
|
||||
org-roam-graph-filetype "svg"))
|
||||
#+end_src
|
||||
* Calendar
|
||||
#+begin_src emacs-lisp
|
||||
(customize-set-variable 'calendar-date-style 'iso)
|
||||
(customize-set-variable 'calendar-mark-diary-entries-flag t)
|
||||
(customize-set-variable 'calendar-mark-holidays-flag t)
|
||||
#+end_src
|
||||
* org-agenda
|
||||
#+begin_src emacs-lisp :results output silent
|
||||
(setq org-agenda-span 'day
|
||||
|
|
Loading…
Reference in a new issue