2021-12-15 14:05:13 +01:00
|
|
|
(use-package erc
|
2022-05-06 19:31:15 +02:00
|
|
|
:defer t
|
2021-12-16 09:43:35 +01:00
|
|
|
:hook (erc-mode . emojify-mode)
|
2021-12-15 14:05:13 +01:00
|
|
|
:custom
|
|
|
|
(erc-track-shorten-start 8)
|
|
|
|
(erc-auto-query 'bury)
|
|
|
|
(erc-hide-list '("JOIN" "PART" "QUIT"))
|
|
|
|
(erc-network-hide-list '(("irc.libera.chat" "JOIN" "PART" "QUIT")))
|
|
|
|
(erc-channel-hide-list '(("#emacs" "JOIN" "PART" "QUIT")))
|
2023-06-11 16:20:08 +02:00
|
|
|
(erc-autojoin-channels-alist '(("libera.chat" "#emacs" "#commonlisp")))
|
2021-12-15 14:05:13 +01:00
|
|
|
(erc-rename-buffers t)
|
2022-05-15 19:28:51 +02:00
|
|
|
(erc-image-inline-rescale 300)
|
2021-12-15 14:05:13 +01:00
|
|
|
(erc-interpret-mirc-color t)
|
2022-11-20 10:34:17 +01:00
|
|
|
(erc-kill-buffer-on-part t)
|
|
|
|
(erc-kill-queries-on-quit t)
|
|
|
|
(erc-kill-server-buffer-on-quit t)
|
|
|
|
(erc-modules
|
2023-01-22 17:43:33 +01:00
|
|
|
'(autoaway autojoin button completion fill irccontrols list match menu move-to-prompt netsplit networks noncommands readonly ring stamp track truncate)))
|
2021-12-15 14:05:13 +01:00
|
|
|
|
|
|
|
(defun start-irc (nick)
|
|
|
|
(interactive "sTell me your nick please: ")
|
|
|
|
(erc-tls :server "irc.libera.chat"
|
|
|
|
:port 6697
|
|
|
|
:nick nick
|
|
|
|
:full-name "emacs-user"))
|