summaryrefslogtreecommitdiffstats
path: root/.emacs.d/gnus.el
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-08-18 10:19:38 +0200
committerGravatar Tom Willemsen2011-08-18 10:19:38 +0200
commitf68cfe9bc75f76d955957a12934f490b72f9f631 (patch)
treecda596caf317a4cf511dee7e4414f6db02edabab /.emacs.d/gnus.el
parent997803343abcee4cb37a15e3ed8b462c85b64642 (diff)
downloaddotfiles-f68cfe9bc75f76d955957a12934f490b72f9f631.tar.gz
dotfiles-f68cfe9bc75f76d955957a12934f490b72f9f631.zip
EMACS: Added Gnus configuration
Diffstat (limited to '.emacs.d/gnus.el')
-rw-r--r--.emacs.d/gnus.el49
1 files changed, 49 insertions, 0 deletions
diff --git a/.emacs.d/gnus.el b/.emacs.d/gnus.el
new file mode 100644
index 0000000..2ec2d4c
--- /dev/null
+++ b/.emacs.d/gnus.el
@@ -0,0 +1,49 @@
+(setq gnus-select-method '(nntp "news.eternal-september.org"))
+(setq gnus-secondary-select-methods
+ '((nnmaildir "gmail"
+ (directory "~/documents/mail/gmail/"))
+ (nnmaildir "arch"
+ (directory "~/documents/mail/arch/"))
+ (nnmaildir "aethon"
+ (directory "~/documents/mail/aethon/"))))
+
+(setq gnus-auto-subscribed-groups nil)
+(setq gnus-save-newsrc-file nil)
+(setq gnus-read-newsrc-file nil)
+(setq gnus-novice-user t)
+
+(setq gnus-parameters
+ '(("gmail"
+ (display . all))
+ ("aethon"
+ (display . all)
+ ("arch"
+ (display . all)))))
+
+(setq gnus-permanently-visible-groups
+ "gmail\\|aethon\\|arch")
+
+(setq nntp-marks-is-evil t)
+
+(setq gnus-check-new-newsgroups nil)
+
+(setq gnus-posting-styles
+ '((".*" (address "ryuslash@gmail.com"))
+ ("arch" (address "tom.willemsen@archlinux.us"))
+ ("aethon" (address "thomas@aethon.nl")
+ (signature-file "~/documents/work/aethon/signature.txt"))))
+
+(setq user-mail-address "ryuslash@gmail.com")
+(setq user-full-name "Tom Willemsen")
+
+(load "tls")
+
+(setq send-mail-function 'smtpmail-send-it
+ message-send-mail-function 'message-smtpmail-send-it
+ starttls-use-gnutls t
+ smtpmail-gnutls-credentials '(("smtp.gmail.com" 587 "ryuslash@gmail.com" nil))
+ smtpmail-starttls-credentials '(("smtp.gmail.com" 587 "ryuslash@gmail.com" nil))
+ smtpmail-smtp-server "smtp.gmail.com"
+ smtpmail-smtp-service 587
+ smtpmail-debug-info t
+ smtpmail-default-smtp-server "smtp.gmail.com")