[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Autofetch mail
From: |
mihkel |
Subject: |
Re: Autofetch mail |
Date: |
Sat, 22 Oct 2011 11:11:31 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
XeCycle <xecycle@gmail.com> writes:
> mihkel <turakas@gmail.com> writes:
>
>> Hi,
>>
>> I have this in my gnus init file:
>>
>> (require 'gnus-demon)
>> (gnus-demon-add-handler 'gnus-demon-scan-news 10 t)
>> (gnus-demon-init)
>>
>>
>> So it should check for new mail every 10 minutes or so, but it does
>> not. I have to manually do M-x gnus-demon-init and then it checks for
>> new mail. Why is it so? I have (gnus-demon-init) in my init file
>> already.
>
> The Gnus init file is read and executed when Gnus is started. You may
> want to add it into ~/.emacs.
OK. I added (gnus-demon-init) to my emacs init file (.emacs.d/init.el),
but that did not make any difference. I fire up gnus with M-x gnus, wait
10-15 minutes after fetching my mails at startup, but nothing. I still
have to do M-x gnus-demon-init mannually in order to make autofetching
work.