From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/8615 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: [??] gnus-demon-scan-mail Date: 06 Nov 1996 23:04:16 +0100 Sender: larsi@proletcult.ifi.uio.no Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035148756 13255 80.91.224.250 (20 Oct 2002 21:19:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:19:16 +0000 (UTC) Return-Path: Original-Received: (qmail 15714 invoked from smtpd); 6 Nov 1996 21:23:32 -0000 Original-Received: from ifi.uio.no (0@129.240.64.2) by deanna.miranova.com with SMTP; 6 Nov 1996 21:23:32 -0000 Original-Received: from proletcult.ifi.uio.no (larsi@ppp18.larris.ifi.uio.no [129.240.68.118]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 6 Nov 1996 22:02:25 +0100 Original-Received: (from larsi@localhost) by proletcult.ifi.uio.no (8.8.2/8.8.2) id XAA01015; Wed, 6 Nov 1996 23:04:27 +0100 Original-To: ding@ifi.uio.no In-Reply-To: dsg@linus.mitre.org's message of 06 Nov 1996 15:08:56 -0500 Original-Lines: 20 X-Mailer: Red Gnus v0.55/Emacs 19.34 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ 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