diff options
author | mms <michal@sapka.me> | 2024-06-12 16:55:12 +0200 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-06-12 16:55:12 +0200 |
commit | 11760041c7ebf7301e37f07e1e1a78bbdcc50a87 (patch) | |
tree | b77bbe6349c96f49de46219d9b79d0f99b1b6527 | |
parent | 9929c0b07ff72d3deaf09285a4b53174539233a4 (diff) |
feat: irc mode
-rw-r--r-- | init.el | 1 | ||||
-rw-r--r-- | mms-misc-irc.org | 27 |
2 files changed, 28 insertions, 0 deletions
@@ -16,6 +16,7 @@ (org-babel-load-file "~/.emacs.d/mms-misc.org") (org-babel-load-file "~/.emacs.d/mms-misc-rss.org") +(org-babel-load-file "~/.emacs.d/mms-misc-irc.org") (custom-set-variables ;; custom-set-variables was added by Custom. 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 + |