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: drkm
Subject: Re: check mail config in init.el
Date: Wed, 12 Jan 2005 18:29:49 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt)

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)
         ))

?

--drkm

reply via email to

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