[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Retrieving periodically news and mail
From: |
Peter Gjefle |
Subject: |
Re: Retrieving periodically news and mail |
Date: |
20 May 2004 08:24:32 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
* Eric Jacoboni (2004 May 20, 15:45)
> i wonder if it would be possible to tell Gnus to automatically chack
> for new mail messages and/or new news articles...
thanks to stegemann, i use the following:
;; (2001) Ulf Stegemann <ulf*zeitform.de>
(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 2 0)))
note that the above code will only check mail on groups with level 2 or
higher. default is 3. i keep my email on 1 and 2 and spam and news on 3
and below. hitting 'g' will check everything like you're used to.
--
__o (+47) 8124 0000
_`\<,_ peter gjefle com
... peter gjefle - norway .............. (_)/'(_) ...................
.. removing "04." from my reply address increases priority to normal ..