Gnus development mailing list
 help / color / mirror / Atom feed
* Re: keystroke to score all messages in all groups?
       [not found] <wvv7m8mz4qq.fsf@nda.com.>
@ 1998-01-04  9:51 ` Lars Magne Ingebrigtsen
  1998-01-04 21:57   ` Matt Pharr
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-01-04  9:51 UTC (permalink / raw)


John Twilley <wzg@aqn.pbz> writes:

> I'm wondering if there's a way to traverse all visible groups and
> apply the current score files.  There's a lot of spam, and this would
> help me greatly.  What I currently do now is = and q for each group.
> That's ugly. :-)

`gnus-batch-score' should do the trick.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

* Re: keystroke to score all messages in all groups?
  1998-01-04  9:51 ` keystroke to score all messages in all groups? Lars Magne Ingebrigtsen
@ 1998-01-04 21:57   ` Matt Pharr
  1998-01-05  4:23     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Pharr @ 1998-01-04 21:57 UTC (permalink / raw)



Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> John Twilley <wzg@aqn.pbz> writes:
> 
> > I'm wondering if there's a way to traverse all visible groups and
> > apply the current score files.  There's a lot of spam, and this would
> > help me greatly.  What I currently do now is = and q for each group.
> > That's ugly. :-)
> 
> `gnus-batch-score' should do the trick.

I'm assuming that this is kosher to run from a demon while gnus is running
as well?  Since gnus-batch-score does (gnus-slave), do I need to do
something like 

  (gnus-master-read-slave-newsrc)
  (gnus-group-get-new-news)
  (gnus-group-save-newsrc)

After running it from the demon?  I've currently got a demon that runs just
gnus-batch-score now and then and all seems ok so far...

-matt
-- 
Matt Pharr                                   mmp@graphics.stanford.edu
<URL:http://www-graphics.stanford.edu/~mmp>


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

* Re: keystroke to score all messages in all groups?
  1998-01-04 21:57   ` Matt Pharr
@ 1998-01-05  4:23     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-01-05  4:23 UTC (permalink / raw)


Matt Pharr <mmp@graphics.stanford.edu> writes:

> > `gnus-batch-score' should do the trick.
> 
> I'm assuming that this is kosher to run from a demon while gnus is running
> as well?

It should be, but I've never tested it.  So I'd recommend saving your
.newsrc.eld in a safe place before attempting it.

> Since gnus-batch-score does (gnus-slave), do I need to do
> something like 
> 
>   (gnus-master-read-slave-newsrc)
>   (gnus-group-get-new-news)
>   (gnus-group-save-newsrc)
> 
> After running it from the demon?

That shouldn't be necessary.

> I've currently got a demon that runs just gnus-batch-score now and
> then and all seems ok so far...

Well, if it works, then it works.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

end of thread, other threads:[~1998-01-05  4:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <wvv7m8mz4qq.fsf@nda.com.>
1998-01-04  9:51 ` keystroke to score all messages in all groups? Lars Magne Ingebrigtsen
1998-01-04 21:57   ` Matt Pharr
1998-01-05  4:23     ` 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).