diff options
author | Case Duckworth | 2021-01-13 19:54:56 -0600 |
---|---|---|
committer | Case Duckworth | 2021-01-13 19:54:56 -0600 |
commit | 9d05424d8e2c75bfbaf04a475dca5bf6db32c2c6 (patch) | |
tree | 8fe390f525dfe9d68f9ae731f89972e880403624 | |
parent | Configure org-capture (diff) | |
download | emacs-9d05424d8e2c75bfbaf04a475dca5bf6db32c2c6.tar.gz emacs-9d05424d8e2c75bfbaf04a475dca5bf6db32c2c6.zip |
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”.
-rw-r--r-- | config.org | 12 |
1 files changed, 11 insertions, 1 deletions
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- | |||
2213 | (list "ttrss+https://acdw@rss.tildeverse.org" | 2213 | (list "ttrss+https://acdw@rss.tildeverse.org" |
2214 | :use-authinfo t))) | 2214 | :use-authinfo t))) |
2215 | 2215 | ||
2216 | (setq elfeed-log-level 'debug) | 2216 | ;; Uncomment this line if elfeed is giving problems. |
2217 | ;; (setq elfeed-log-level 'debug) | ||
2217 | 2218 | ||
2218 | (elfeed-protocol-enable) | 2219 | (elfeed-protocol-enable) |
2220 | |||
2221 | (defun acdw/update-elfeed-protocol-feeds () | ||
2222 | "Wrap various (non-working) protocol updaters. | ||
2223 | I could probably do this in a much more ... better way." | ||
2224 | (interactive) | ||
2225 | (elfeed-protocol-ttrss-reinit "https://rss.tildeverse.org")) | ||
2226 | |||
2227 | (with-eval-after-load 'elfeed | ||
2228 | (define-key elfeed-search-mode-map "G" #'acdw/update-elfeed-protocol-feeds)) | ||
2219 | #+end_src | 2229 | #+end_src |
2220 | 2230 | ||
2221 | * System integration | 2231 | * System integration |