* Re: Enabling auto mail checking
[not found] ` <847k7uweza.fsf@lucy.is.informatik.uni-duisburg.de>
@ 2003-06-10 10:36 ` Subhankar Chatterjee
[not found] ` <m2vfveduuo.fsf@maui.hanak.hu>
0 siblings, 1 reply; 3+ messages in thread
From: Subhankar Chatterjee @ 2003-06-10 10:36 UTC (permalink / raw)
Hello,
kai.grossjohann@gmx.net (Kai Großjohann) writes:
> Subhankar Chatterjee <subhankar@dzineassociates.com> writes:
>
> > How do I enable auto mail checking in Gnus v5.9.
>
> The key word to search for in the documentation is "demon" or
> "daemon" (try both).
Brain-damage on my part I suppose. But I am not getting the clear picture. I
have put the following lines in my ~/.gnus :
(setq gnus-use-demon t)
(gnus-demon-init)
(gnus-demon-add-handler 'gnus-demon-add-nntp-close-connection 10 nil)
(gnus-demon-add-handler 'gnus-demon-add-scanmail 15 nil)
I want to close the connections to the nntp news server after 10 minutes and
get new mail at every 15 minute interval. Am I going right or just banging my
head?
And how does Gnus actually inform me about new mail? On the mode-line?
Regards
-Subhankar
--
blue pill or red pill
--
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <m3llw8n0em.fsf@localhost.localdomain>]
* Re: [SOLVED]Enabling auto mail checking
[not found] ` <m3llw8n0em.fsf@localhost.localdomain>
@ 2003-06-22 19:23 ` calmar
0 siblings, 0 replies; 3+ messages in thread
From: calmar @ 2003-06-22 19:23 UTC (permalink / raw)
Subhankar Chatterjee <subhankar@dzineassociates.com> writes:
>
> ;; majorly borrowed from Karl Kleinpaste
> (defun my-gnus-get-new-mail ()
> "Fetch new mails at level 1 only."
> (when (gnus-alive-p)
> (let ((gnus-verbose-backends 1)
> (gnus-verbose 1)
> (win (current-window-configuration)))
> (unwind-protect
> (save-window-excursion
> (save-excursion
> (set-buffer gnus-group-buffer)
> (gnus-group-get-new-news 1)))
> (set-window-configuration win)))))
> (gnus-demon-add-handler 'my-gnus-get-new-mail 15 nil)
>
Hi,
Thanks a lot for the Summary ..
yet how does Gnus notify you after `he' fetched some new mails?
Maybe this (gnus-group-get-new-news) has a return value (what is
likely) which can be used for further processing --> play a sound
or a little script which shows a little pop-up windows or similar
I don't know much about lisp, but I freely guess:
(and (gnus-group-get-new-news 1) (execute 'externel
script/program which pop-ups a message)
Any Idea how this can be done in reality?
Greetings
--
calmar (o_
//\ <--- GNU/Linux is GREAT
V_/_ www.calmar.ws
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-06-22 19:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <m3u1aynzic.fsf@localhost.localdomain>
[not found] ` <847k7uweza.fsf@lucy.is.informatik.uni-duisburg.de>
2003-06-10 10:36 ` Enabling auto mail checking Subhankar Chatterjee
[not found] ` <m2vfveduuo.fsf@maui.hanak.hu>
[not found] ` <m37k7ugin6.fsf@localhost.localdomain>
[not found] ` <wc31xy20xzt.fsf@gamma.cis.ohio-state.edu>
[not found] ` <m33cihg1xo.fsf@localhost.localdomain>
2003-06-10 21:40 ` Benjamin Rutt
[not found] ` <m3llw8n0em.fsf@localhost.localdomain>
2003-06-22 19:23 ` [SOLVED]Enabling " calmar
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).