-
Notifications
You must be signed in to change notification settings - Fork 0
/
gnus
32 lines (24 loc) · 1.16 KB
/
gnus
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
;; -*- Mode: Emacs-Lisp -*-
;; Don't ignore my GMail-boxes
(setq gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]")
(setq gnus-summary-line-format "%U[ %(%&user-date;%) ]%R%I%*\"%S\"\n")
(setq gnus-user-date-format-alist '((t . "%Y-%m-%d %H:%M")))
(setq gnus-select-method '(nntp "news.gmane.org"))
;; Mail and Name
(setq user-mail-address "andres.marschke@gmail.com")
(setq user-full-name "Andreas Marschke")
(setq gnus-nntp-server nil)
;; Methods of retrieving mail
(add-to-list 'gnus-secondary-select-methods '(nntp "reader.eternal-september.org"))
(add-to-list 'gnus-secondary-select-methods '(nntp "news.gmane.org"))
(add-to-list 'gnus-secondary-select-methods '(nntp "news.gnus.org"))
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-default-smtp-server "smtp.googlemail.com")
(setq smtpmail-starttls-credentials '(("smtp.googlemail.com"
"465"
"andreas.marschke"
nil)))
;;; Fix pattern so gnus works with GMail
(setq gnus-ignored-newsgroups "^^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\”]\”[#’()]")
(setq gnus-group-line-format "%M%S%p%P%5y:%B%(%G%)\n")