[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnus: Error on setting up IMAP accounts
From: |
Tassilo Horn |
Subject: |
Re: Gnus: Error on setting up IMAP accounts |
Date: |
Fri, 28 Oct 2011 22:49:40 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) |
Marius Hofert <marius.hofert@math.ethz.ch> writes:
Hi Marius,
> I have trouble setting up Gnus (mail- + newsreader) on GNU Emacs 23.3
> (on Mac OS X 10.7.2) correctly. Here is what I did so far:
>
> 1) installed Gnus 5.10.10 (in ~/email)
The gnus version included in emacs 23.3 is probably newer than that
version.
> 2) ~/.emacs:
>
> (setq load-path (cons (expand-file-name "~/email/lisp") load-path))
> (require 'gnus-load)
>
> (require 'info)
> (if (featurep 'xemacs)
> (add-to-list 'Info-directory-list "~/email/texi/")
> (add-to-list 'Info-default-directory-list "~/email/texi/"))
That's not needed if you simply use the bundled version.
> 3) ~/.gnus.el:
>
> (setq gnus-select-method '(nntp "news.gmane.org")); Question 1: what
> ;;can I put here if I don't want *any* news?
(setq gnus-select-method '(nnnil))
> (setq user-mail-address "my.name@dep.uni.edu")
> (setq user-full-name "My Name")
>
> ;; setup IMAP accounts
> (setq 'gnus-secondary-select-methods
^
That quote is wrong.
> '((nnimap "my.name@dep.uni.edu"; primary email account
> (nnimap-address "mail.uni.edu"); mail server address
> (nnimap-server-port 993); port
> (nnimap-authenticator login); authentication method
> (nnir-search-engine imap); enable searching mails
> (nnimap-stream ssl); use ssl
> (nnimap-logout-timeout 1.0); if a connection to an IMAP server
> can't be closed, force close after 1s
Why do you configure that much? Is that really required? I guess, no.
Recent Gnus use SSL or TLS automatically if possible, the nnir search
engine is set to IMAP automatically, too, and why specifying a logout
timeout?
> When starting Gnus via M-x gnus, I obtain:
> "byte-code: Error in ~/.gnus: symbolp"
> => Question: What is wrong?
See above.
> PS: As references, I used:
> http://www.emacswiki.org/emacs/GnusTutorial#toc1
> http://www.emacswiki.org/emacs/GnusGmail
These wiki sites can't keep up with the enormous development speed Gnus
has had lately. Better use the info docs, because that refer to the
actual gnus version you are using (also bundled with emacs, C-h i m gnus
RET).
Bye,
Tassilo
--
(What the world needs (I think) is not
(a Lisp (with fewer parentheses))
but (an English (with more.)))
Brian Hayes, http://tinyurl.com/3y9l2kf