about summary refs log tree commit diff stats
path: root/config.org
diff options
context:
space:
mode:
authorCase Duckworth2021-01-27 15:52:05 -0600
committerCase Duckworth2021-01-27 15:52:05 -0600
commit31bdb3495a4526584651d26c9d7d8083e2265f49 (patch)
treec9ad59ccf7e0f37e04bde4b5477d81084146061c /config.org
parentAdd :package: tag (diff)
downloademacs-31bdb3495a4526584651d26c9d7d8083e2265f49.tar.gz
emacs-31bdb3495a4526584651d26c9d7d8083e2265f49.zip
Add elfeed
Diffstat (limited to 'config.org')
-rw-r--r--config.org53
1 files changed, 53 insertions, 0 deletions
diff --git a/config.org b/config.org index ff80e24..ef9fe91 100644 --- a/config.org +++ b/config.org
@@ -1784,6 +1784,59 @@ bad, to be honest. Let's change em.
1784 1784
1785See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org][this guide]] and try it out. 1785See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org][this guide]] and try it out.
1786 1786
1787** RSS Feeds :package:
1788
1789*** Elfeed and goodies
1790
1791#+begin_src emacs-lisp :noweb-ref packages
1792 (straight-use-package 'elfeed)
1793 (straight-use-package 'elfeed-goodies)
1794#+end_src
1795
1796#+begin_src emacs-lisp :noweb-ref hooks
1797 (with-eval-after-load 'elfeed
1798 (require 'elfeed-goodies)
1799 (elfeed-goodies/setup))
1800#+end_src
1801
1802#+begin_src emacs-lisp :noweb-ref settings
1803 (setq-default elfeed-goodies/entry-pane-position 'bottom
1804 elfeed-goodies/powerline-default-separator nil
1805 elfeed-goodies/tag-column-width 16)
1806#+end_src
1807
1808#+begin_src emacs-lisp :noweb-ref hooks
1809 (defun hook--elfeed-show ()
1810 (visual-line-mode +1))
1811
1812 (add-hook 'elfeed-show-mode-hook #'hook--elfeed-show)
1813#+end_src
1814
1815#+begin_src emacs-lisp :noweb-ref bindings
1816 (define-key acdw/leader "f" #'elfeed)
1817#+end_src
1818
1819*** Elfeed-protocol
1820
1821I'm not /the most/ happy with this -- it seems like a lot for not that
1822much -- but until I figure out a proper syncing solution, it'll do.
1823
1824#+begin_src emacs-lisp :noweb-ref packages
1825 (straight-use-package 'elfeed-protocol)
1826#+end_src
1827
1828#+begin_src emacs-lisp :noweb-ref settings
1829 (setq-default elfeed-protocol-ttrss-maxsize 200
1830 elfeed-feeds
1831 '(("ttrss+https://acdw@rss.tildeverse.org"
1832 :use-authinfo t)))
1833#+end_src
1834
1835#+begin_src emacs-lisp :noweb-ref modes
1836 (with-eval-after-load 'elfeed
1837 (elfeed-protocol-enable))
1838#+end_src
1839
1787* Org mode :package: 1840* Org mode :package:
1788 1841
1789** Install it with =straight.el= 1842** Install it with =straight.el=