From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39524 Path: main.gmane.org!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.gnus.general Subject: Re: Protect against servers stepping on each other's toes Date: Sat, 20 Oct 2001 00:48:53 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: <87pu7irelm.fsf@squeaker.lickey.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035175222 28465 80.91.224.250 (21 Oct 2002 04:40:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:40:22 +0000 (UTC) Return-Path: Original-Received: (qmail 20226 invoked from network); 20 Oct 2001 06:50:52 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 20 Oct 2001 06:50:52 -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 15upwn-0000hk-00; Sat, 20 Oct 2001 01:49:29 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 20 Oct 2001 01:49:06 -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 BAA18941 for ; Sat, 20 Oct 2001 01:48:54 -0500 (CDT) Original-Received: (qmail 20190 invoked by alias); 20 Oct 2001 06:49:11 -0000 Original-Received: (qmail 20185 invoked from network); 20 Oct 2001 06:49:10 -0000 Original-Received: from hank.lickey.com (64.81.100.235) by gnus.org with SMTP; 20 Oct 2001 06:49:10 -0000 Original-Received: from squeaker.lickey.com (squeaker.lickey.com [192.168.100.10]) by hank.lickey.com (Postfix) with ESMTP id 0AD13EDA7 for ; Sat, 20 Oct 2001 00:48:55 -0600 (MDT) Original-Received: from localhost (localhost [127.0.0.1]) by squeaker.lickey.com (Postfix) with ESMTP id E181EBDFD for ; Sat, 20 Oct 2001 00:48:54 -0600 (MDT) Original-Received: by squeaker.lickey.com (Postfix, from userid 1000) id 97D64BD38; Sat, 20 Oct 2001 00:48:53 -0600 (MDT) Original-To: ding@gnus.org In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Sat, 20 Oct 2001 00:37:08 +0200") Original-Lines: 51 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 X-Virus-Scanned: by AMaViS snapshot-20010714 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39524 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39524 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > The trouble is with people who do this: >=20 > (add-to-list 'gnus-secondary-select-methods '(nnml "")) > (add-to-list 'gnus-secondary-select-methods '(nnfolder "")) And I just spent hours discovering that this happens by default if you have: (setq gnus-select-method '(nnml "")) And then "B c" a message into an nnfolder:FOO directory. They both do stuff in ~/Mail. I.e. FOO gets added to ~/Mail/active. This would ordinarily not be a problem, but it seems that something goes through ~/Mail/active and creates nnml groups for everything in it. So I end up with both a "FOO" and a "nnfolder:FOO" in my .newsrc.eld. Insanity follows. I've not yet verified if this happens only because I have '(nnml "") as my primary select method. This is particularly bad because Gnus magically creates the "nnfolder:" method for me, using what I assume are the defaults. > Maybe some crooked mind does something like this: >=20 > (add-to-list 'gnus-secondary-select-methods=20 > '(nnfolder "a" > (nnfolder-directory "/tmp/a") > (nnfolder-active-file "/tmp/active"))) > (add-to-list 'gnus-secondary-select-methods=20 > '(nnfolder "b" > (nnfolder-directory "/tmp/b") > (nnfolder-active-file "/tmp/active"))) >=20 > Note how they use different directories but the same active file. >=20 > But you're right, it seems that it is sufficient to set a variable > value, such as gnus-occupied-directories or something like this. Yes, gnus-occupied-directories would catch unintended problems like I describe above. Were it implemented now, I'd be asleep this very moment. :-) --=20 matt