Added package Elfeed Org in the Emacs custom config
This commit is contained in:
16
emacs/.emacs.d/elfeed.org
Normal file
16
emacs/.emacs.d/elfeed.org
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
#+TITLE: RSS Urls
|
||||||
|
#+AUTHOR: Fabio Scotto di Santolo
|
||||||
|
#+DATE: <2025-10-25 Sat>
|
||||||
|
|
||||||
|
* root :elfeed:
|
||||||
|
** Programming :programming:
|
||||||
|
*** [[https://feeds.feedburner.com/TheHackersNews][Hacker News]] :news: :security:
|
||||||
|
** FOSS News :news:
|
||||||
|
*** [[https://blog.linuxmint.com/?feed=rss2][Linux Mint Blog]] :blog: :linux: :linuxmint:
|
||||||
|
** Youtube :youtube:
|
||||||
|
*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg][DistroTube]] :emacs: :foss: :linux:
|
||||||
|
*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCABhVAlCkcEG9a2UVruq9vw][Douglas Mortimer]] :fashion:
|
||||||
|
*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCqZe2cxQNCvgkQxUuqsIaig][Esadecimale]] :emacs: :programming:
|
||||||
|
*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCnDDucQDLncrauOCmanCIgw][MorroLinux]] :linux: :foss:
|
||||||
|
*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCDDG9vOcmgwlslJJpCWjqOg][Salvatore Sanfilippo]] :programming:
|
||||||
|
*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCrqM0Ym_NbK1fqeQG2VIohg][Tsoding Daily]] :emacs: :programming:
|
||||||
@@ -166,7 +166,6 @@
|
|||||||
(use-package elfeed
|
(use-package elfeed
|
||||||
:ensure t
|
:ensure t
|
||||||
:custom
|
:custom
|
||||||
(elfeed-db-directory "~/.cache/elfeed")
|
|
||||||
(elfeed-enclosure-default-dir "~/Downloads/")
|
(elfeed-enclosure-default-dir "~/Downloads/")
|
||||||
(elfeed-search-remain-on-entry t)
|
(elfeed-search-remain-on-entry t)
|
||||||
(elfeed-search-title-max-width 100)
|
(elfeed-search-title-max-width 100)
|
||||||
@@ -175,13 +174,32 @@
|
|||||||
(elfeed-show-truncate-long-urls t)
|
(elfeed-show-truncate-long-urls t)
|
||||||
(elfeed-sort-order 'descending)
|
(elfeed-sort-order 'descending)
|
||||||
(elfeed-search-filter "+unread")
|
(elfeed-search-filter "+unread")
|
||||||
(elfeed-feeds
|
:bind
|
||||||
'(("https://blog.linuxmint.com/?feed=rss2" linux linuxmint)
|
("C-c o f" . fscotto/elfeed-load-db-and-open)
|
||||||
("https://feeds.feedburner.com/TheHackersNews" hackernews news security programming)))
|
(:map elfeed-search-mode-map
|
||||||
:bind (("C-c f" . elfeed)))
|
("w" . elfeed-search-yank)
|
||||||
|
("R" . elfeed-update)
|
||||||
|
("q" . elfeed-kill-buffer))
|
||||||
|
(:map elfeed-show-mode-map
|
||||||
|
("S" . elfeed-show-new-live-search) ; moved to free up 's'
|
||||||
|
("c" . (lambda () (interactive) (org-capture nil "capture")))
|
||||||
|
("e" . email-elfeed-entry)
|
||||||
|
("f" . elfeed-show-fetch-full-text)
|
||||||
|
("w" . elfeed-show-yank))
|
||||||
|
:hook
|
||||||
|
(elfeed-show-mode . visual-line-mode))
|
||||||
|
|
||||||
(use-package elfeed-org
|
(use-package elfeed-org
|
||||||
:ensure t)
|
:ensure t
|
||||||
|
:after elfeed
|
||||||
|
:custom
|
||||||
|
;; Optionally specify a number of files containing elfeed
|
||||||
|
;; configuration. If not set then the location below is used.
|
||||||
|
;; Note: The customize interface is also supported.
|
||||||
|
(rmh-elfeed-org-files (list "~/.emacs.d/elfeed.org")))
|
||||||
|
|
||||||
|
(with-eval-after-load 'elfeed
|
||||||
|
(elfeed-org))
|
||||||
|
|
||||||
;; Terminal
|
;; Terminal
|
||||||
(use-package vterm
|
(use-package vterm
|
||||||
@@ -287,4 +305,17 @@
|
|||||||
(use-package dap-mode
|
(use-package dap-mode
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
|
;;functions to support syncing .elfeed between machines
|
||||||
|
;;makes sure elfeed reads index from disk before launching
|
||||||
|
(defun fscotto/elfeed-load-db-and-open ()
|
||||||
|
"Wrapper to load the elfeed db from disk before opening URL https://pragmaticemacs.wordpress.com/2016/08/17/read-your-rss-feeds-in-emacs-with-elfeed/
|
||||||
|
Created: 2016-08-17
|
||||||
|
Updated: 2025-06-13"
|
||||||
|
(interactive)
|
||||||
|
(elfeed)
|
||||||
|
(elfeed-db-load)
|
||||||
|
;; (elfeed-search-update--force)
|
||||||
|
(elfeed-update)
|
||||||
|
(elfeed-db-save))
|
||||||
|
|
||||||
(message "...user configuration loaded")
|
(message "...user configuration loaded")
|
||||||
|
|||||||
Reference in New Issue
Block a user