From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24257 Path: main.gmane.org!not-for-mail From: Mike McEwan Newsgroups: gmane.emacs.gnus.general Subject: [patch] Re: topic parameters and agent-score Date: 15 Jul 1999 13:34:33 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161854 7743 80.91.224.250 (21 Oct 2002 00:57:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:57:34 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id IAA24692 for ; Thu, 15 Jul 1999 08:44:50 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id HAB12099; Thu, 15 Jul 1999 07:41:12 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 15 Jul 1999 07:41:19 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id HAA01076 for ; Thu, 15 Jul 1999 07:41:09 -0500 (CDT) Original-Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id IAA24623 for ; Thu, 15 Jul 1999 08:40:04 -0400 (EDT) Original-Received: from lotusland.demon.co.uk ([158.152.62.156]) by finch-post-12.mail.demon.net with esmtp (Exim 2.12 #1) id 114kny-000MIm-0C for ding@gnus.org; Thu, 15 Jul 1999 12:40:02 +0000 Original-Received: from mike by lotusland.demon.co.uk with local (Exim 3.02 #1) id 114koe-0000F1-00 for ding@gnus.org; Thu, 15 Jul 1999 13:40:44 +0100 Original-To: ding@gnus.org In-Reply-To: Robert Epprecht's message of "14 Jul 1999 00:20:29 +0200" User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/21.2 (Chiyoda) Original-Lines: 37 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24257 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24257 Robert Epprecht 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 + + * gnus-agent.el (gnus-agent-fetch-group-1): Allow 'agent-score' to + be set in topic parameters. + 1999-07-10 Mike McEwan * 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.