So far I've been able to do these:
- IRC with ERC
- Twitter with twit.el
- Email with Gnus
Gnus is great because it comes with emacs. No extra installing needed.
I use a Gmail account for almost everything I do, so it's only logical I'd use that one in Gnus. There are lots of nice tutorials online on how to configure Gnus with Gmail or with IMAP. I had to read a couple and get the best parts from each to get my own config.
I made a little file that loads only when it exists. This is handy for sharing my config over multiple computers.
(if (file-exists-p "~/.emacs.d/local.el")
(load "~/.emacs.d/local.el"))
This file contains the Gnus config:
;; LOCAL FILE FOR LOADING LOCAL STUFF!
;; got this line from one of the tutorials. Seemed interesting enough
(setq gnus-invalid-group-regexp "[:`'\"]\\|^$")
;; standard way of getting imap going
(setq gnus-select-method
'(nnimap "gmail"
(nnimap-address "imap.gmail.com")
(nnimap-server-port 993)
(nnimap-stream ssl)))
;; set up smtp so we can send from gmail too:
(setq message-send-mail-function 'smtpmail-send-it
smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
smtpmail-auth-credentials '(("smtp.gmail.com" 587 "myemailaddy@gmail.com" nil))
smtpmail-default-smtp-server "smtp.gmail.com"
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587)
;;http://www.emacswiki.org/cgi-bin/wiki/GnusGmail
;;http://linil.wordpress.com/2008/01/18/gnus-gmail/
(add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
;; Threads are nice!
(setq gnus-summary-thread-gathering-function
'gnus-gather-threads-by-subject)
(setq gnus-posting-styles
'((".*"
(name "Gert M")
("X-URL" "http://gertm.blogspot.com/"))))
(setq user-full-name "Gert")
(setq user-mail-address "myemailaddy@gmail.com")
(setq send-mail-function 'smtpmail-send-it)
When loading Gnus the first time, in the folder window press 'S s' and type in the names of the folders you want to see.
That's all there is to it.
Now I just need to learn how to configure this more to my liking.
Hope this helps someone.
Update:
In the folder view, checking for new mail on a group is done with M-g
If you set the level of the groups you want to check regularly, you can check them together:
In the group view, put the cursor on a group and do:
S l 1
to put it to level 1. After you've done this for a couple of groups do this:
1 g
This will check for new message on all groups with level 1.
I'll update here some more after I find new interesting stuff!
1 comments:
Awesome, thank you for this! I was using wanderlust, but I'd rather use Gnus. This was just what I needed to get started.
Post a Comment