Gnus development mailing list
 help / color / mirror / Atom feed
* [??] gnus-demon-scan-mail
@ 1996-10-28 14:51 Colin Rafferty
  1996-11-05 21:13 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Colin Rafferty @ 1996-10-28 14:51 UTC (permalink / raw)


The function `gnus-demon-scan-mail' does good stuff.  However, it does
not update the article counts in my *Group* buffer.  Short of doing a
funky defadvice around the function, is there anything I can do to get
it to update *Group*?

-- 
This posting adheres to the SELF-DISCIPLINE guidelines for better
USENET discussions. See http://www.eiffel.com/discipline.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [??] gnus-demon-scan-mail
  1996-10-28 14:51 [??] gnus-demon-scan-mail Colin Rafferty
@ 1996-11-05 21:13 ` Lars Magne Ingebrigtsen
  1996-11-06 20:08   ` David S. Goldberg
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-11-05 21:13 UTC (permalink / raw)


Colin Rafferty <craffert@spspme.ml.com> writes:

> The function `gnus-demon-scan-mail' does good stuff.  However, it does
> not update the article counts in my *Group* buffer.  Short of doing a
> funky defadvice around the function, is there anything I can do to get
> it to update *Group*?

The new function `gnus-demon-scan-news' will do a more complete
rescan. 

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@ifi.uio.no * Lars Ingebrigtsen


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [??] gnus-demon-scan-mail
  1996-11-05 21:13 ` Lars Magne Ingebrigtsen
@ 1996-11-06 20:08   ` David S. Goldberg
  1996-11-06 22:04     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: David S. Goldberg @ 1996-11-06 20:08 UTC (permalink / raw)



>>>>> Lars Magne Ingebrigtsen writes:
>> The function `gnus-demon-scan-mail' does good stuff.  However, it
>> does not update the article counts in my *Group* buffer.

> The new function `gnus-demon-scan-news' will do a more complete
> rescan.

Way cool!  But it would be nice if there were a way to specify a group
level for it.  That way I could get the best of both worlds - a demon
that only scans mail groups *and* (gotta check out this
gnus-article-emphasize thingie :-) updates the *Group* buffer.

--
Dave Goldberg
Post: The Mitre Corporation\MS B305\202 Burlington Rd.\Bedford, MA 01730
Phone: 617-271-3887
Email: dsg@mitre.org


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [??] gnus-demon-scan-mail
  1996-11-06 20:08   ` David S. Goldberg
@ 1996-11-06 22:04     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-11-06 22:04 UTC (permalink / raw)


dsg@linus.mitre.org (David S. Goldberg) writes:

> Way cool!  But it would be nice if there were a way to specify a group
> level for it.  

That's no problem -- just use the function in gnus-demon.el as a
template and write your own.   Uhm -- here it is:

(defun gnus-demon-scan-news ()
  (save-window-excursion
    (when (gnus-alive-p)
      (save-excursion
	(set-buffer gnus-group-buffer)
	(gnus-group-get-new-news 4)))))
                     
                                 ^ level

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@ifi.uio.no * Lars Ingebrigtsen


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-11-06 22:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-28 14:51 [??] gnus-demon-scan-mail Colin Rafferty
1996-11-05 21:13 ` Lars Magne Ingebrigtsen
1996-11-06 20:08   ` David S. Goldberg
1996-11-06 22:04     ` Lars Magne Ingebrigtsen

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