GNUS: change some settings

`.emacs.d/gnus.el'
        - Add NNTP news.gmane.org server

        - Add NNRSS server

        - Set `gnus-article-truncate-lines' to nil so that they\re
          continued on the next line. This setting overwrites the
          regular `truncate-lines' variable.

        - Permanently visible groups should be my inboxes, so `:INBOX'
          should be present in the name. I don't need newsgroups like
          gmane.org.archlinux and such to also be permanently visible.

        - Always enable topic-mode.
This commit is contained in:
Tom Willemsen 2011-08-26 12:26:09 +02:00
parent d659cf0787
commit a2b8064776

View file

@ -5,12 +5,15 @@
(nnmaildir "arch" (nnmaildir "arch"
(directory "~/documents/mail/arch/")) (directory "~/documents/mail/arch/"))
(nnmaildir "aethon" (nnmaildir "aethon"
(directory "~/documents/mail/aethon/")))) (directory "~/documents/mail/aethon/"))
(nntp "news.gmane.org")
(nnrss "")))
(setq gnus-auto-subscribed-groups nil) (setq gnus-auto-subscribed-groups nil)
(setq gnus-save-newsrc-file nil) (setq gnus-save-newsrc-file nil)
(setq gnus-read-newsrc-file nil) (setq gnus-read-newsrc-file nil)
(setq gnus-novice-user t) (setq gnus-novice-user t)
(setq gnus-article-truncate-lines nil)
(setq gnus-parameters (setq gnus-parameters
'(("gmail" '(("gmail"
@ -21,7 +24,7 @@
(display . all))))) (display . all)))))
(setq gnus-permanently-visible-groups (setq gnus-permanently-visible-groups
"gmail\\|aethon\\|arch") "\\(gmail\\|aethon\\|arch\\):INBOX")
(setq nntp-marks-is-evil t) (setq nntp-marks-is-evil t)
@ -29,8 +32,9 @@
(setq gnus-posting-styles (setq gnus-posting-styles
'((".*" (address "ryuslash@gmail.com")) '((".*" (address "ryuslash@gmail.com"))
("arch" (address "tom.willemsen@archlinux.us")) ("arch:" (address "tom.willemsen@archlinux.us"))
("aethon" (address "thomas@aethon.nl") ("aethon:"
(address "thomas@aethon.nl")
(signature-file "~/documents/work/aethon/signature.txt")))) (signature-file "~/documents/work/aethon/signature.txt"))))
(setq user-mail-address "ryuslash@gmail.com") (setq user-mail-address "ryuslash@gmail.com")
@ -47,3 +51,5 @@
smtpmail-smtp-service 587 smtpmail-smtp-service 587
smtpmail-debug-info t smtpmail-debug-info t
smtpmail-default-smtp-server "smtp.gmail.com") smtpmail-default-smtp-server "smtp.gmail.com")
(add-hook 'gnus-group-mode-hook 'gnus-topic-mode)