diff options
Diffstat (limited to 'content/emacs/moving-my-rss-reading-to-emacs-with-elfeed.md')
-rw-r--r-- | content/emacs/moving-my-rss-reading-to-emacs-with-elfeed.md | 82 |
1 files changed, 47 insertions, 35 deletions
diff --git a/content/emacs/moving-my-rss-reading-to-emacs-with-elfeed.md b/content/emacs/moving-my-rss-reading-to-emacs-with-elfeed.md index a7f8687..5d80d9b 100644 --- a/content/emacs/moving-my-rss-reading-to-emacs-with-elfeed.md +++ b/content/emacs/moving-my-rss-reading-to-emacs-with-elfeed.md @@ -1,44 +1,56 @@ ---- -title: "Moving My RSS Reading to Emacs With Elfeed" -category: emacs -abstract: It's even better now than it newsboat. -date: 2023-05-06T19:44:40+02:00 -year: 2023 -draft: false -tags: -- Emacs -- elfeed -- RSS -- newsboat ---- -Since Emacs became my shell of choice[^1], I am abandoning more and more dedicated applications in favor of different packages. As it turns out, Emacs packages are very feature rich. This time: I moved my RSS reading from newsboat[^2] to elfeed[^3]. ++++ +title = "Moving My RSS Reading to Emacs With Elfeed" +author = ["MichaĆ Sapka"] +date = 2023-05-19T23:00:00+02:00 +lastmod = 2023-12-24T22:56:09+01:00 +categories = ["emacs"] +draft = false +weight = 2002 +abstract = "Setting up config inside an org file" +[menu] + [menu.emacs-guides] + weight = 2002 + identifier = "moving-my-rss-reading-to-emacs-with-elfeed" ++++ + +Since Emacs became my shell of choice[^fn:1], I am abandoning more and more dedicated applications in favor of different packages. +As it turns out, Emacs packages are very feature rich. +This time: I moved my RSS reading from newsboat[^fn:2] to elfeed[^fn:3]. Elfeed has very simple keybindings: -- g will refresh the items list -- G will refresh the items list and fetch new items -- r will mark currently selected item is read (remove unread tag)[^4] -- b will open item in the browser +- g will refresh the items list +- G will refresh the items list and fetch new items +- r will mark currently selected item is read (remove unread tag)[^4] +- b will open item in the browser -One huge upside of elfeed compared to newsboat is image support. Emacs is a GUI application, so all images are present in their glory! +One huge upside of elfeed compared to newsboat is image support. +Emacs is a GUI application, so all images are present in their glory! -{{<img-center "elfeed-details.png" "Images!">}} +{{< img-c "elfeed-details.png" >}} +Images! +{{< /img-c >}} -My setup is near stock. I have a few dozen feeds that are auto-tagged. Three essential tags are "important", "news", and "company". I want to read each "important", then I want to see all normal, and finally I can just skim "news" and "company". Adding auto-tagging is very simple: just define the tag when defining the RSS feed list: +My setup is near stock. +I have a few dozen feeds that are auto-tagged. +Three essential tags are "important", "news", and "company". +I want to read each "important", then I want to see all normal, and finally I can just skim "news" and "company". +Adding auto-tagging is very simple: just define the tag when defining the RSS feed list: -{{<highlight lisp>}} +```emacs-lisp ("https://rubenerd.com/feed/" blog important) ("https://www.pine64.org/feed/" company) -{{</highlight>}} +``` -Now, each new article will be tagged with matching tags. Elfeed allows to define of custom faces that will be applied to items matching tag[^6]: +Now, each new article will be tagged with matching tags. +Elfeed allows to define of custom faces that will be applied to items matching tag[^fn:4]: -{{<highlight lisp>}} +```emacs-lisp (defface important-elfeed-entry '((t :foreground "#f77")) "Marks an important Elfeed entry." :group 'elfeed) - + (defface nonimportant-elfeed-entry '((t :foreground "#C0C0C0")) "Marks an nonimportant Elfeed entry." @@ -50,17 +62,17 @@ Now, each new article will be tagged with matching tags. Elfeed allows to define elfeed-search-face-alist) (push '(news nonimportant-elfeed-entry) elfeed-search-face-alist) -{{</highlight>}} +``` -Now important items will be dark red, while company & news will be dark gray +Now important items will be dark red, while company & news will be dark gray -{{<img-center "elfeed-list.png" "No important things to read at this moment.">}} +{{< img-c "elfeed-list.png" >}} +No important things to read at this moment. +{{< /img-c >}} Elfeed has a few packages expanding its functionality, but I found the default behavior to be exactly right. -[^1]: [Emacs as a Shell](/2023/emacs-as-a-shell/) -[^2]: [Newsboat homepage](https://newsboat.org/) -[^3]: [Elfeed repository on Github](https://github.com/skeeto/elfeed) -[^4]: The "r" key messes with my muscle memory, as notmuch[^5] uses "ku" for the same action while "r" will start composing a reply. -[^5]: [Posts tagged about notmuch](https://d-s.sh/tags/notmuch) -[^6]: my elisp-fu not good +[^fn:1]: [Emacs as a Shell](/2023/emacs-as-a-shell/) +[^fn:2]: [Newsboat homepage](https://newsboat.org/) +[^fn:3]: [Elfeed repository on Github](https://github.com/skeeto/elfeed) +[^fn:4]: my elisp-fu not good
\ No newline at end of file |