emacs-configuration: Use org-expiry

* user-config/emacs/.emacs.d/config.org: Use org-expiry, adding a hook so that all captured
notes get a CREATED property. Additionally, remove emacs config from agenda-files as now that
its managed with Guix its read-only and serves no purpose. Its worth noting that TODOs are no
longer tracked there anyways, and are now tracked in my notes.
This commit is contained in:
Collin J. Doering 2024-04-15 01:13:49 -04:00
parent cbf25be27e
commit 790253d405
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
1 changed files with 10 additions and 1 deletions

View File

@ -1859,7 +1859,7 @@ Use [[http://gnuplot.sourceforge.net/][gnuplot]] alongside org-mode to generate
(setq org-agenda-files
(let ((agenda-dir "~/.org/roam/agenda")
(agenda-files '("~/.emacs.d/config.org")))
(agenda-files '()))
(append
;; Include manually specified agenda-files
agenda-files
@ -2000,6 +2000,15 @@ Use [[http://gnuplot.sourceforge.net/][gnuplot]] alongside org-mode to generate
:after org)
#+end_src
#+begin_src emacs-lisp
(use-package org-expiry
:config (progn
(org-expiry-insinuate)
(setq org-expiry-inactive-timestamps t))
:after org
:hook ((org-capture-mode-hook org-expiry-insert-created)))
#+end_src
#+begin_src emacs-lisp
;; GUIX TODO: This package is not available
;; (use-package org-magit