all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus: Error on setting up IMAP accounts
Date: Fri, 28 Oct 2011 22:49:40 +0200	[thread overview]
Message-ID: <87ipn8c04b.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: E16FCD6D-86FB-43AE-AA2A-EB386FB44278@math.ethz.ch

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




  reply	other threads:[~2011-10-28 20:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-28 19:07 Gnus: Error on setting up IMAP accounts Marius Hofert
2011-10-28 20:49 ` Tassilo Horn [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-10-29  7:58 Marius Hofert
2011-10-29  8:09 ` Tassilo Horn
2011-10-29  9:45   ` Marius Hofert
2011-10-29 18:33     ` Tassilo Horn
2011-10-29 23:01       ` Marius Hofert
2011-10-31 16:56       ` Marius Hofert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ipn8c04b.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.