diff --git a/config/internet.org b/config/internet.org index 2bb5859..03ecd19 100644 --- a/config/internet.org +++ b/config/internet.org @@ -3,13 +3,6 @@ #+email: evie@xenia.me.uk #+filetags: :emacs:config:org: #+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent -* Gnus -#+begin_src emacs-lisp :tangle yes - (use-package gnus - :config - (setq gnus-select-method '(nnnil))) -#+end_src - * Email #+begin_src emacs-lisp (setq sendmail-program (executable-find "msmtp") @@ -299,14 +292,17 @@ * Feeds #+begin_src emacs-lisp - (let ((elfeed-base-directory "~/.elfeed")) - (setq elfeed-db-directory (expand-file-name "db" elfeed-base-directory) - elfeed-enclosure-default-dir (expand-file-name "enclosures" elfeed-base-directory) - rmh-elfeed-org-files (list (expand-file-name "feeds.org" elfeed-base-directory)))) (use-package elfeed :bind (("C-c f f" . elfeed) ("C-c f u" . elfeed-update)) :hook (elfeed-search-mode . elfeed-update) + :init + (setq elfeed-base-directory "~/.elfeed") + :custom + (elfeed-db-directory (expand-file-name "db" elfeed-base-directory)) + (elfeed-enclosure-default-dir (expand-file-name "enclosures" elfeed-base-directory)) + (rmh-elfeed-org-files (list (expand-file-name "feeds.org" elfeed-base-directory))) + (elfeed-search-filter "@2-weeks-ago +unread") :config (require 'elfeed-org) (require 'elfeed-tube)