From 3d8ebfc0bef8ccf7804c8619ce43b38423b74112 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Sat, 5 Jun 2021 16:57:05 +0200 Subject: [PATCH] Move erc settings --- bundle/bundle--mk.el | 10 ---------- bundle/bundle--package.el | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/bundle/bundle--mk.el b/bundle/bundle--mk.el index f48bf0a7..57985124 100644 --- a/bundle/bundle--mk.el +++ b/bundle/bundle--mk.el @@ -70,16 +70,6 @@ (defun start-irc (nick) (interactive "sTell me your nick please: ") - (setq erc-track-shorten-start 8 - erc-kill-buffer-on-part t - 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")) - erc-rename-buffers t - erc-autojoin-channels-alist '(("libera.chat" "#emacs")) - erc-interpret-mirc-color t - erc-modules '(autojoin button completion fill irccontrols list match menu move-to-prompt netsplit networks noncommands notifications readonly ring stamp track truncate)) (erc-tls :server "irc.libera.chat" :port 6697 :nick nick diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index 8ffc8041..b1a7f4cc 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -265,3 +265,26 @@ (use-package slime-company :after (slime company) :config (setq slime-company-after-completion 'slime-company-just-one-space)) + +(use-package erc + :config + (setq erc-track-shorten-start 8 + erc-kill-buffer-on-part t + 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")) + erc-rename-buffers t + erc-autojoin-channels-alist '(("libera.chat" "#emacs" "#commonlisp")) + erc-interpret-mirc-color t + erc-modules '(autojoin button completion fill irccontrols list match menu move-to-prompt netsplit networks noncommands notifications readonly ring stamp track truncate))) + +(use-package erc-image + :after erc + :config + (setq erc-image-inline-rescale 300) + (add-to-list 'erc-modules 'image)) + +(use-package emojify + :hook (erc-mode . emojify-mode) + :commands emojify-mode)