Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Why doesn't this SCORE file work?
@ 2011-03-08 16:16 Matthew Vernon
  2011-03-15 19:23 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Vernon @ 2011-03-08 16:16 UTC (permalink / raw)
  To: info-gnus-english

Hi,

This is my SCORE file for uk.misc. I want to score down cross-posts to 2
or more groups, excepting that an article posted to uk.misc and
uk.rec.sheds (and no other groups) shouldn't be scored down. This
fragment doesn't seem to score down posts to uk.misc and one other
group...

Thanks,

Matthew

((&
  ("xref" "[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+" r)
  !(&
    ("xref" "uk.rec.sheds" s)
    ("xref" "uk.misc" s)
    )
  -1000)
 ("xref"
  ("[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+"
   -1000 nil r))
)


-- 
 `O'-----0     `O'---.       `O'---.       `O'---.
   \___| |       \___|0-/      \___|/        \___|
    |  | /\       |  |  \       |  |\         |  |
The Dangers of modern veterinary life

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

* Re: Why doesn't this SCORE file work?
  2011-03-08 16:16 Why doesn't this SCORE file work? Matthew Vernon
@ 2011-03-15 19:23 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-03-15 19:23 UTC (permalink / raw)
  To: info-gnus-english

Matthew Vernon <matthew@debian.org> writes:

> This is my SCORE file for uk.misc. I want to score down cross-posts to 2
> or more groups, excepting that an article posted to uk.misc and
> uk.rec.sheds (and no other groups) shouldn't be scored down. This
> fragment doesn't seem to score down posts to uk.misc and one other
> group...

[...]

> ((&
>   ("xref" "[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+" r)
>   !(&
>     ("xref" "uk.rec.sheds" s)
>     ("xref" "uk.misc" s)
>     )
>   -1000)
>  ("xref"
>   ("[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+"
>    -1000 nil r))
> )

I think that should be:

((&
  ("xref" "[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+" r)
  (! (&
      ("xref" "uk.rec.sheds" s)
      ("xref" "uk.misc" s)))
  -1000)
 ("xref"
   ("[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+"
     -1000 nil r)))

Although I haven't tested it.
     
-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen

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

end of thread, other threads:[~2011-03-15 19:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-08 16:16 Why doesn't this SCORE file work? Matthew Vernon
2011-03-15 19: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).