emacs.d

My Emacs configuration
git clone https://git.jamzattack.xyz/emacs.d
Log | Files | Refs | LICENSE

commit 2dcb2f25412d55d2d276bde49aea9aeb18e0dbe3
parent 0368fe3eaeadbf8ae58d2ac050d27e701b5d515b
Author: Jamie Beardslee <beardsleejamie@gmail.com>
Date:   Thu, 19 Mar 2020 19:47:29 +1300

Added (use-package elfeed) with some keybindings and a decrypted feeds file

Diffstat:
MREADME.org | 29+++++++++++++++++++++++++++++
1 file changed, 29 insertions(+), 0 deletions(-)

diff --git a/README.org b/README.org @@ -1231,6 +1231,35 @@ An emacs front-end for the transmission bittorrent daemon ("m" . transmission-add-url-at-point))) #+end_src +*** Elfeed + +Elfeed is an RSS and Atom feed reader for emacs, which functions +similarly to notmuch. To get the list of feeds, I decrypt the file +named =feeds.gpg= in the [[file:elfeed/][elfeed]] directory. I also bind the same keys +as in [[* EWW][eww]]. + +#+begin_src emacs-lisp + (use-package elfeed + :ensure t + :custom + ((elfeed-db-directory (expand-file-name + "elfeed" "~/.cache")) + (elfeed-feeds + (let ((file (expand-file-name + "elfeed/feeds.gpg" user-emacs-directory))) + (when (file-exists-p file) + (with-temp-buffer + (insert-file-contents file) + (eval (read (current-buffer)))))))) + :bind + (:map elfeed-show-mode-map + ("f" . dmenu-handler-stream) + ("D" . dmenu-handler-download-video) + ("A" . dmenu-handler-audio)) + :config + (elfeed-update)) +#+end_src + ** Appearance *** Rainbow-mode