X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/07e389456cc015e1d2ab505822983f5207f6e74a..81b33a828705837b380db3147fbff3e313da4e27:/.emacs.d/lisp/bandali-erc.el?ds=sidebyside diff --git a/.emacs.d/lisp/bandali-erc.el b/.emacs.d/lisp/bandali-erc.el index 5fed2bc..a365ac7 100644 --- a/.emacs.d/lisp/bandali-erc.el +++ b/.emacs.d/lisp/bandali-erc.el @@ -1,6 +1,6 @@ ;;; bandali-erc.el --- bandali's ERC setup -*- lexical-binding: t; -*- -;; Copyright (C) 2018-2021 Amin Bandali +;; Copyright (C) 2018-2022 Amin Bandali ;; Author: Amin Bandali ;; Keywords: IRC, chat, client, Internet @@ -26,14 +26,14 @@ (with-eval-after-load 'erc (make-directory (b/var "erc/dcc") t) - (csetq + (setq erc-auto-query 'bury erc-autojoin-domain-only nil erc-dcc-get-default-directory (b/var "erc/dcc") erc-email-userid "bandali" erc-format-nick-function 'erc-format-@nick erc-join-buffer 'bury - erc-lurker-hide-list '("JOIN" "PART" "QUIT") + ;; erc-lurker-hide-list '("JOIN" "PART" "QUIT") erc-nick "bandali" erc-prompt "erc>" erc-prompt-for-password nil @@ -84,7 +84,7 @@ ;; :foreground "steel blue") ;; erc-fill - ;; (csetq + ;; (setq ;; erc-fill-column 77 ;; erc-fill-function 'erc-fill-variable ;; erc-fill-static-center 18) @@ -106,7 +106,7 @@ directory)) (defun b/erc-log-file-name (&rest _) (concat (format-time-string "%Y-%m-%d") ".log")) - (csetq + (setq ;; erc-enable-logging 'erc-log-all-but-server-buffers erc-generate-log-file-name-function #'b/erc-log-file-name erc-log-channels-directory #'b/erc-log-directory @@ -117,7 +117,7 @@ erc-save-queries-on-quit nil) ;; erc-match - (csetq + (setq erc-pal-highlight-type 'nick erc-pals '("bremner" "^gopar" "^iank" "quidam" "^rwp" "sudoman" @@ -132,12 +132,12 @@ :background "#ffffdf")) ;; erc-pcomplete - (csetq erc-pcomplete-nick-postfix ",") + (setq erc-pcomplete-nick-postfix ",") ;; erc-stamp - (csetq erc-timestamp-only-if-changed-flag nil - erc-timestamp-format "%T " - erc-insert-timestamp-function 'erc-insert-timestamp-left) + (setq erc-timestamp-only-if-changed-flag nil + erc-timestamp-format "%T " + erc-insert-timestamp-function 'erc-insert-timestamp-left) (with-eval-after-load 'erc-match (set-face-attribute 'erc-timestamp-face nil @@ -146,7 +146,7 @@ :background 'unspecified)) ;; erc-track - (csetq + (setq erc-track-enable-keybindings nil erc-track-exclude-types '("JOIN" "MODE" "NICK" "PART" "QUIT" "324" "329" "332" "333" "353" "477") @@ -161,19 +161,19 @@ ;; global key bindings (global-set-key - (kbd "C-c a e f") + (kbd "C-c e l") (lambda () (interactive) - (erc-tls :server "chat.freenode.net" :port 6697 + (erc-tls :server "irc.libera.chat" :port 6697 :client-certificate t))) (global-set-key - (kbd "C-c a e o") + (kbd "C-c e o") (lambda () (interactive) (erc-tls :server "irc.oftc.net" :port 6697 :client-certificate t))) (global-set-key - (kbd "C-c a e t") + (kbd "C-c e t") (lambda () (interactive) (erc-tls :server "na.tilde.chat" :port 6697