[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gmail with emacs
From: |
Kevin Rodgers |
Subject: |
Re: Gmail with emacs |
Date: |
Thu, 22 Dec 2011 11:06:55 -0700 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.24) Gecko/20111103 Thunderbird/3.1.16 |
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