From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39207 Path: main.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: trouble with .marks Date: Mon, 08 Oct 2001 16:00:13 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <87ofnh3nsi.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 1035174951 26663 80.91.224.250 (21 Oct 2002 04:35:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:35:51 +0000 (UTC) Return-Path: Original-Received: (qmail 3010 invoked from network); 8 Oct 2001 20:06:14 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 8 Oct 2001 20:06:14 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15qgcu-00069J-00; Mon, 08 Oct 2001 15:03:48 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 08 Oct 2001 15:03:26 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA21968 for ; Mon, 8 Oct 2001 15:03:11 -0500 (CDT) Original-Received: (qmail 2984 invoked by alias); 8 Oct 2001 20:03:17 -0000 Original-Received: (qmail 2979 invoked from network); 8 Oct 2001 20:03:07 -0000 Original-Received: from pony.its.uwo.ca (129.100.2.63) by gnus.org with SMTP; 8 Oct 2001 20:03:07 -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 f98K3aRY006350 for ; Mon, 8 Oct 2001 16:04:01 -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 f98K2Ylx005730 for ; Mon, 8 Oct 2001 16:03:18 -0400 (EDT) Original-Received: from jdc by scratchy with local (Exim 3.32 #1 (Debian)) id 15qgZS-0006rj-00; Mon, 08 Oct 2001 16:00:14 -0400 Original-To: Mail-Copies-To: never In-Reply-To: (Simon Josefsson's message of "Mon, 8 Oct 2001 08:55:18 +0200 (CEST)") Original-Lines: 25 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.100 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39207 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39207 Simon Josefsson writes: > Maybe we should fix this, even though it probably isn't the only problem > you would see when upgrading->downgrading->upgrading. Looking at > `gnus-newsrc-file-version' like someone suggested is probably a simple and > working solution. Will this problem also happen if the user sets nnfolder-marks-is-evil to t then nil then t? I guess one solution is to have Gnus remove the .mrk files it finds if nnfolder-marks-is-evil is set to nil and Gnus is changing the marks for that group in .newsrc.eld. Alternatively, if nnfolder-marks-is-evil is t, Gnus could not store the marks in .newsrc.eld at all. If the variable is set to nil, Gnus could read the .mrk file one last time, update .newsrc.eld, and then remove the .mrk file. Storing the same information in more than one place is asking for problems of this sort, so the proposal is to never do this. All of the above applies to nnml too, of course. -- Dan Christensen jdc+news@uwo.ca