Update emacs.org
This commit is contained in:
parent
60e90bb836
commit
0321c3ebfe
|
@ -1220,11 +1220,9 @@ Dired is a built-in file manager for Emacs that does some pretty amazing things!
|
||||||
(use-package elfeed-protocol
|
(use-package elfeed-protocol
|
||||||
:straight t
|
:straight t
|
||||||
:after elfeed
|
:after elfeed
|
||||||
:ensure t
|
|
||||||
:config
|
:config
|
||||||
;; curl recommend
|
;; curl recommend
|
||||||
;; crashes emacs
|
(setq elfeed-use-curl t)
|
||||||
;; (setq elfeed-use-curl t)
|
|
||||||
(elfeed-set-timeout 36000)
|
(elfeed-set-timeout 36000)
|
||||||
(setq elfeed-curl-extra-arguments '("--insecure")) ;necessary for https without a trust certificate
|
(setq elfeed-curl-extra-arguments '("--insecure")) ;necessary for https without a trust certificate
|
||||||
|
|
||||||
|
@ -1237,10 +1235,18 @@ Dired is a built-in file manager for Emacs that does some pretty amazing things!
|
||||||
:use-authinfo t)))
|
:use-authinfo t)))
|
||||||
|
|
||||||
;; enable elfeed-protocol
|
;; enable elfeed-protocol
|
||||||
(setq elfeed-protocol-enabled-protocols '(fever newsblur owncloud ttrss))
|
(setq elfeed-protocol-enabled-protocols '(fever))
|
||||||
(elfeed-protocol-enable)
|
(elfeed-protocol-enable)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(use-package elfeed-goodies
|
||||||
|
:straight t
|
||||||
|
:after (elfeed)
|
||||||
|
:init
|
||||||
|
(elfeed-goodies/setup)
|
||||||
|
:config
|
||||||
|
(setq elfeed-goodies/entry-pane-position 'bottom))
|
||||||
|
|
||||||
(let* ((proto-id "fever+https://sako@rss.sako.box")
|
(let* ((proto-id "fever+https://sako@rss.sako.box")
|
||||||
(last-id (elfeed-protocol-fever-get-update-mark proto-id 'update)))
|
(last-id (elfeed-protocol-fever-get-update-mark proto-id 'update)))
|
||||||
(elfeed-protocol-fever-set-update-mark proto-id 'update (- last-id 1000)))
|
(elfeed-protocol-fever-set-update-mark proto-id 'update (- last-id 1000)))
|
||||||
|
@ -1249,13 +1255,7 @@ Dired is a built-in file manager for Emacs that does some pretty amazing things!
|
||||||
(lambda () (when (= elfeed-curl-queue-active 0)
|
(lambda () (when (= elfeed-curl-queue-active 0)
|
||||||
(elfeed-update))))
|
(elfeed-update))))
|
||||||
|
|
||||||
(use-package elfeed-goodies
|
(add-hook 'emacs-startup-hook (elfeed-update))
|
||||||
:straight t
|
|
||||||
:after (elfeed)
|
|
||||||
:init
|
|
||||||
(elfeed-goodies/setup)
|
|
||||||
:config
|
|
||||||
(setq elfeed-goodies/entry-pane-position 'bottom))
|
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
** Telegram
|
** Telegram
|
||||||
|
|
Loading…
Reference in a new issue