From a2b8064776a2678abd856d2bad5c11a8afecd25b Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 26 Aug 2011 12:26:09 +0200 Subject: 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. --- .emacs.d/gnus.el | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.emacs.d/gnus.el b/.emacs.d/gnus.el index 2ec2d4c..fa85bdc 100644 --- a/.emacs.d/gnus.el +++ b/.emacs.d/gnus.el @@ -5,12 +5,15 @@ (nnmaildir "arch" (directory "~/documents/mail/arch/")) (nnmaildir "aethon" - (directory "~/documents/mail/aethon/")))) + (directory "~/documents/mail/aethon/")) + (nntp "news.gmane.org") + (nnrss ""))) (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-article-truncate-lines nil) (setq gnus-parameters '(("gmail" @@ -21,7 +24,7 @@ (display . all))))) (setq gnus-permanently-visible-groups - "gmail\\|aethon\\|arch") + "\\(gmail\\|aethon\\|arch\\):INBOX") (setq nntp-marks-is-evil t) @@ -29,9 +32,10 @@ (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")))) + ("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") @@ -47,3 +51,5 @@ smtpmail-smtp-service 587 smtpmail-debug-info t smtpmail-default-smtp-server "smtp.gmail.com") + +(add-hook 'gnus-group-mode-hook 'gnus-topic-mode) -- cgit v1.2.3-54-g00ecf