Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
Subject: Re: [??] gnus-demon-scan-mail
Date: 06 Nov 1996 23:04:16 +0100	[thread overview]
Message-ID: <m24tj2c23j.fsf@proletcult.ifi.uio.no> (raw)
In-Reply-To: dsg@linus.mitre.org's message of 06 Nov 1996 15:08:56 -0500

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


      reply	other threads:[~1996-11-06 22:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-28 14:51 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m24tj2c23j.fsf@proletcult.ifi.uio.no \
    --to=larsi@ifi.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).