From 0cb684eeba2774f9dec8e26e9d806912dbce8036 Mon Sep 17 00:00:00 2001 From: Blendoit Date: Sun, 22 Nov 2020 21:10:36 -0800 Subject: erc --- smart-documents.org | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/smart-documents.org b/smart-documents.org index 12d313c..1be6c6d 100644 --- a/smart-documents.org +++ b/smart-documents.org @@ -806,6 +806,50 @@ Everlasting Father, Prince of Peace. :bind (("C-f" . counsel-grep-or-swiper))) #+END_SRC +*** IRC + +Emacs ships with an IRC client called ~erc~. + +#+BEGIN_SRC emacs-lisp :tangle yes + (use-package erc + :custom + (erc-autojoin-channels-alist '(("freenode.net" + "#linux" + "#archlinux" + "#emacs" + "#bitcoin" + "#latex" + "#org-mode" + "#python"))) + (erc-autojoin-timing 'ident) ; Autojoin after NickServ identification. + (erc-fill-function 'erc-fill-static) + (erc-fill-static-center 20) + ;; (erc-hide-list '("JOIN" "PART" "QUIT")) + (erc-lurker-hide-list '("JOIN" "PART" "QUIT")) + (erc-lurker-threshold-time (* 3600 4)) ; Four hours + (erc-prompt-for-nickserv-password nil) + (erc-server-reconnect-attempts 5) + (erc-server-reconnect-timeout 3) + :config + (add-to-list 'erc-modules 'spelling) + (erc-services-mode 1) + (erc-update-modules)) +#+END_SRC + +We enable the automatic highlighting of ~erc~ nicknames. + +#+BEGIN_SRC emacs-lisp :tangle yes +(use-package erc-hl-nicks + :after erc) +#+END_SRC + +Also, we enable the display of inline images in channels. + +#+BEGIN_SRC emacs-lisp :tangle yes +(use-package erc-image + :after erc) +#+END_SRC + ** Coding languages *** TODO Emacs Lisp -- cgit v1.2.3