Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Balker Rasmussen <lbr@mjolner.dk>
Subject: Re: Zapping crossposts..
Date: 26 Mar 1997 16:57:08 +0100	[thread overview]
Message-ID: <0fhghy3auj.fsf@asgaard.mjolner.dk> (raw)
In-Reply-To: Andy Eskilsson's message of Wed, 26 Mar 1997 16:12:49 +0100

Andy Eskilsson <flognat@fukt.hk-r.se> writes:
> ("xref" ("[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+"-1000 nil r))
> 
> In one of my score-files, but articles crossposted to so many and more
> groups ain't low-scored.. doing a trace score on such group says that
> nor rules apply to that article.. 

Xref's does not work if your newsserver doesn't have xrefs in the
overview files.  Also, it doesn't work on articles crossposted to groups
you don't have on your server.

> I have also tried:
> 
> ("newsgroups"
>   ("[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*," -1000 nil r))
> 
> But with the same result, is the 'header' case sensitive?? Am I
> missing something very special here?? 

Tsk, Andy! :-)

>From the info pages:

     If the key is a string, it is the name of the header to perform the
     match on.  Scoring can only be performed on these eight headers:
     `From', `Subject', `References', `Message-ID', `Xref', `Lines',
     `Chars' and `Date'.  In addition to these headers, there are three
     strings to tell Gnus to fetch the entire article and do the match
     on larger parts of the article: `Body' will perform the match on
     the body of the article, `Head' will perform the match on the head
     of the article, and `All' will perform the match on the entire
     article.  Note that using any of these last three keys will slow
     down group entry *considerably*.

So, you could use

  ("head"
   ("Newsgroups:[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*," -1000 nil r))

but I wouldn't advise it...
-- 
Lars Balker Rasmussen, Software Engineer, Mjolner Informatics ApS
lbr@mjolner.dk


  parent reply	other threads:[~1997-03-26 15:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-26 15:12 Andy Eskilsson
1997-03-26 15:56 ` Andy Eskilsson
1997-03-27  7:19   ` Yair Friedman
1997-03-30  8:51   ` Lars Magne Ingebrigtsen
1997-03-30 22:08     ` David Moore
1997-03-26 15:57 ` Lars Balker Rasmussen [this message]
1997-03-27  7:57   ` Andy Eskilsson
1997-03-27 14:12     ` Justin Sheehy

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=0fhghy3auj.fsf@asgaard.mjolner.dk \
    --to=lbr@mjolner.dk \
    /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).