From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38507 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:11:19 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Message-ID: References: <87r8tqim9w.fsf@uwo.ca> <87zo8efblz.fsf@uwo.ca> 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 1035174359 22831 80.91.224.250 (21 Oct 2002 04:25:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:25:59 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 25105 invoked from network); 2 Sep 2001 06:11:20 -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:11:20 -0000 Original-Received: (qmail 6047 invoked by uid 500); 2 Sep 2001 06:11:41 -0000 Original-To: ding@gnus.org Mail-Copies-To: never In-Reply-To: <87zo8efblz.fsf@uwo.ca> (Dan Christensen's message of "Sun, 02 Sep 2001 00:41:28 -0400") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 Original-Lines: 57 Xref: main.gmane.org gmane.emacs.gnus.general:38507 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38507 Dan Christensen wrote: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: >> Dan Christensen writes: >>> (setq gnus-server-alist '(("archive" nnfolder "") ("" nnfolder "")= )) >> >> Don't let two servers share the same directory. Unless, that is, you >> want to be strange on purpose. >=20 > I guess I was hoping that the above meant that "archive" and "" were > in fact the *same* server, i.e. both were names for the server > (nnfolder ""). Is that not how it works? I don't think it works that way. If you really want a single select method to appear twice in gnus-server-alist, then assuming it's possible at all, I think this would be the way to do it: (let ((method '(nnfolder ""))) (setq gnus-server-alist `(("archive" . ,method) ("" . ,method)))) I don't know whether Gnus would preserve this structure when re-writing .newsrc.eld, though. > Is there some way to have only one nnfolder server? >=20 > I only have one listed in the server buffer and > gnus-secondary-select-methods is set to ((nnfolder "")). First do like Kai said and make sure all your groups identify their server by "nnfolder:" (or by "archive" or "", depending on which of those names you want to end up with) and not by select method. Next make sure all your Gcc-producing configuration stuff uses fully qualifed group names. Edit your .gnus to make gnus-message-archive-method nil; gnus-secondary-select-methods should also be nil, or, if you want your foreign nnfolder server to also be secondary, use '("nnfolder:"). Edit your .newsrc.eld (while Gnus is not running) to remove whichever entry from gnus-server-alist you don't want to use. I think the above should work if you don't use gnus-message-archive-group. If you do, then gnus-message-archive-method must be non-nil. It might work to set it to "nnfolder:"; I'm not sure. If it has to be a select method and not a server name, then use the select method that is (cdr (car gnus-server-alist)). I'm not sure what happens if you edit your foreign server and it becomes different from g-m-a-m. I think Gnus looks in gnus-server-alist, and if there is already a method there with the same backend and address that g-m-a-m has, then it uses that method in place of g-m-a-m. So you don't have to worry about keeping g-m-a-m up to date. But I might be wrong, and if you ever change the backend or address of your server, g-m-a-m will produce a new foreign server. So it's best not to set g-m-a-m to a select method if you can help it. I think. paul