From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38871 Path: main.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: nnml/nnfolder marks faster Date: Sat, 22 Sep 2001 11:29:18 -0400 Sender: Dan Christensen Message-ID: <878zf76y7l.fsf@uwo.ca> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035174668 24850 80.91.224.250 (21 Oct 2002 04:31:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:31:08 +0000 (UTC) Cc: Return-Path: Return-Path: Original-Received: (qmail 14660 invoked from network); 22 Sep 2001 15:29:48 -0000 Original-Received: from pony.its.uwo.ca (129.100.2.63) by gnus.org with SMTP; 22 Sep 2001 15:29:48 -0000 Original-Received: from pony.its.uwo.ca (hurdle.its.uwo.ca [129.100.2.108]) by pony.its.uwo.ca (8.12.0/8.12.0) with ESMTP id f8MFUYYP022891 for ; Sat, 22 Sep 2001 11:30:56 -0400 (EDT) Original-Received: from scratchy (ren.math.uwo.ca [129.100.75.76]) by pony.its.uwo.ca (8.12.0/8.12.0) with ESMTP id f8MFUXpn022885; Sat, 22 Sep 2001 11:30:34 -0400 (EDT) Original-Received: from jdc by scratchy with local (Exim 3.32 #1 (Debian)) id 15koiU-0005L4-00; Sat, 22 Sep 2001 11:29:18 -0400 Original-To: Simon Josefsson Mail-Copies-To: never User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.100 Original-Lines: 63 Xref: main.gmane.org gmane.emacs.gnus.general:38871 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38871 Simon Josefsson writes: > On Fri, 21 Sep 2001, Dan Christensen wrote: > >> Simon Josefsson writes: >> >> > Possibly. Did you try my patch in >> > ? I think it keeps `score' out >> > of .mrk. >> >> It doesn't work. Score entries remain in the .mrk file. > > Oops, I just found a problem with the patch. Please change > > +(defconst gnus-article-unpropagated-mark-lists '(cache download unsend) > > into > > +(defconst gnus-article-unpropagated-mark-lists '(cache download unsend score) Still doesn't work. western.mrk included below. (I made sure to change a mark in this group so the .mrk file got rewritten.) The .mrk file also contains seen entries. If it matters, I'm using nnfolder. More testing... Ok, if I delete the western.mrk file, then no score entries get put there, even if gnus-save-score is set to t. On the other hand, if there are already score entries in the western.mrk file, then they remain there when the western.mrk file gets rewritten, even with the patch applied. In every case I've tried, the seen marks are written to the western.mrk file. >> Even worse, they are changed to be incorrect. For example, the score pair >> (579 . 2000) was changed to (579 . 1092) (and lots of other 2000's >> were changed to 1092's as well). > > I suspect Gnus tries to sort the score marks as ranges somehow, which is a > bad idea. But this only happens in the .mrk file, not in the .newsrc.eld file. (Included file illustrates this.) >> - score entries aren't purged when the article they refer to is >> deleted/expired > > Once we get the score mark out of the .mrk file, this and your main > problem should vanish, I hope. I think this is a separate problem. The score entries aren't expired from .newsrc.eld either. So this bug will still need to be fixed even if score entries don't propagate to the .mrk files. Dan western.mrk: ((tick 282 298 307) (score (82 . 84) (81 . 84) (78 . 84) (79 . 84) (80 . 84) (76 . 84) (77 . 84) (68 . 84) (69 . 84) (70 . 84) (65 . 84) (63 . 84) (62 . 84) (64 . 84) (60 . 84) (58 . 84) (59 . 84) (56 . 84) (44 . 84) (48 . 84) (39 . 84) (37 . 84) (43 . 84) (41 . 84) (40 . 84) (32 . 84) (29 . 84) (45 . 84) (49 . 84) (47 . 84) (38 . 84) (36 . 84) (31 . 84)) (read (1 . 312)) (seen (27 . 45) (47 . 106) (109 . 114) (116 . 274) 280) (forward 268 285 287) (reply 33 37 42 50 55 63 68 (77 . 78) 85 (90 . 91) (101 . 102) 105 (110 . 111) (113 . 114) 117 119 122 (124 . 125) (128 . 131) 143 146 156 166 (176 . 177) (179 . 180) 185 203 208 231 233 238 240 263 (284 . 285) (294 . 295))) western.mrk recreated after deletion: ((read (1 . 312)) (seen (27 . 45) (47 . 106) (109 . 114) (116 . 274) 280 282 298 307) (forward 268 285 287) (reply 33 37 42 50 55 63 68 (77 . 78) 85 (90 . 91) (101 . 102) 105 (110 . 111) (113 . 114) 117 119 122 (124 . 125) (128 . 131) 143 146 156 166 (176 . 177) (179 . 180) 185 203 208 231 233 238 240 263 (284 . 285) (294 . 295)) (tick 282 298 307))