Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Recursive scoring or articles
@ 2007-07-29  0:09 Sebastian Krause
  2007-07-29  8:51 ` Reiner Steib
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Krause @ 2007-07-29  0:09 UTC (permalink / raw)
  To: info-gnus-english

Hello!

I'm wondering if it's possible to apply a score of an article to all
of its follow-ups. In detail I would like to kill a whole subthread
that follows an article I've killed with some negative score. Maybe
something with adaptive scoring and the references headers?
Unfortunately I couldn't find anything.

Thanks,
Sebastian

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

* Re: Recursive scoring or articles
  2007-07-29  0:09 Recursive scoring or articles Sebastian Krause
@ 2007-07-29  8:51 ` Reiner Steib
  2007-07-29 10:15   ` Sebastian Krause
  0 siblings, 1 reply; 5+ messages in thread
From: Reiner Steib @ 2007-07-29  8:51 UTC (permalink / raw)
  To: info-gnus-english

On Sun, Jul 29 2007, Sebastian Krause wrote:

> I'm wondering if it's possible to apply a score of an article to all
> of its follow-ups. In detail I would like to kill a whole subthread
> that follows an article I've killed with some negative score. 

Is something like `L r S' what you have in mind?
Cf. (info "(gnus)Summary Score Commands")

> Maybe something with adaptive scoring and the references headers?
> Unfortunately I couldn't find anything.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* Re: Recursive scoring or articles
  2007-07-29  8:51 ` Reiner Steib
@ 2007-07-29 10:15   ` Sebastian Krause
  2007-07-29 13:13     ` Reiner Steib
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Krause @ 2007-07-29 10:15 UTC (permalink / raw)
  To: info-gnus-english

Reiner Steib <reinersteib+gmane@imap.cc> wrote:
> On Sun, Jul 29 2007, Sebastian Krause wrote:
>> I'm wondering if it's possible to apply a score of an article to all
>> of its follow-ups. In detail I would like to kill a whole subthread
>> that follows an article I've killed with some negative score. 
>
> Is something like `L r S' what you have in mind?
> Cf. (info "(gnus)Summary Score Commands")

But this requires manual interaction and when the article is already
killed (and so vanished from the summary buffer) I don't what to
find it manually so run this command to kill its follow-ups. It
should happen automatically.

An example thread:

1. [ interesting post ]
2.    [ troll A answers ]
3.       [ posting feeding the troll ]
4.       [ more food ]
5.           [ another troll ]
6.    [ good answer ]
7.    [ another good answer ]

Now let's assumene I've already killed troll A in my score
file. Since the troll-feeding posts will just be as annoying, lines
3-5 should be *automatically* killed together with line 2. So I
would see this result in the summary buffer without any manual
interaction:

1. [ interesting post ]
2.    [ good answer ]
3.    [ another good answer ]

Sebastian

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

* Re: Recursive scoring or articles
  2007-07-29 10:15   ` Sebastian Krause
@ 2007-07-29 13:13     ` Reiner Steib
  2007-08-02  0:44       ` Sebastian Krause
  0 siblings, 1 reply; 5+ messages in thread
From: Reiner Steib @ 2007-07-29 13:13 UTC (permalink / raw)
  To: info-gnus-english

On Sun, Jul 29 2007, Sebastian Krause wrote:

> 1. [ interesting post ]
> 2.    [ troll A answers ]
> 3.       [ posting feeding the troll ]
> 4.       [ more food ]
> 5.           [ another troll ]
> 6.    [ good answer ]
> 7.    [ another good answer ]
>
> Now let's assumene I've already killed troll A in my score
> file.

I.e. you already have a rule like this?

 ("from"
  ("some troll" -10000 nil s))

> Since the troll-feeding posts will just be as annoying, lines 3-5
> should be *automatically* killed together with line 2.

Adding this rule should help:

 ("followup"
  ("some troll" -10000 nil s)

,----[ (info "(gnus)Score File Format") ]
|          "Followup"
|                This match key is somewhat special, in that it will
|                match the `From' header, and affect the score of not
|                only the matching articles, but also all followups to
|                the matching articles.  This allows you e.g. increase
|                the score of followups to your own articles, or decrease
|                the score of followups to the articles of some known
|                trouble-maker.  Uses the same match types as the `From'
|                header uses.  (Using this match key will lead to
|                creation of `ADAPT' files.)
`----

If the troll is nice enough to use it's own FQDN, you may score on
(message-id and) references:

 ("message-id"
  (".ln1@usenet.de.gg>" -1000 nil r))

 ("references"
  ("@trolls\\.fqdn\\.invalid>[^>]+>[^>]+>$" -1 nil r)
  ("@trolls\\.fqdn\\.invalid>[^>]+>$" -10 nil r)
  ("@trolls\\.fqdn\\.invalid>$" -100 nil r)

> So I would see this result in the summary buffer without any manual
> interaction:
>
> 1. [ interesting post ]
> 2.    [ good answer ]
> 3.    [ another good answer ]

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* Re: Recursive scoring or articles
  2007-07-29 13:13     ` Reiner Steib
@ 2007-08-02  0:44       ` Sebastian Krause
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastian Krause @ 2007-08-02  0:44 UTC (permalink / raw)
  To: info-gnus-english

Reiner Steib <reinersteib+gmane@imap.cc> wrote:
> On Sun, Jul 29 2007, Sebastian Krause wrote:
>> Since the troll-feeding posts will just be as annoying, lines 3-5
>> should be *automatically* killed together with line 2.
>
> Adding this rule should help:
>
>  ("followup"
>   ("some troll" -10000 nil s)

Exactly what I wanted. Thanks! :)

Sebastian

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

end of thread, other threads:[~2007-08-02  0:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-29  0:09 Recursive scoring or articles Sebastian Krause
2007-07-29  8:51 ` Reiner Steib
2007-07-29 10:15   ` Sebastian Krause
2007-07-29 13:13     ` Reiner Steib
2007-08-02  0:44       ` Sebastian Krause

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