From 11760041c7ebf7301e37f07e1e1a78bbdcc50a87 Mon Sep 17 00:00:00 2001 From: mms Date: Wed, 12 Jun 2024 16:55:12 +0200 Subject: feat: irc mode --- mms-misc-irc.org | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 mms-misc-irc.org (limited to 'mms-misc-irc.org') diff --git a/mms-misc-irc.org b/mms-misc-irc.org new file mode 100644 index 0000000..f531d5f --- /dev/null +++ b/mms-misc-irc.org @@ -0,0 +1,27 @@ +#+TITLE: mms Emacs Config - IRC +#+AUTHOR: MichaƂ Sapka (https://michal.sapka.me) +#+STARTUP: showall indent logdone + +#+HUGO_BASE_DIR: ~/ghq/vcs.sapka.me/michal-sapka-me/ +#+HUGO_WEIGHT: 20 +#+HUGO_SECTION: emacs/config +#+HUGO_CATEGORIES: emacs emacs-config +#+HUGO_MENU :menu "emacs-config" :name GUI +#+HUGO_CUSTOM_FRONT_MATTER: :abstract "My emacs config - GUI look and feel" +#+HUGO_CUSTOM_FRONT_MATTER: :menu-abstract "The way Emacs look in gui mode" +#+EXPORT_FILE_NAME: gui + +* ERC setup + +#+begin_src emacs-lisp + (setq erc-autojoin-channels-alist + '(("tilde.chat" "#emacs.ch"))) + + (defun mms-irc-mode() + "use this instance of Emacs for IRC" + (interactive) + + (erc-tls :server "irc.tilde.chat" :port "6697" + :nick "mms" :full-name "https://michal.sapka.me")) +#+end_src + -- cgit v1.2.3