From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58479 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: should `G r' rename score files? Date: Wed, 15 Sep 2004 22:55:38 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <878ybb9u7p.fsf@uwo.ca> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095307034 1882 80.91.229.6 (16 Sep 2004 03:57:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Sep 2004 03:57:14 +0000 (UTC) Original-X-From: ding-owner+M7018@lists.math.uh.edu Thu Sep 16 05:57:01 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C7nOH-0003Qp-00 for ; Thu, 16 Sep 2004 05:57:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1C7nN7-0007En-00; Wed, 15 Sep 2004 22:55:49 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1C7nN0-0007Eh-00 for ding@lists.math.uh.edu; Wed, 15 Sep 2004 22:55:42 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1C7nN0-0007rd-Fx for ding@lists.math.uh.edu; Wed, 15 Sep 2004 22:55:42 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 94ED73A0027 for ; Wed, 15 Sep 2004 22:55:40 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1C7nMx-0005ap-00 for ; Thu, 16 Sep 2004 05:55:39 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 38 Original-NNTP-Posting-Host: ip-69-33-218-34.chi.megapath.net Original-X-Trace: quimby.gnus.org 1095306939 21502 69.33.218.34 (16 Sep 2004 03:55:39 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 16 Sep 2004 03:55:39 +0000 (UTC) User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:f3S0uBOM6esgUScr1x35b+HwcqY= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58479 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58479 I considered implementing this several months ago. I ended up abandoning the effort because of the way that hierarchical score files function. I'll use an example to describe the problem. Let's say that you have the groups: a.b.c a.b.d and the score files: a.b.c.SCORE a.b.d.SCORE a.b.SCORE a.SCORE Now, if I rename a.b.c to x.y.z. What do I do about the score files? Renaming a.b.c.SCORE to x.y.z.SCORE is obvious. The problem is what to do with a.b.SCORE and a.SCORE. The options are: * If I do nothing, then the score rules for x.y.z will not match the score rules used when the group was named a.b.c. * If I rename a.b.SCORE and a.SCORE, then the score rules for a.b.d are changed. * If I copy a.b.SCORE to x.y.SCORE and a.SCORE to x.SCORE, then these groups are OK but what if x.SCORE or x.y.SCORE already existed? To make this work, I'd have to merge the a.b.SCORE contents with x.y.SCORE in such a way that I restored the proper data structure, removing all duplicate entries, and (if possible) preserving any comments. It's possible but a lot of work to get right. Kevin Dan Christensen writes: > When I rename an nnfolder group using `G r' in the *Group* buffer, > this doesn't rename the .SCORE and .ADAPT files. Maybe it should?