From: Amin Bandali Date: Sat, 15 Aug 2020 03:22:56 +0000 (-0400) Subject: Various ERC customizations X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/b0e197decc904ad25eb825ef664730375019f435?hp=d040adb35e15dfa8c6aa43376bdabe2a55fc78c4 Various ERC customizations * lisp/bandali-erc.el: Make 'erc-pal-face more subtle, with a slight yellow background. Also, set erc-pal-highlight-type to the newly-added `message' type [1: e365b9ab7b], which in contrast to `all', only highlights the message body and not the nick. Lastly, add the tilde.chat network. [1: e365b9ab7b]: 2020-08-14 22:12:02 -0400 Add `message' to erc-match.el highlight types https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e365b9ab7b989c0587c0f2c0f05d35b4d67920dd --- diff --git a/lisp/bandali-erc.el b/lisp/bandali-erc.el index 94b5013..4fe50b0 100644 --- a/lisp/bandali-erc.el +++ b/lisp/bandali-erc.el @@ -27,6 +27,7 @@ (use-package erc :bind ("C-c w e" . erc-switch-to-buffer-other-window) :custom + (erc-auto-query 'bury) (erc-autojoin-domain-only nil) (erc-format-nick-function 'erc-format-@nick) (erc-join-buffer 'bury) @@ -67,7 +68,16 @@ (use-package erc-match :after erc + :config + (set-face-attribute + 'erc-pal-face nil + :foreground 'unspecified + :weight 'unspecified + ;; :inherit 'font-lock-string-face + ;; :background (face-attribute 'font-lock-string-face :background) + :background "#ffffed") :custom + (erc-pal-highlight-type 'message) (erc-pals '("aindilis" "blackbeard" "bremner" "brettgilio" "civodul" "dto" "ggoes" "jrasata" "jxself" "mplsCorwin" "quiliro" "rindolf" "rwp" @@ -109,7 +119,9 @@ `(("znc.emacsconf.org" 6697 t ((freenode "bandali/freenode" ,pwd))) ("znc.emacsconf.org" 6697 t - ((oftc "bandali/oftc" ,pwd))))))) + ((oftc "bandali/oftc" ,pwd))) + ("znc.emacsconf.org" 6697 t + ((tildechat "bandali/tildechat" ,pwd))))))) (provide 'bandali-erc) ;;; bandali-erc.el ends here