-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gnus.el
More file actions
67 lines (60 loc) · 2.45 KB
/
Copy path.gnus.el
File metadata and controls
67 lines (60 loc) · 2.45 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
;;; gnus --- Summary
;;; Commentary:
;;; Code:
;; -*-no-byte-compile: t; -*-
;; Save email locally.
(require 'gnus)
(custom-set-variables
'(user-mail-address "huszaghmatt@gmail.com")
'(user-full-name "Matt Huszagh")
'(message-send-mail-function 'smtpmail-send-it)
'(smtpmail-smtp-server "smtp.gmail.com")
'(smtpmail-smtp-service 587)
;; '(gnus-select-method '(nnimap "inbox"
;; (nnimap-address "localhost")
;; (nnimap-stream network)
;; (nnimap-authenticator nil)
;; (nniri-search-engine imap)))
'(gnus-select-method
'(nnimap "gmail"
(nnimap-address "imap.gmail.com")
(nnimap-server-port 993)
(nnimap-stream ssl)
(nnir-search-engine imap)
;; @see
;; http://www.gnu.org/software/emacs/manual/html_node/gnus/Expiring-Mail.html
;; press 'E' to expire email
(nnmail-expiry-target "nnimap+gmail:[Gmail]/Trash")
(nnmail-expiry-wait 90)))
;; ;; '(nnmail-split-fancy
;; ;; '(| (any "linux-kernel@vger\\.kernel\\.org" "LKML")
;; ;; (any "emacs-devel@gnu\\.org" "emacs-devel")
;; ;; (any "kicad-developers@lists\\.launchpad\\.net" "kicad-developers")
;; ;; (any "emacs-orgmode@gnu\\.org" "emacs-orgmode")
;; ;; "mail.misc"))
;; ;; '(nnmail-split-methods 'nnmail-split-fancy)
'(gnus-secondary-select-methods nil)
;; '(gnus-secondary-select-methods
;; '((nnimap "gmail"
;; (nnimap-address "imap.gmail.com")
;; (nnimap-server-port 993)
;; (nnimap-stream ssl)
;; (nnir-search-engine imap)
;; ;; @see
;; ;; http://www.gnu.org/software/emacs/manual/html_node/gnus/Expiring-Mail.html
;; ;; press 'E' to expire email
;; (nnmail-expiry-target "nnimap+gmail:[Gmail]/Trash")
;; (nnmail-expiry-wait 90))))
;; ;; make Gnus NOT ignore [Gmail] mailboxes
'(gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]")
;; ;; replace [ and ] with _ in ADAPT file names
;; '(nnheader-file-name-translation-alist '((?[ . ?_) (?] . ?_)))
)
;; (setq gnus-select-method
;; '(nnimap "imap.gmail.com"
;; (nnimap-inbox "INBOX")
;; (nnimap-split-methods "default")
;; (nnimap-stream ssl)
;; (nnimap-server-port 993)))
(provide '.gnus)
;;; .gnus.el ends here