From 9d05424d8e2c75bfbaf04a475dca5bf6db32c2c6 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 13 Jan 2021 19:54:56 -0600 Subject: Change G map in elfeed I don’t know why, but I need to re-init ttrss to download any new feed items. So I’ve written this kludge that just reinits the connection, downloading all new stuff, when I type “G”. --- config.org | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index 978e11b..052b8f8 100644 --- a/config.org +++ b/config.org @@ -2213,9 +2213,19 @@ from [[https://github.com/mpereira/.emacs.d#align-all-tags-in-the-buffer-on-tag- (list "ttrss+https://acdw@rss.tildeverse.org" :use-authinfo t))) - (setq elfeed-log-level 'debug) + ;; Uncomment this line if elfeed is giving problems. + ;; (setq elfeed-log-level 'debug) (elfeed-protocol-enable) + + (defun acdw/update-elfeed-protocol-feeds () + "Wrap various (non-working) protocol updaters. + I could probably do this in a much more ... better way." + (interactive) + (elfeed-protocol-ttrss-reinit "https://rss.tildeverse.org")) + + (with-eval-after-load 'elfeed + (define-key elfeed-search-mode-map "G" #'acdw/update-elfeed-protocol-feeds)) #+end_src * System integration -- cgit 1.4.1-21-gabe81