Skip to content

Commit

Permalink
Add ERC logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Kang committed Feb 4, 2012
1 parent 1919c69 commit 1c30778
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dskang.el
Expand Up @@ -207,3 +207,11 @@
;; Ignore useless messages
(setq erc-track-exclude-types '("JOIN" "NICK" "PART" "QUIT" "MODE"
"324" "329" "332" "333" "338" "353" "477"))

;; Save ERC logs
(setq erc-log-insert-log-on-open nil)
(setq erc-log-channels-directory "~/.erc/logs/")
(setq erc-save-buffer-on-part nil
erc-save-queries-on-quit nil
erc-log-write-after-send t
erc-log-write-after-insert t)
14 changes: 14 additions & 0 deletions init.el
Expand Up @@ -40,3 +40,17 @@

;; Load theme
(load-theme 'solarized-dark t)

;; Custom
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(erc-modules (quote (autojoin button completion fill irccontrols list log match menu move-to-prompt netsplit networks noncommands readonly ring stamp track))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)

0 comments on commit 1c30778

Please sign in to comment.