2021-12-15 14:05:13 +01:00
|
|
|
|
(use-package erc
|
2023-10-04 16:23:56 +02:00
|
|
|
|
:defer t
|
|
|
|
|
:hook (erc-mode . emojify-mode)
|
|
|
|
|
:custom
|
|
|
|
|
(erc-prompt-for-nickserv-password nil)
|
|
|
|
|
(erc-track-shorten-start 8)
|
|
|
|
|
(erc-auto-query 'bury)
|
|
|
|
|
(erc-hide-list '("JOIN" "PART" "QUIT"))
|
|
|
|
|
(erc-network-hide-list '(("libera.chat" "JOIN" "PART" "QUIT")))
|
|
|
|
|
(erc-rename-buffers t)
|
|
|
|
|
(erc-image-inline-rescale 300)
|
|
|
|
|
(erc-interpret-mirc-color t)
|
|
|
|
|
(erc-kill-buffer-on-part t)
|
|
|
|
|
(erc-kill-queries-on-quit t)
|
|
|
|
|
(erc-kill-server-buffer-on-quit t)
|
|
|
|
|
(erc-modules
|
|
|
|
|
'(autojoin ; Set away status automatically
|
|
|
|
|
button ; Join channels automatically
|
|
|
|
|
completion ; Complete nicknames and commands (programmable)
|
|
|
|
|
fill ; Wrap long lines
|
|
|
|
|
irccontrols ; Highlight or remove IRC control characters
|
|
|
|
|
match ; Highlight pals, fools, and other keywords
|
|
|
|
|
menu ; Display a menu in ERC buffers
|
|
|
|
|
netsplit ; Detect netsplits
|
|
|
|
|
noncommands ; Don’t display non-IRC commands after evaluation
|
|
|
|
|
readonly ; Make displayed lines read-only
|
|
|
|
|
ring ; Enable an input history
|
|
|
|
|
services ; Identify to Nickserv (IRC Services) automatically
|
|
|
|
|
smiley ; Convert smileys to pretty icons
|
|
|
|
|
stamp ; Add timestamps to messages
|
|
|
|
|
truncate ; Truncate buffers to a certain size
|
|
|
|
|
)))
|
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
|
2023-09-01 09:39:25 +02:00
|
|
|
|
:full-name "J. Edgar Hoover"))
|