(csetq
erc-auto-query 'bury
erc-autojoin-domain-only nil
- erc-dcc-get-default-directory (b/var "erc/dcc/")
+ erc-dcc-get-default-directory (b/var "erc/dcc")
+ erc-email-userid "bandali"
erc-format-nick-function 'erc-format-@nick
erc-join-buffer 'bury
- erc-log-channels-directory (b/var "erc/log-channels/")
erc-lurker-hide-list '("JOIN" "PART" "QUIT")
erc-nick "bandali"
erc-prompt "erc>"
"Deop myself from current channel."
(erc-cmd-DEOP (format "%s" (erc-current-nick))))
(add-to-list 'erc-modules 'keep-place)
+ (add-to-list 'erc-modules 'log)
(when (display-graphic-p)
- (add-to-list 'erc-modules 'notifications))
- (add-to-list 'erc-modules 'smiley)
+ (add-to-list 'erc-modules 'notifications)
+ (add-to-list 'erc-modules 'smiley))
(add-to-list 'erc-modules 'spelling)
(declare-function erc-update-modules "erc")
(erc-update-modules)
;; to disable:
;; (erc-fill-mode -1)
+ ;; erc-log
+ (csetq
+ ;; erc-enable-logging 'erc-log-all-but-server-buffers
+ erc-generate-log-file-name-function 'erc-generate-log-file-name-with-date
+ erc-log-channels-directory (b/var "erc/logs")
+ erc-log-file-coding-system 'utf-8
+ erc-log-write-after-insert t
+ erc-log-write-after-send t
+ erc-save-buffer-on-part nil
+ erc-save-queries-on-quit nil)
+
;; erc-match
(csetq
erc-pal-highlight-type 'nick