Remove gnus config, add default elfeed search filter
Move elfeed config settings into use-package :custom block
This commit is contained in:
parent
57b29c661c
commit
b7bfff87db
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue