info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: check mail config in init.el


From: attila
Subject: Re: check mail config in init.el
Date: Wed, 12 Jan 2005 21:05:33 GMT
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux)

drkm <usenet@fgeorges.org> writes:

> attila <startnow@libero.it> writes:
>
>> symbol or not, does not work.
>
>   What doesn't work?  Are you saying that "it work" if you have this
> in you .gnus:
>
>     (defun gnus-demon-scan-mail-or-news-and-update ()
>       "Scan for new mail/news and update de *Group* buffer"
>       (when (gnus-alive-p)  
>         (save-window-excursion
>           (save-excursion
>      (set-buffer gnus-group-buffer)
>      (gnus-group-get-new-news)))))
>
>     (defun gnus-demon-scan-and-update ()
>       (gnus-demon-scan-mail-or-news-and-update))
>
>     (require 'gnus-demon)
>     (gnus-demon-add-handler 'gnus-demon-scan-and-update 1 nil)
>     (gnus-demon-add-handler 'gnus-group-save-newsrc 5 1)
>
> and "it doesn't work" if you have this in your .emacs:
>
>     (defun gnus-demon-scan-mail-or-news-and-update () ...
>     (defun gnus-demon-scan-and-update () ...
>
>     (eval-after-load 'gnus
>       '(progn
>          (require 'gnus-demon)
>          (gnus-demon-add-handler 'gnus-demon-scan-and-update 1 nil)
>          (gnus-demon-add-handler 'gnus-group-save-newsrc 5 1)
>          ))
>
> ?

yes

bye

reply via email to

[Prev in Thread] Current Thread [Next in Thread]