Update emacs.org

This commit is contained in:
Sako 2023-11-05 16:29:21 +04:00 committed by GitHub
parent dda5d3794b
commit 87d9b5f9cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2803,6 +2803,9 @@ Dired is a built-in file manager for Emacs that does some pretty amazing things!
(elfeed-set-timeout 36000)
(setq elfeed-curl-extra-arguments '("--insecure")) ;necessary for https without a trust certificate
;; workaround for smth
(setq elfeed-protocol-fever-update-unread-only t)
;; setup feeds
(setq elfeed-protocol-feeds '(("fever+https://sako@rss.sako.box"
:api-url "https://rss.sako.box/api/fever.php"
@ -2813,7 +2816,7 @@ Dired is a built-in file manager for Emacs that does some pretty amazing things!
(elfeed-protocol-enable)
)
(let* ((proto-id "fever+https://sako@https://rss.sako.box")
(let* ((proto-id "fever+https://sako@rss.sako.box")
(last-id (elfeed-protocol-fever-get-update-mark proto-id 'update)))
(elfeed-protocol-fever-set-update-mark proto-id 'update (- last-id 1000)))
@ -2821,8 +2824,9 @@ Dired is a built-in file manager for Emacs that does some pretty amazing things!
(lambda () (when (= elfeed-curl-queue-active 0)
(elfeed-update))))
(add-hook 'elfeed-search-mode-hook 'elfeed-protocol-fever-reinit "fever+https://sako@https://rss.sako.box")
#+end_src
(add-hook 'emacs-startup-hook elfeed-update)
#+end_src
* Org Mode Configuration Setup
** Babel Languages
#+begin_src emacs-lisp