Tweak elfeed, emms, and webjump

This commit is contained in:
Gerard Vermeulen 2022-04-18 08:26:40 +02:00
parent 8a9ccabda0
commit d27c3613cd

View File

@ -3507,6 +3507,7 @@ files.
Listing [[lst:configure-webjump]] binds {{{kbd(C-c j)}}} to =webjump= and Listing [[lst:configure-webjump]] binds {{{kbd(C-c j)}}} to =webjump= and
initializes a list of =webjump-sites=. initializes a list of =webjump-sites=.
#+attr_latex: :options breaklines
#+caption[Configure =webjump=]: #+caption[Configure =webjump=]:
#+caption: Configure =webjump=. #+caption: Configure =webjump=.
#+name: lst:configure-webjump #+name: lst:configure-webjump
@ -3517,8 +3518,12 @@ initializes a list of =webjump-sites=.
(custom-set-variables (custom-set-variables
'(webjump-sites '(webjump-sites
'(("CS 325 AI Programming" . "courses.cs.northwestern.edu/325") '(("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") ("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") ("Org Mode List" . "list.orgmode.org")
("Worg - Org Mode Community" . "orgmode.org/worg") ("Worg - Org Mode Community" . "orgmode.org/worg")
("Planet Emacs Life" . "planet.emacslife.com") ("Planet Emacs Life" . "planet.emacslife.com")
@ -3544,11 +3549,14 @@ initializes a list of =webjump-sites=.
:CUSTOM_ID: sec:emacs-web-feed-reader :CUSTOM_ID: sec:emacs-web-feed-reader
:END: :END:
#+caption[Enable =elfeed=]: Listing [[lst:configure-elfeed]] configures =elfeed=.
#+caption: Enable =elfeed=.
#+name: lst:enable-elfeed #+attr_latex: :options breaklines
#+caption[Configure =elfeed=]:
#+caption: Configure =elfeed=.
#+name: lst:configure-elfeed
#+begin_src emacs-lisp #+begin_src emacs-lisp
(autoload 'elfeed "elfeed" nil t) (when (fboundp 'elfeed)
(global-set-key (kbd "C-x w") #'elfeed) (global-set-key (kbd "C-x w") #'elfeed)
(with-eval-after-load 'elfeed (with-eval-after-load 'elfeed
@ -3570,7 +3578,7 @@ initializes a list of =webjump-sites=.
("https://www.bof.nl/rss/" bof) ("https://www.bof.nl/rss/" bof)
("https://www.democracynow.org/podcast-video.xml" dn) ("https://www.democracynow.org/podcast-video.xml" dn)
("https://www.laquadrature.net/fr/rss.xml" lqdn) ("https://www.laquadrature.net/fr/rss.xml" lqdn)
("https://www.lemonde.fr/blog/huet/feed/" sciences))))) ("https://www.lemonde.fr/blog/huet/feed/" sciences))))))
#+end_src #+end_src
** [[info:emms#Top][Emacs Multimedia System (info)]] ** [[info:emms#Top][Emacs Multimedia System (info)]]
@ -3578,9 +3586,13 @@ initializes a list of =webjump-sites=.
:CUSTOM_ID: sec:emacs-multimedia-system :CUSTOM_ID: sec:emacs-multimedia-system
:END: :END:
#+caption[Enable =emms=]: The link [[https://sqrtminusone.xyz/posts/2021-09-07-emms/][my emms and elfeed setup]] is a nice introduction to configuring and
#+caption: Enable =emms=. using =emms= with =elfeed=. Listing [[lst:configure-emms]] configures =emms= for
#+name: lst:enable-emms use with =elfeed=.
#+caption[Configure =emms=]:
#+caption: Configure =emms=.
#+name: lst:configure-emms
#+begin_src emacs-lisp #+begin_src emacs-lisp
(with-eval-after-load 'elfeed-show (with-eval-after-load 'elfeed-show
(when (require 'emms-setup nil 'noerror) (when (require 'emms-setup nil 'noerror)