Last active
January 26, 2020 03:29
-
-
Save avli/98359e851bb0f0e43bfa to your computer and use it in GitHub Desktop.
Simple Gnus configuration for reading Gmane
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq gnus-select-method '(nntp "news.gmane.org")) | |
(setq gnus-thread-sort-functions | |
'(gnus-thread-sort-by-most-recent-number | |
gnus-thread-sort-by-subject | |
(not gnus-thread-sort-by-total-score) | |
gnus-thread-sort-by-most-recent-date)) | |
(setq-default | |
gnus-summary-line-format "%U%R%d %-5,5L %-20,20n %B%-80,80S\n" | |
gnus-user-date-format-alist '((t . "%Y-%m-%d %H:%M")) | |
gnus-summary-thread-gathering-function 'gnus-gather-threads-by-references | |
gnus-sum-thread-tree-false-root "" | |
gnus-sum-thread-tree-indent " " | |
gnus-sum-thread-tree-leaf-with-other "├► " | |
gnus-sum-thread-tree-root "" | |
gnus-sum-thread-tree-single-leaf "╰► " | |
gnus-sum-thread-tree-vertical "│") | |
(setq smtpmail-smtp-server "smtp.gmail.com") | |
(setq user-mail-address "[email protected]") | |
(setq message-send-mail-real-function 'smtpmail-send-it) | |
(setq send-mail-function 'smtpmail-send-it) | |
(setq message-send-mail-function 'smtpmail-send-it | |
smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil)) | |
smtpmail-auth-credentials '(("smtp.gmail.com" 587 | |
"[email protected]" nil)) | |
smtpmail-default-smtp-server "smtp.gmail.com" | |
smtpmail-smtp-server "smtp.gmail.com" | |
smtpmail-smtp-service 587) | |
;; put this into ~/.gnus.el and create ~/.authinfo file with the | |
;; follwing information | |
;; machine smtp.gmail.com login [email protected] password secret port 587 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment