Tweak elfeed, emms, and webjump

This commit is contained in:
Gerard Vermeulen 2022-04-18 08:26:40 +02:00
parent 8a9ccabda0
commit d27c3613cd
1 changed files with 42 additions and 30 deletions

View File

@ -3507,6 +3507,7 @@ files.
Listing [[lst:configure-webjump]] binds {{{kbd(C-c j)}}} to =webjump= and
initializes a list of =webjump-sites=.
#+attr_latex: :options breaklines
#+caption[Configure =webjump=]:
#+caption: Configure =webjump=.
#+name: lst:configure-webjump
@ -3517,8 +3518,12 @@ initializes a list of =webjump-sites=.
(custom-set-variables
'(webjump-sites
'(("CS 325 AI Programming" . "courses.cs.northwestern.edu/325")
("Emacs Git Repositories" . "savannah.gnu.org/git/?group=emacs")
;; ("Emacs Git Repositories" . "savannah.gnu.org/git/?group=emacs")
("Emacs Git Repository" . "git.savannah.gnu.org/cgit/emacs.git")
("Emacs News" . "sachachua.com/blog/category/emacs-news")
("GNU ELPA Git Repository" . "git.savannah.gnu.org/cgit/emacs/elpa.git")
("NonGNU ELPA Git Repository" . "git.savannah.gnu.org/cgit/emacs/nongnu.git")
("Org Mode Git Repository" . "git.savannah.gnu.org/cgit/emacs/org-mode.git")
("Org Mode List" . "list.orgmode.org")
("Worg - Org Mode Community" . "orgmode.org/worg")
("Planet Emacs Life" . "planet.emacslife.com")
@ -3544,33 +3549,36 @@ initializes a list of =webjump-sites=.
:CUSTOM_ID: sec:emacs-web-feed-reader
:END:
#+caption[Enable =elfeed=]:
#+caption: Enable =elfeed=.
#+name: lst:enable-elfeed
#+begin_src emacs-lisp
(autoload 'elfeed "elfeed" nil t)
(global-set-key (kbd "C-x w") #'elfeed)
Listing [[lst:configure-elfeed]] configures =elfeed=.
(with-eval-after-load 'elfeed
(custom-set-variables
'(elfeed-feeds
'(("http://www.howardism.org/index.xml" h-abrams)
("https://ambrevar.xyz/atom.xml" p-neirhardt)
("https://emacshorrors.com/feed.atom" v-schneidermann)
("https://emacsninja.com/emacs.atom" v-schneidermann)
("https://feeds.feedburner.com/InterceptedWithJeremyScahill" j-scahill)
("https://nullprogram.com/feed/" c-wellons)
("https://oremacs.com/atom.xml" o-krehel)
("https://planet.emacslife.com/atom.xml" planet-emacs)
("https://protesilaos.com/codelog.xml" p-stavrou)
("https://sachachua.com/blog/category/emacs/feed" s-chua)
("https://sciencescitoyennes.org/feed/" sciences)
("https://updates.orgmode.org/feed/updates" org-updates)
("https://www.aclu.org/taxonomy/feed-term/2152/feed" aclu)
("https://www.bof.nl/rss/" bof)
("https://www.democracynow.org/podcast-video.xml" dn)
("https://www.laquadrature.net/fr/rss.xml" lqdn)
("https://www.lemonde.fr/blog/huet/feed/" sciences)))))
#+attr_latex: :options breaklines
#+caption[Configure =elfeed=]:
#+caption: Configure =elfeed=.
#+name: lst:configure-elfeed
#+begin_src emacs-lisp
(when (fboundp 'elfeed)
(global-set-key (kbd "C-x w") #'elfeed)
(with-eval-after-load 'elfeed
(custom-set-variables
'(elfeed-feeds
'(("http://www.howardism.org/index.xml" h-abrams)
("https://ambrevar.xyz/atom.xml" p-neirhardt)
("https://emacshorrors.com/feed.atom" v-schneidermann)
("https://emacsninja.com/emacs.atom" v-schneidermann)
("https://feeds.feedburner.com/InterceptedWithJeremyScahill" j-scahill)
("https://nullprogram.com/feed/" c-wellons)
("https://oremacs.com/atom.xml" o-krehel)
("https://planet.emacslife.com/atom.xml" planet-emacs)
("https://protesilaos.com/codelog.xml" p-stavrou)
("https://sachachua.com/blog/category/emacs/feed" s-chua)
("https://sciencescitoyennes.org/feed/" sciences)
("https://updates.orgmode.org/feed/updates" org-updates)
("https://www.aclu.org/taxonomy/feed-term/2152/feed" aclu)
("https://www.bof.nl/rss/" bof)
("https://www.democracynow.org/podcast-video.xml" dn)
("https://www.laquadrature.net/fr/rss.xml" lqdn)
("https://www.lemonde.fr/blog/huet/feed/" sciences))))))
#+end_src
** [[info:emms#Top][Emacs Multimedia System (info)]]
@ -3578,9 +3586,13 @@ initializes a list of =webjump-sites=.
:CUSTOM_ID: sec:emacs-multimedia-system
:END:
#+caption[Enable =emms=]:
#+caption: Enable =emms=.
#+name: lst:enable-emms
The link [[https://sqrtminusone.xyz/posts/2021-09-07-emms/][my emms and elfeed setup]] is a nice introduction to configuring and
using =emms= with =elfeed=. Listing [[lst:configure-emms]] configures =emms= for
use with =elfeed=.
#+caption[Configure =emms=]:
#+caption: Configure =emms=.
#+name: lst:configure-emms
#+begin_src emacs-lisp
(with-eval-after-load 'elfeed-show
(when (require 'emms-setup nil 'noerror)