diff options
author | Tom Willemsen | 2018-06-07 10:27:30 -0700 |
---|---|---|
committer | Tom Willemsen | 2018-06-07 10:27:30 -0700 |
commit | 106fe5ab4ca5f4ebb13caa905bce130639717f35 (patch) | |
tree | a89da7a2221dcd20a717dee49ec317343e111bb3 /emacs/.emacs.d/init.el | |
parent | 3ed11cacfefe5ee2050959d78783aadb3252f470 (diff) | |
download | new-dotfiles-106fe5ab4ca5f4ebb13caa905bce130639717f35.tar.gz new-dotfiles-106fe5ab4ca5f4ebb13caa905bce130639717f35.zip |
Move jabber config to separate file
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r-- | emacs/.emacs.d/init.el | 50 |
1 files changed, 1 insertions, 49 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 69f3773..1a89c6f 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -383,55 +383,7 @@ (with-eval-after-load 'lui (load "oni-lui-init")) -(eval-when-compile (require 'jabber)) - -(setq jabber-account-list - `((,(concat "ryuslash@dukgo.com/" (system-name)) - (:connection-type . starttls)))) - -(setq jabber-avatar-cache-directory (oni:data-location "jabber/avatars/") - jabber-history-dir (oni:data-location "jabber/hist/")) - -(setq jabber-chat-buffer-format "+%n" - jabber-chat-foreign-prompt-format "%t %n " - jabber-chat-local-prompt-format "%t %n " - jabber-chat-delayed-time-format "%H:%M" - jabber-groupchat-buffer-format "++%n" - jabber-groupchat-prompt-format "%t %n ") - -(setq jabber-chat-buffer-show-avatar nil - jabber-vcard-avatars-publish nil - jabber-vcard-avatars-retrieve nil) - -(setq jabber-chat-fill-long-lines nil) - -(add-hook 'jabber-chat-mode-hook 'visual-line-mode) - -(setq jabber-chatstates-confirm nil) - -(setq jabber-muc-colorize-local t - jabber-muc-colorize-foreign t) - -(setq jabber-history-enabled t - jabber-use-global-history nil) - -(setq jabber-roster-show-bindings nil - jabber-show-offline-contacts nil) - -(add-hook 'jabber-roster-mode-hook 'oni-jabber-set-roster-mode-line) - -(add-hook 'jabber-alert-message-hooks 'jabber-message-libnotify) -(add-hook 'jabber-alert-muc-hooks 'jabber-muc-libnotify) - -(with-eval-after-load 'jabber-alert - (remove-hook 'jabber-alert-presence-hooks 'jabber-presence-echo)) - -(add-hook 'jabber-alert-presence-hooks 'oni-jabber-show-status-in-buffer) - -(defun oni:set-default-directory () - (setq default-directory "~/")) - -(add-hook 'jabber-chat-mode-hook 'oni:set-default-directory) +(with-eval-after-load 'jabber (load "oni-jabber-init")) (with-eval-after-load 'gnus (load "oni-gnus-init")) |