From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12891 Path: main.gmane.org!not-for-mail From: Neil Crellin Newsgroups: gmane.emacs.gnus.general Subject: Re: "G r" not correctly handling nested nnml groups Date: 23 Nov 1997 05:29:16 -0800 Sender: neilc@wallaby.Stanford.EDU Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152349 6235 80.91.224.250 (20 Oct 2002 22:19:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:19:09 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id GAA06692 for ; Sun, 23 Nov 1997 06:44:49 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id IAA24759 for ; Sun, 23 Nov 1997 08:44:56 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with SMTP id OAA13224 for ; Sun, 23 Nov 1997 14:29:24 +0100 (MET) Original-Received: (qmail 22834 invoked by uid 504); 23 Nov 1997 13:29:23 -0000 Original-Received: (qmail 22831 invoked from network); 23 Nov 1997 13:29:23 -0000 Original-Received: from wallaby.Stanford.EDU (36.21.0.180) by claymore.vcinet.com with SMTP; 23 Nov 1997 13:29:23 -0000 Original-Received: (from neilc@localhost) by wallaby.Stanford.EDU (8.8.8/8.8.8) id FAA19475; Sun, 23 Nov 1997 05:29:16 -0800 (PST) Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of 23 Nov 1997 06:54:55 +0100 Original-Lines: 64 X-Mailer: Gnus v5.3/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:12891 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12891 Lars Magne Ingebrigtsen writes: > Neil Crellin writes: > > > I have some groups I want to rename eg nnml:lists.foo -> nnml:old.foo. > > Said groups have subfolders > > eg > > nnml:lists.foo > > nnml:lists.foo.bounces > > > > If I do a "B r lists.foo RET old.foo" it updates lists.foo fine, > > `G r', you mean. Obviously. I tried to supersede to correct this, no matter. > > but leaves an entry in the *Group* buffer and my .newsrc.el* for > > nnml:lists.foo.bounces. > > Yes; so it should. Except you then can't access that latter group, because the intermediate directory path nnml-directory/lists/foo has been renamed nnml-directory/old/foo, and accessing nnml-directory/lists/foo/bounces fails with the errors Retrieving newsgroup: nnml:lists.foo.bounces... nnml-directory/lists/foo/bounces/ is not a directory Couldn't request group nnml:lists.foo.bounces: nnml-directory/lists/foo/bounces/ is not a directory and an attempt to rename lists.foo.bounces to old.foo.bounces in that state using G r in the group buffer yields the errors Renaming group nnml:lists.foo.bounces to nnml:old.foo.bounces... Couldn't rename group nnml:lists.foo.bounces to nnml:old.foo.bounces because the intermediate directory lists/foo is now old/foo. > > If I rename nnml:lists.foo.bounces to nnml:old.foo.bounces instead, > > I have an entry for lists.foo that can't access anything in the > > folder thats now moved. > > Uhm. When you rename the second group, the first group reappears? No, when I attempt the sequence in the other order: ie first G r lists.foo.bounces to old.foo.bounces (succeeds, renames nnml-directory/lists/foo/bounces to nnml-directory/old/foo/bounces) the entry in the *Group* buffer for nnml:lists.foo remains behind, but is inaccessible Retrieving newsgroup: nnml:lists.foo... nnml-directory/lists/foo/ is not a directory Couldn't request group nnml:lists.foo: nnml-directory/lists/foo/ is not a directory and any attempt to G r it to old.foo fails Renaming group nnml:list.foo.bounces to nnml:old.foo.bounces... Couldn't rename group nnml:lists.foo.bounces to nnml:old.foo.bounces because there is no longer an intermediate directory lists/foo, it's now old/foo. The problem is due to the nesting dependency as you can see. -Neil Crellin