From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Gmail with emacs
Date: Wed, 21 Dec 2011 19:35:02 +0100 [thread overview]
Message-ID: <87pqfh22p5.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: CAN6y2uiivBAkx-w+3rMYG+qFo=r=aodF4ZUhwU9TKyg0i9JLwA@mail.gmail.com
"Steve Prud'Homme" <sprudhom@gmail.com> writes:
> Ok i try to configure my GNU Emacs to read gmail email.
> I saw on a web site that i have to put these line :
Better refer to the official docs than to some probably outdated
website.
> (add-to-list 'gnus-secondary-select-methods '(nnimap "gmail"
> (nnimap-address "imap.gmail.com")
> (nnimap-server-port 993)
> (nnimap-stream ssl))
You don't need to specify port and stream. Gnus figures out the most
secure method automatically.
(add-to-list 'gnus-secondary-select-methods
'(nnimap "Gmail"
(nnimap-address "imap.gmail.com")))
> So I've put it in .emacs
> Now I have this error
>
> Warning (initialization): An error occurred while loading
> `/home/sprudhom/.emacs':
>
> Symbol's value as variable is void: gnus-secondary-select-methods
That means, that Gnus is not loaded at the time when that code got
executed, which is emacs startup time. So put it into ~/.gnus.el
instead of ~/.emacs.
Bye,
Tassilo
next prev parent reply other threads:[~2011-12-21 18:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-14 5:20 Gmail with emacs Steve Prud'Homme
2011-05-14 19:57 ` Peter Dyballa
2011-12-21 17:21 ` Steve Prud'Homme
2011-12-21 18:35 ` Tassilo Horn [this message]
2011-12-22 18:06 ` Kevin Rodgers
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=87pqfh22p5.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.