config/emacs: nvm

This commit is contained in:
Sakooooo 2024-10-06 19:35:38 +04:00
parent 713852091e
commit f2eb88ad8f
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -1080,38 +1080,6 @@ does NOT WORK ON WINDOWS
(unless (eq system-type 'windows-nt) (unless (eq system-type 'windows-nt)
(use-package telega)) (use-package telega))
#+end_src #+end_src
** rcirc (irc)
#+begin_src emacs-lisp
;; (require 'rcirc)
(use-package rcirc
:ensure nil
:custom
(rcirc-id-string "Emacs rcirc")
(rcirc-server-alist `(("znc.sako.box"
:port 7000
:encryption tls
:nick "sako@emacs/Libera"
:user-name "sako@emacs/Libera"
:password ,(concat "sako@emacs/Libera:" (password-store-get "SelfHosted/ZNC")))))
(rcirc-fill-column 120)
(rcirc-reconnect-delay 5)
:config
(defun rcirc-detach-buffer ()
(interactive)
(let ((buffer (current-buffer)))
(when (and (rcirc-buffer-process)
(eq (process-status (rcirc-buffer-process)) 'open))
(with-rcirc-server-buffer
(setq rcirc-buffer-alist
(rassq-delete-all buffer rcirc-buffer-alist)))
(rcirc-update-short-buffer-names)
(if (rcirc-channel-p rcirc-target)
(rcirc-send-string (rcirc-buffer-process)
(concat "DETACH " rcirc-target))))
(setq rcirc-target nil)
(kill-buffer buffer))))
#+end_src
** elfeed (rss) ** elfeed (rss)
Will configure later, (use elfeed protocol ok ty) Will configure later, (use elfeed protocol ok ty)
#+begin_src emacs-lisp #+begin_src emacs-lisp