From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10093 Path: main.gmane.org!not-for-mail From: Colin Rafferty Newsgroups: gmane.emacs.gnus.general Subject: score bug in gnus-summary-save-newsrc Date: 05 Mar 1997 17:42:05 -0500 Message-ID: Reply-To: Colin Rafferty NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.105) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035150020 22350 80.91.224.250 (20 Oct 2002 21:40:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:40:20 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id OAA15746 for ; Wed, 5 Mar 1997 14:57:42 -0800 Original-Received: from hudutilgw.ml.com (hudutilf01.ml.com [198.242.49.31]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 5 Mar 1997 23:42:47 +0100 Original-Received: from ml2.ml.com ([199.201.37.130]) by hudutilgw.ml.com (8.8.5/8.8.5/MLgw-3.03) with ESMTP id RAA20637 for ; Wed, 5 Mar 1997 17:40:57 -0500 (EST) Original-Received: from commpost.ml.com (commpost.ml.com [146.125.4.24]) by ml2.ml.com (8.7.5/8.7.3/MLml-2.06b) with SMTP id RAA10243 for ; Wed, 5 Mar 1997 17:45:18 -0500 (EST) Original-Received: from spssunp.spspme.ml.com (spssunp.spspme.ml.com [192.168.111.13]) by commpost.ml.com (8.6.12/8.6.12) with ESMTP id RAA03197 for ; Wed, 5 Mar 1997 17:44:54 -0500 Original-Received: by spssunp.spspme.ml.com (SMI-8.6/SMI-4.1) id RAA13050; Wed, 5 Mar 1997 17:42:05 -0500 Mail-Copies-To: never Original-To: (ding) GNUS Mailing List X-Face: D>:hrrB{l6#\wU;)0R:OHSTA@ayd.Oq?s@Rrc;[+z0m+<-U"$G-J6L)F2QY`qK~uPu!s1(6{\#uy!Ag/D)?'L[}xErXvxoPn8T_hKi{M]/(`BF{e}X7;hby`p\.E$rJ}Aff#BT,rdDIw\y X-Y-Zippy: I'm in ATLANTIC CITY riding in a comfortable ROLLING CHAIR... Original-Lines: 54 X-Mailer: Gnus v5.4.12/XEmacs 20.1 Xref: main.gmane.org gmane.emacs.gnus.general:10093 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:10093 Howdy- I just noticed that `gnus-summary-save-newsrc' computes and saves an adaptive score every time it is called. This causes incorrect scoring, since `gnus-summary-exit' also does this. This is really a problem since I am paranoid, and have the following form in my .gnus.el: (add-hook 'gnus-select-article-hook 'gnus-summary-save-newsrc) What it should do is get rid of adaptive scores that it saved in the current reading session. Here is an example. I had about 20 unread articles in list.ding. Four of them had "CVS'r'us" as the subject. I read each of the four, and then another 15. Here is the *Score Trace* for one of them: > ("Lars Balker Rasmussen " 73 729088 s) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("CVS'r'us" 90 729088 f) -> ADAPT > ("CVS'r'us" 60 729088 f) -> ADAPT > ("CVS'r'us" 30 729088 f) -> ADAPT > ("^re: " -5 nil r) -> SCORE The actual *Score Trace* should be: > ("Lars Balker Rasmussen " 73 729088 s) -> ADAPT > ("CVS'r'us" 120 729088 f) -> ADAPT > ("^re: " -5 nil r) -> SCORE I know that I was one of the requesters for `gnus-summary-save-newsrc'. However, I think that saving read/unread was the necessity. Adaptive scoring is only icing on the cake. This is Gnus v5.4.12 in XEmacs 20.1r1. -- Colin