summaryrefslogtreecommitdiffstats
path: root/.emacs.d
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-08-26 12:26:09 +0200
committerGravatar Tom Willemsen2011-08-26 12:26:09 +0200
commita2b8064776a2678abd856d2bad5c11a8afecd25b (patch)
treeb84ad785a60380ff3f78a40a7cd0a783116fe0c2 /.emacs.d
parentd659cf0787f3beb721c2c368ffb491dc3f318539 (diff)
downloaddotfiles-a2b8064776a2678abd856d2bad5c11a8afecd25b.tar.gz
dotfiles-a2b8064776a2678abd856d2bad5c11a8afecd25b.zip
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.
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/gnus.el16
1 files 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)