Gnus development mailing list
 help / color / mirror / Atom feed
* Zapping crossposts..
@ 1997-03-26 15:12 Andy Eskilsson
  1997-03-26 15:56 ` Andy Eskilsson
  1997-03-26 15:57 ` Lars Balker Rasmussen
  0 siblings, 2 replies; 8+ messages in thread
From: Andy Eskilsson @ 1997-03-26 15:12 UTC (permalink / raw)


I have:

("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.. 

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?? 

	/Andy

p.s. is there anywhere it is possible to experiment with this stuff,
sort of throw in a lisp.expression and gnus says what it thinks of it
together with the marked article?

-- 
 Hi I am an alien .sig, and at the moment I am having sex to your
 mind, by looking at your smile I can see that you like it.

 Unsolicited commercial email is subject to an archival fee of $400.
 See <http://www.fukt.hk-r.se/~flognat/mail/> for more info.


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

* Re: Zapping crossposts..
  1997-03-26 15:12 Zapping crossposts 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-26 15:57 ` Lars Balker Rasmussen
  1 sibling, 2 replies; 8+ messages in thread
From: Andy Eskilsson @ 1997-03-26 15:56 UTC (permalink / raw)
  Cc: ding

/ Andy Eskilsson <flognat@fukt.hk-r.se> wrote:
| I have:
| 
| ("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.. 

Gotcha.. it seems as though the following:

("[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+" -1000 nil r)

doesn't apply on a virtual group, but it does wonders on the other
groups under the topic who has this scorefile.. 

Any hints?? BTW Do the \n's  need to be there 

	/Andy

-- 
 Hi I am an alien .sig, and at the moment I am having sex to your
 mind, by looking at your smile I can see that you like it.

 Unsolicited commercial email is subject to an archival fee of $400.
 See <http://www.fukt.hk-r.se/~flognat/mail/> for more info.


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

* Re: Zapping crossposts..
  1997-03-26 15:12 Zapping crossposts Andy Eskilsson
  1997-03-26 15:56 ` Andy Eskilsson
@ 1997-03-26 15:57 ` Lars Balker Rasmussen
  1997-03-27  7:57   ` Andy Eskilsson
  1 sibling, 1 reply; 8+ messages in thread
From: Lars Balker Rasmussen @ 1997-03-26 15:57 UTC (permalink / raw)


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


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

* Re: Zapping crossposts..
  1997-03-26 15:56 ` Andy Eskilsson
@ 1997-03-27  7:19   ` Yair Friedman
  1997-03-30  8:51   ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 8+ messages in thread
From: Yair Friedman @ 1997-03-27  7:19 UTC (permalink / raw)


Andy Eskilsson <flognat@fukt.hk-r.se> writes:

> Gotcha.. it seems as though the following:
> 
> ("[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+" -1000 nil r)
> 
> doesn't apply on a virtual group, but it does wonders on the other
> groups under the topic who has this scorefile.. 
> 
> Any hints?? BTW Do the \n's  need to be there 
> 
> 	/Andy

I seem to have the reverse problem. 

("Xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -1 nil r)

seems to hit ALL articles in nnvirtual groups (In regular groups
it works as expected).

--
Yair Friedman.                  John Bryce (Systems) 1984 Ltd.           
                                7 Hamarpeh St.                           
                                Har-Hotzvom Science Based Industry Campus
                                Jerusalem 97 774, Israel                 
<URL:mailto:YFriedma@JohnBryce.Co.Il>


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

* Re: Zapping crossposts..
  1997-03-26 15:57 ` Lars Balker Rasmussen
@ 1997-03-27  7:57   ` Andy Eskilsson
  1997-03-27 14:12     ` Justin Sheehy
  0 siblings, 1 reply; 8+ messages in thread
From: Andy Eskilsson @ 1997-03-27  7:57 UTC (permalink / raw)
  Cc: ding

/ Lars Balker Rasmussen <lbr@mjolner.dk> wrote:
| 
| 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.

Well the articles I am looking at are certainly carrying the
xref-header, AND more than the number of groups that ought to be
matching the regexp.. 

Well as you probably have read, the xref score isn't applied in a
virtual group while some of the other, subject, author scores seems to
be applied.. 

The xref scores is applied if I read the groups separately!

	/Andy

-- 
 Hi I am an alien .sig, and at the moment I am having sex to your
 mind, by looking at your smile I can see that you like it.

 Unsolicited commercial email is subject to an archival fee of $400.
 See <http://www.fukt.hk-r.se/~flognat/mail/> for more info.


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

* Re: Zapping crossposts..
  1997-03-27  7:57   ` Andy Eskilsson
@ 1997-03-27 14:12     ` Justin Sheehy
  0 siblings, 0 replies; 8+ messages in thread
From: Justin Sheehy @ 1997-03-27 14:12 UTC (permalink / raw)


Andy Eskilsson <flognat@fukt.hk-r.se> writes:

> Well as you probably have read, the xref score isn't applied in a
> virtual group

xref scores are applied in nnvirtual groups, just not correctly.

This is a known problem.

-Justin

 


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

* Re: Zapping crossposts..
  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
  1 sibling, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-03-30  8:51 UTC (permalink / raw)


Andy Eskilsson <flognat@fukt.hk-r.se> writes:

> Gotcha.. it seems as though the following:
> 
> ("[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+" -1000 nil r)
> 
> doesn't apply on a virtual group, but it does wonders on the other
> groups under the topic who has this scorefile.. 

It should apply (even more so, due to a bug) to nnvirtual groups...

> Any hints?? BTW Do the \n's  need to be there 

Yup.

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


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

* Re: Zapping crossposts..
  1997-03-30  8:51   ` Lars Magne Ingebrigtsen
@ 1997-03-30 22:08     ` David Moore
  0 siblings, 0 replies; 8+ messages in thread
From: David Moore @ 1997-03-30 22:08 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Andy Eskilsson <flognat@fukt.hk-r.se> writes:
> 
> > Gotcha.. it seems as though the following:
> > 
> > ("[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+" -1000 nil r)
> > 
> > doesn't apply on a virtual group, but it does wonders on the other
> > groups under the topic who has this scorefile.. 
> 
> It should apply (even more so, due to a bug) to nnvirtual groups...

Actually, I think this version won't apply more, since some of the extra
goop added doesn't have ':' involved.

Hopefully I'll have a "fix" for nnvirtual's Xref rewriting soon.

-- 
David Moore <dmoore@ucsd.edu>       | Computer Systems Lab      __o
UCSD Dept. Computer Science - 0114  | Work: (619) 534-8604    _ \<,_
La Jolla, CA 92093-0114             | Fax:  (619) 534-1445   (_)/ (_)
<URL:http://oj.egbt.org/dmoore/>    | In a cloud bones of steel.


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

end of thread, other threads:[~1997-03-30 22:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-03-26 15:12 Zapping crossposts 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
1997-03-27  7:57   ` Andy Eskilsson
1997-03-27 14:12     ` Justin Sheehy

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