-
Notifications
You must be signed in to change notification settings - Fork 0
/
erc.el
37 lines (35 loc) · 1.36 KB
/
erc.el
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
28
29
30
31
32
33
34
35
36
37
;;; ERC: Emacs IRC
(setq erc-log-channels-directory "~/.emacs.d/erc/log/"
erc-fill-column 110
erc-autojoin-timing 'ident
erc-nick "cgore"
erc-user-full-name "Christopher Mark Gore"
erc-email-userid "[email protected]"
erc-interpret-mirc-color t
erc-kill-buffer-on-part t
erc-kill-queries-on-quit t
erc-kill-server-buffer-on-quit t
erc-save-buffer-on-part t
erc-save-queries-on-quit t
erc-log-write-after-send t
erc-log-write-after-insert t
erc-autojoin-channels-alist '(("freenode.net"
"#clojure" "#jesus" "#lisp")))
;; Set your erc-nickserv-passwords in this file. Example:
;;(setq erc-nickserv-passwords
;; `((freenode (("whoYouAre" . "yourSecretPassword")))))
(setq ercpass-el (expand-file-name "~/.emacs.d/secrets/ercpass.el"))
(when (file-exists-p ercpass-el)
(load ercpass-el))
(setq erc-prompt
(lambda ()
(erc-propertize (if (and (boundp 'erc-default-recipients)
(erc-default-target))
(concat (erc-default-target) ">")
(concat "ERC>"))
'read-only t 'rear-nonsticky t 'front-nonsticky t)))
(require 'erc-services)
(erc-services-mode 1)
(setq erc-prompt-for-nickserv-password nil)
(add-to-list 'erc-modules 'log)
(erc-update-modules)