From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38509 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: self contained nnfolder Date: Sun, 02 Sep 2001 02:34:53 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Message-ID: References: <87r8tqim9w.fsf@uwo.ca> <87elpqikdi.fsf@uwo.ca> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035174361 22895 80.91.224.250 (21 Oct 2002 04:26:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:26:01 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 25315 invoked from network); 2 Sep 2001 06:34:53 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (261@129.22.96.25) by gnus.org with SMTP; 2 Sep 2001 06:34:53 -0000 Original-Received: (qmail 6068 invoked by uid 500); 2 Sep 2001 06:35:15 -0000 Original-To: ding@gnus.org Mail-Copies-To: never In-Reply-To: <87elpqikdi.fsf@uwo.ca> (Dan Christensen's message of "Sat, 01 Sep 2001 19:03:53 -0400") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 Original-Lines: 48 Xref: main.gmane.org gmane.emacs.gnus.general:38509 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38509 Dan Christensen wrote: > I'm still curious why my nnfolder groups come with various servers: > "nnfolder:", (nnfolder "") and "archive". What's the difference > between these? "nnfolder:" and "archive" are both strings identifying your (nnfolder "") method; see my response to Kai. The method itself should always be specified in full (i.e., including all server parameters) whenever it is used, but it should only be used once, in one of gnus-select-method, gnus-secondary-select-methods, or gnus-server-alist. All other places that identify your server should use one of the string forms. A string form should also be used in gnus-secondary-select-methods if the method is already in gnus-server-alist (i.e., it's foreign). Now maybe you're wondering which form of string identifier to use. The advantage of "nnfolder:" is that it works for all kinds of servers (primary, secondary, and foreign). But if you commit to using a foreign server, you can use the "archive" or "" name; the advantage there is that you can change the select method's address (the string after the backend), and the "archive" or "" name will still work. (You can avoid the need for this, though, by explicitly using whichever server parameter corresponds to the address, if any - e.g., nntp-address.) The "nnfolder:" identification would have to be updated to use the new address. Conceivably, you might even be able to change the foreign method's backend and still use the same "archive" name, but there might well be problems with that. > Can they be unified? Is there a problem keeping them separate? All > the files are stored in one directory, and my server buffer only > shows one nnfolder server. I think you have only one select method, as far as Gnus is concerned. You're specifying it in multiple places, though, which I imagine might cause some trouble, especially if you ever change some server parameters, so it'd be good to remove all but one, or replace them with one of the string identifiers. > A group created by moving an article to a non-existent group is > created with the "archive" server. I think that's because the "archive" name appears first in your gnus-server-alist. Gnus knows which method to put the group in, and when it looks for the method's server name in gnus-server-alist, "archive" is the first one it finds. paul