EMACS: Added Gnus configuration
This commit is contained in:
parent
997803343a
commit
f68cfe9bc7
2 changed files with 52 additions and 0 deletions
49
.emacs.d/gnus.el
Normal file
49
.emacs.d/gnus.el
Normal file
|
@ -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")
|
|
@ -139,6 +139,9 @@
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(turn-on-auto-fill)
|
(turn-on-auto-fill)
|
||||||
(turn-on-flyspell)))
|
(turn-on-flyspell)))
|
||||||
|
|
||||||
|
;;; Gnus
|
||||||
|
(setq gnus-init-file "~/.emacs.d/gnus")
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; AUTOLOADS ;;
|
;; AUTOLOADS ;;
|
||||||
|
|
Loading…
Reference in a new issue