From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Gmail with emacs
Date: Thu, 22 Dec 2011 11:06:55 -0700 [thread overview]
Message-ID: <jcvril$b9a$1@dough.gmane.org> (raw)
In-Reply-To: <CAN6y2uiivBAkx-w+3rMYG+qFo=r=aodF4ZUhwU9TKyg0i9JLwA@mail.gmail.com>
On 12/21/11 10:21 AM, Steve Prud'Homme wrote:
> 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 :
>
> (add-to-list 'gnus-secondary-select-methods '(nnimap "gmail"
> (nnimap-address "imap.gmail.com")
> (nnimap-server-port 993)
> (nnimap-stream ssl))
>
>
> 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
>
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file. Start Emacs with
> the `--debug-init' option to view a complete error backtrace.
>
> I'm a beginner in emacs mail... can anybody help me with a low level
> (rookie) langage.
gnus-secondary-select-methods is not yet defined, when you are trying to add
the nnimap entry to its default value.
So put (require 'gnus) before the (add-to-list 'gnus-secondary-select-methods
...) form, or wrap the add-to-list form in (eval-after-load "gnus" (quote ...))
--
Kevin Rodgers
Denver, Colorado, USA
prev parent reply other threads:[~2011-12-22 18:06 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
2011-12-22 18:06 ` Kevin Rodgers [this message]
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='jcvril$b9a$1@dough.gmane.org' \
--to=kevin.d.rodgers@gmail.com \
--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.