blob: f531d5f591ed620c34dc29ef029e1822049a7593 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
|