fix fatal error
This commit is contained in:
parent
d1ebdb5fa0
commit
5f154f0584
|
@ -633,8 +633,8 @@ Should make startup faster, taken from doom-emacs
|
||||||
(setq org-return-follows-link t)
|
(setq org-return-follows-link t)
|
||||||
|
|
||||||
;; hide stars except for leader star
|
;; hide stars except for leader star
|
||||||
(org-hide-leading-stars t)
|
(setq org-hide-leading-stars t)
|
||||||
(org-hide-emphasis-markers nil)
|
(setq org-hide-emphasis-markers nil)
|
||||||
|
|
||||||
;; org mode src thing
|
;; org mode src thing
|
||||||
(require 'org-tempo)
|
(require 'org-tempo)
|
||||||
|
@ -1212,55 +1212,50 @@ Dired is a built-in file manager for Emacs that does some pretty amazing things!
|
||||||
`((".*" ,(no-littering-expand-var-file-name "auto-save/") t)))
|
`((".*" ,(no-littering-expand-var-file-name "auto-save/") t)))
|
||||||
#+end_src
|
#+end_src
|
||||||
** RSS Reader
|
** RSS Reader
|
||||||
*** Elfeed
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package elfeed
|
(use-package elfeed
|
||||||
:straight t)
|
:straight t
|
||||||
#+end_src
|
)
|
||||||
*** Elfeed-Protocol
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package elfeed-protocol
|
|
||||||
:straight t
|
|
||||||
:after elfeed
|
|
||||||
:ensure t
|
|
||||||
:config
|
|
||||||
;; curl recommend
|
|
||||||
(setq elfeed-use-curl t)
|
|
||||||
(elfeed-set-timeout 36000)
|
|
||||||
(setq elfeed-curl-extra-arguments '("--insecure")) ;necessary for https without a trust certificate
|
|
||||||
|
|
||||||
;; workaround for smth
|
(use-package elfeed-protocol
|
||||||
(setq elfeed-protocol-fever-update-unread-only t)
|
:straight t
|
||||||
|
:after elfeed
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
;; curl recommend
|
||||||
|
(setq elfeed-use-curl t)
|
||||||
|
(elfeed-set-timeout 36000)
|
||||||
|
(setq elfeed-curl-extra-arguments '("--insecure")) ;necessary for https without a trust certificate
|
||||||
|
|
||||||
;; setup feeds
|
;; workaround for smth
|
||||||
(setq elfeed-protocol-feeds '(("fever+https://sako@rss.sako.box"
|
(setq elfeed-protocol-fever-update-unread-only t)
|
||||||
:api-url "https://rss.sako.box/api/fever.php"
|
|
||||||
:use-authinfo t)))
|
|
||||||
|
|
||||||
;; enable elfeed-protocol
|
;; setup feeds
|
||||||
(setq elfeed-protocol-enabled-protocols '(fever newsblur owncloud ttrss))
|
(setq elfeed-protocol-feeds '(("fever+https://sako@rss.sako.box"
|
||||||
(elfeed-protocol-enable)
|
:api-url "https://rss.sako.box/api/fever.php"
|
||||||
)
|
:use-authinfo t)))
|
||||||
|
|
||||||
(let* ((proto-id "fever+https://sako@rss.sako.box")
|
;; enable elfeed-protocol
|
||||||
(last-id (elfeed-protocol-fever-get-update-mark proto-id 'update)))
|
(setq elfeed-protocol-enabled-protocols '(fever newsblur owncloud ttrss))
|
||||||
(elfeed-protocol-fever-set-update-mark proto-id 'update (- last-id 1000)))
|
(elfeed-protocol-enable)
|
||||||
|
)
|
||||||
|
|
||||||
(run-at-time 300 300
|
(let* ((proto-id "fever+https://sako@rss.sako.box")
|
||||||
(lambda () (when (= elfeed-curl-queue-active 0)
|
(last-id (elfeed-protocol-fever-get-update-mark proto-id 'update)))
|
||||||
(elfeed-update))))
|
(elfeed-protocol-fever-set-update-mark proto-id 'update (- last-id 1000)))
|
||||||
|
|
||||||
|
(run-at-time 300 300
|
||||||
|
(lambda () (when (= elfeed-curl-queue-active 0)
|
||||||
|
(elfeed-update))))
|
||||||
|
|
||||||
|
(use-package elfeed-goodies
|
||||||
|
:straight t
|
||||||
|
:after (elfeed)
|
||||||
|
:init
|
||||||
|
(elfeed-goodies/setup)
|
||||||
|
:config
|
||||||
|
(setq elfeed-goodies/entry-pane-position 'bottom))
|
||||||
|
|
||||||
(add-hook 'emacs-startup-hook (elfeed-update))
|
|
||||||
#+end_src
|
|
||||||
*** Elfeed-Goodies
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package elfeed-goodies
|
|
||||||
:straight t
|
|
||||||
:after (elfeed)
|
|
||||||
:init
|
|
||||||
(elfeed-goodies/setup)
|
|
||||||
:config
|
|
||||||
(setq elfeed-goodies/entry-pane-position 'bottom))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
** Telegram
|
** Telegram
|
||||||
only god knows why im doing this
|
only god knows why im doing this
|
||||||
|
|
Loading…
Reference in a new issue