Gnus development mailing list
 help / color / mirror / Atom feed
From: Mike McEwan <mike@lotusland.demon.co.uk>
Subject: [patch] Re: topic parameters and agent-score
Date: 15 Jul 1999 13:34:33 +0100	[thread overview]
Message-ID: <m3zp0yf5wm.fsf@lotusland.demon.co.uk> (raw)
In-Reply-To: Robert Epprecht's message of "14 Jul 1999 00:20:29 +0200"

Robert Epprecht <epprecht@sunweb.ch> writes:

> If I put something in the topic parameters then a group inside
> that topic that has 'nil' group parameters will behave like having
> the topics parameter as group parameters. Did I get this right?
> 
> I'm asking because if I put '((agent-score . file))' in the topic
> parameters and it does not seem to work like this. Can't I do that?
> (Or maybe I'm misunderstanding this (agent-score . file)-thing...?)

  The following should do the trick...

--- pgnus/lisp/ChangeLog~	Sat Jul 10 20:47:05 1999
+++ pgnus/lisp/ChangeLog	Thu Jul 15 13:30:14 1999
@@ -1,3 +1,8 @@
+1999-07-15  Mike McEwan  <mike@lotusland.demon.co.uk>
+
+	* gnus-agent.el (gnus-agent-fetch-group-1): Allow 'agent-score' to 
+	be set in topic parameters.
+
 1999-07-10  Mike McEwan  <mike@lotusland.demon.co.uk>
 
 	* gnus-sum.el (gnus-sort-gathered-threads-function): New variable.
--- pgnus/lisp/gnus-agent.el~	Sat Jul 10 20:36:46 1999
+++ pgnus/lisp/gnus-agent.el	Thu Jul 15 13:28:45 1999
@@ -977,7 +977,7 @@
 	(setq score-param
 	      (let ((score-method
 		     (or
-		      (gnus-group-get-parameter group 'agent-score t)
+		      (gnus-group-find-parameter group 'agent-score t)
 		      (caddr category))))
 		(when score-method
 		  (require 'gnus-score)

-- 
Mike.


  reply	other threads:[~1999-07-15 12:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-13 22:20 Robert Epprecht
1999-07-15 12:34 ` Mike McEwan [this message]
1999-07-16 13:07   ` [patch] " Robert Epprecht
1999-07-16 16:46     ` Robert Epprecht
1999-07-16 22:28       ` Mike McEwan
1999-07-17  5:29         ` Robert Epprecht
1999-07-17 14:08           ` Shenghuo ZHU
1999-07-17 20:54             ` Robert Epprecht

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=m3zp0yf5wm.fsf@lotusland.demon.co.uk \
    --to=mike@lotusland.demon.co.uk \
    /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).