chore: remove elfeed

Dropped because the UX is confusing and it went unused.  Removed:

  config.el   rmh-elfeed-org-files, elfeed-search-filter, the custom
              "elfeed:" org link type (follow + store), the SPC o e
              binding, my/elfeed-entry-to-org-roam and its SPC "e"
              capture template, and the two elfeed-mode keybindings
  mac/init.el ;;(rss +org) -- the module exists only to provide elfeed,
              so it is now disabled here too (it already was in
              linux/init.el)
  elfeed.org  the feed list, 20 feeds

Kept: the org-link-preview binding (SPC m l p), which sat between the
elfeed blocks and has nothing to do with it.

After pulling on the mac: doom sync, since a module left the list.

Two leftovers this commit does not touch:

  - the feed list Emacs actually read is ~/Documents/qwan/essays/willem/
    elfeed.org (905 bytes, newer than the copy deleted here) because
    rmh-elfeed-org-files was relative to org-directory.  That file now has
    no consumer, and it sits inside org-roam-directory, so it will still
    show up as a node until you delete or archive it.
  - notes captured with my/elfeed-entry-to-org-roam contain
    [[elfeed:...]] links whose link type no longer exists.  They open as
    unknown links now.  I could not check how many there are: the vault is
    not readable from this sandbox.
This commit is contained in:
Willem van den Ende
2026-11-03 13:26:48 +00:00
parent 2bf149a2e8
commit e1afcc96db
3 changed files with 1 additions and 91 deletions
-62
View File
@@ -330,33 +330,6 @@
(setq org-roam-export-blog-firehose-root "~/dev/elixir/firehose"
org-roam-export-jekyll-root "~/MyDocuments/qwan/sites/qwaneu.github.io")
;; Elfeed RSS configuration
;; Feeds are defined in org-directory (same as org-roam-directory)
(setq rmh-elfeed-org-files (list "elfeed.org"))
(after! elfeed
(setq elfeed-search-filter "@1-week-ago +unread"))
;; Custom elfeed: link type to open entries in elfeed
(after! org
(org-link-set-parameters
"elfeed"
:follow (lambda (path)
(require 'elfeed)
(let* ((id (read path))
(entry (elfeed-db-get-entry id)))
(if entry
(progn
(elfeed-show-entry entry)
(switch-to-buffer "*elfeed-entry*"))
(message "Entry not found in elfeed database: %s" path))))
:store (lambda ()
(when (eq major-mode 'elfeed-show-mode)
(let ((entry elfeed-show-entry))
(org-link-store-props
:type "elfeed"
:link (format "elfeed:%s" (prin1-to-string (elfeed-entry-id entry)))
:description (elfeed-entry-title entry)))))))
;; Toggle inline previews (images) of org links — SPC m l p in org buffers
(map! :after org
:map org-mode-map
@@ -364,41 +337,6 @@
:desc "Toggle link preview"
"l p" #'org-link-preview)
(map! :leader
:desc "Elfeed RSS reader"
"o e" (cmd! (elfeed)))
;; Capture elfeed entry to org-roam with ROAM_REFS and elfeed link
(defun my/elfeed-entry-to-org-roam ()
"Capture current elfeed entry to org-roam with ROAM_REFS and elfeed link."
(interactive)
(let* ((entry (or elfeed-show-entry
(elfeed-search-selected :single)))
(title (elfeed-entry-title entry))
(url (elfeed-entry-link entry))
(date (format-time-string "%Y-%m-%d" (elfeed-entry-date entry)))
(elfeed-id (prin1-to-string (elfeed-entry-id entry))))
(org-roam-capture-
:keys "e"
:node (org-roam-node-create :title title)
:templates
`(("e" "elfeed" plain "%?"
:target (file+head
"%<%Y%m%d%H%M%S>-${slug}.org"
,(concat ":PROPERTIES:\n"
":ROAM_REFS: " url "\n"
":END:\n"
"#+title: ${title}\n"
"#+date: " date "\n\n"
"[[elfeed:" elfeed-id "][View in Elfeed]]\n\n"))
:unnarrowed t)))))
(map! :after elfeed
:map elfeed-show-mode-map
:n "C" #'my/elfeed-entry-to-org-roam
:map elfeed-search-mode-map
:n "C" #'my/elfeed-entry-to-org-roam)
;; LLM configuration with gptel
;; Machine-specific backends are configured in config-local.el
;; This file contains shared settings only
-28
View File
@@ -1,28 +0,0 @@
#+title: Elfeed
* Blogs :elfeed:
** entry-title: \(linux\|linus\|ubuntu\|kde\|gnome\) :linux:
** http://git-annex.branchable.com/design/assistant/blog/index.rss :mustread:
** http://feeds.feedburner.com/InformationIsBeautiful
** [[http://orgmode.org][Org Mode Links supported as well]]
** Software Development :dev:
*** Emacs :emacs:mustread:
**** http://www.terminally-incoherent.com/blog/feed
**** http://nullprogram.com/feed
**** entry-title: \(emacs\|org-mode\)
**** http://planet.emacsen.org/atom.xml
**** [[toobnix:154][EmacsConf]]
*** Web Development :web:
**** http://planet.phpunit.de/atom.xml
**** http://feeds.feedburner.com/symfony/blog
**** http://feeds.feedburner.com/qooxdoo/blog/content
*** Eclipse :eclipse:
**** http://blog.eclipse-tips.com/feeds/posts/default?alt=rss
**** http://ed-merks.blogspot.com/feeds/posts/default
A description of a feed can be written under any headline.
The text will be ignored by elfeed.
**** http://feeds.feedburner.com/eclipselive :ignore:
**** http://www.fosslc.org/drupal/rss.xml :video:
#+link: toobnix https://toobnix.org/feeds/videos.xml?videoChannelId=
** Willem
+1 -1
View File
@@ -184,7 +184,7 @@
:app
;;calendar
;;irc ; how neckbeards socialize
(rss +org) ; emacs as an RSS reader
;;(rss +org) ; emacs as an RSS reader
;;twitter ; twitter client https://twitter.com/vnought
:config