diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-03-23 00:48:30 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-03-23 00:48:30 -0400 |
commit | 8eebc46e129d2f32597d9e58772af2aac4a86d26 (patch) | |
tree | db6873dd285a518541604fe9ad9dc5719bc046f1 | |
parent | 8894f0436e42ddb132f316e3f6f1f9939cd6fa0d (diff) | |
download | emacs.d-8eebc46e129d2f32597d9e58772af2aac4a86d26.tar.gz |
Use a second daemon for Gnus
Follow setup described in
http://tychoish.com/posts/running-multiple-emacs-daemons-on-a-single-system/
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | init.el | 6 | ||||
-rw-r--r-- | lisp/init-mail.el | 10 |
3 files changed, 15 insertions, 2 deletions
@@ -14,3 +14,4 @@ bookmarks /ac-comphist.dat /.cask /.custom.el +/server @@ -50,11 +50,13 @@ (require 'init-yas) -(require 'init-gnus) - (when (file-exists-p (expand-file-name "init-untracked.el" km/init-lisp-dir)) (require 'init-untracked)) +(setq server-use-tcp t) (require 'server) (unless (server-running-p) (server-start)) + +(require 'init-mail) + diff --git a/lisp/init-mail.el b/lisp/init-mail.el new file mode 100644 index 0000000..0163420 --- /dev/null +++ b/lisp/init-mail.el @@ -0,0 +1,10 @@ + +(require 'init-gnus) + +(if (equal (daemonp) "mail") + (progn + (setq mode-line-misc-info (cons " [Mail] " mode-line-misc-info)) + (key-chord-define-global "jg" 'km/mail-map)) + (global-set-key (kbd "C-x m") nil)) + +(provide 'init-mail) |