summaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-08-14 23:22:56 -0400
committerAmin Bandali <bandali@gnu.org>2020-08-14 23:22:56 -0400
commitb0e197decc904ad25eb825ef664730375019f435 (patch)
tree37aa9d8043ec3a4d7ebeb499bd7522371278c30d /lisp
parentd040adb35e15dfa8c6aa43376bdabe2a55fc78c4 (diff)
downloadconfigs-b0e197decc904ad25eb825ef664730375019f435.tar.gz
configs-b0e197decc904ad25eb825ef664730375019f435.tar.xz
configs-b0e197decc904ad25eb825ef664730375019f435.zip
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
Diffstat (limited to '')
-rw-r--r--lisp/bandali-erc.el14
1 files changed, 13 insertions, 1 deletions
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