* GNUS demon/periodic scan for new mails
@ 2005-03-22 13:27 Dhruva Krishnamurthy
2005-03-22 13:59 ` Stephen Patterson
0 siblings, 1 reply; 2+ messages in thread
From: Dhruva Krishnamurthy @ 2005-03-22 13:27 UTC (permalink / raw)
Hello,
I would like to periodically check for my IMAP mails. I am using this in my
.emacs (instead of .gnus, as I do not want to keep another file).
;; refresh mails at defined intervals
(setq gnus-use-demon t)
(gnus-demon-add-handler 'gnus-demon-scan-mail 2 nil)
I am not getting the expected behaviour. Am I missing something. I am using
GNUS 5.11 from CVS Emacs.
with best regards,
dhruva
--
Name : Dhruva Krishnamurthy (dk)
Phone: +91-(0)80-22999190
Proud FSF member: #1935
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GNUS demon/periodic scan for new mails
2005-03-22 13:27 GNUS demon/periodic scan for new mails Dhruva Krishnamurthy
@ 2005-03-22 13:59 ` Stephen Patterson
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Patterson @ 2005-03-22 13:59 UTC (permalink / raw)
Dhruva Krishnamurthy <Dhruva.Krishnamurthy@in.bosch.com> writes:
> Hello,
> I would like to periodically check for my IMAP mails. I am using this in my
> .emacs (instead of .gnus, as I do not want to keep another file).
I'm finding this bit of elisp works - checks for new mail at levels 2 &
above every 5 minutes.
(defun my-check-mail ()
"Fetch new mails only."
(gnus-group-get-new-news 2))
(add-hook 'gnus-startup-hook
'(lambda ()
(gnus-demon-add-handler 'my-check-mail 5 0)))
--
Stephen Patterson http://patter.mine.nu/
steveSPAM@.patter.mine.nu remove SPAM to reply
Linux Counter No: 142831 GPG Public key: 252B8B37
Caution: breathing may be hazardous to your health.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-22 13:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-22 13:27 GNUS demon/periodic scan for new mails Dhruva Krishnamurthy
2005-03-22 13:59 ` Stephen Patterson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).