summaryrefslogtreecommitdiff
path: root/mms-misc-irc.org
diff options
context:
space:
mode:
Diffstat (limited to 'mms-misc-irc.org')
-rw-r--r--mms-misc-irc.org27
1 files changed, 27 insertions, 0 deletions
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
+