2009-07-28 Emacs Life

My old laptop runs Mac OS 10.3 – it’s old. I run Firefox 2.0.0.20 – it’s slow. Gmail is slow. So I’m trying to move it all to Emacs using w3m and emacs-w3m, Gnus using GnusGmail.

Gmail

w3m

emacs-w3m

Gnus

Some notes to myself:

1. As indicated on the Emacs Wiki page, use `S s` and subscribe to `nnimap+gmail:[Gmail]/Spam`, `nnimap+gmail:[Gmail]/Trash`, and `nnimap+gmail:[Gmail]/Sent Mail`. You usually don’t need these three folders to be visible with the Gmail web interface, but using IMAP, I need them. I use `B m` to move mails into the Spam folder, for example. And there’s no quick access to a search.

2. Use `^` to go to the Server Buffer, then hit `RET` on the `{nnimap:gmail}` server, then use `u` to subscribe to the various folders including the folders representing your labels.

I’m using the following:

;;; Gnus
(setq gnus-select-method '(nntp "news.hispeed.ch")
      gnus-secondary-select-methods
      '((nnimap "gmail"
	       (nnimap-address "imap.gmail.com")
	       (nnimap-authinfo-file "~/.netrc")
	       (nnimap-server-port 993)
	       (nnimap-stream ssl)
	       (nnmail-expiry-target "nnimap+gmail:[Gmail]/Trash")
	       (nnmail-expiry-wait immediate))))

;;; SMTP
(setq send-mail-function 'smtpmail-send-it
      smtpmail-smtp-server "smtp.gmail.com"
      smtpmail-smtp-service 587
      smtpmail-starttls-credentials
      `((,smtpmail-smtp-server
	 , smtpmail-smtp-service
	   nil nil))
      smtpmail-auth-credentials "~/.netrc")

​#Emacs

Comments

(Please contact me if you want to remove your comment.)

I would also suggest trying out Mew for email within Emacs. I prefer it to Gnus. You can find it at www.mew.org.

– Brian Zwahr 2009-07-28 14:47 UTC

Brian Zwahr

---

Do you have any particular reasons? I’ve been using Gnus on and off for as long as I’ve been using Emacs (since 19.34), so I feel somewhat familiar with it. 😄

– Alex Schroeder 2009-07-28 16:06 UTC

Alex Schroeder

---

Also, the first big email I write after putting the laptop to sleep and waking it up again... Write... C-c C-c to send it and it says IMAP process not running or something. I try try again. Same error. I fetch new email for my INBOX and indeed Emacs reconnects. Then I return to my message and send it again.

Then I discover that I’ve sent the email three times. Apparently sending worked, but something else regarding sent mails and IMAP did not. That was embarassing. 🙁

– Alex Schroeder 2009-07-28 22:38 UTC

Alex Schroeder