From: prj@po.cwru.edu (Paul Jarc)
Subject: Re: self contained nnfolder
Date: Sun, 02 Sep 2001 02:11:19 -0400 [thread overview]
Message-ID: <m3k7zinmua.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <87zo8efblz.fsf@uwo.ca> (Dan Christensen's message of "Sun, 02 Sep 2001 00:41:28 -0400")
Dan Christensen <jdc@uwo.ca> wrote:
> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
>> Dan Christensen <jdc+news@uwo.ca> 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.
>
> 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?
>
> 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
next prev parent reply other threads:[~2001-09-02 6:11 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-25 16:53 Simon Josefsson
2001-08-26 16:30 ` Raymond Scholz
2001-08-26 21:20 ` Simon Josefsson
2001-08-26 22:24 ` Nevin Kapur
2001-08-27 1:22 ` Steve Youngs
2001-08-27 16:19 ` Simon Josefsson
2001-08-27 16:36 ` Nevin Kapur
2001-09-01 22:22 ` Dan Christensen
2001-09-01 23:03 ` Dan Christensen
2001-09-01 23:31 ` Kai Großjohann
2001-09-02 6:34 ` Paul Jarc
2001-09-01 23:26 ` Kai Großjohann
2001-09-02 4:41 ` Dan Christensen
2001-09-02 6:11 ` Paul Jarc [this message]
2001-09-02 10:36 ` Kai Großjohann
2001-09-02 15:51 ` Dan Christensen
2001-09-02 16:48 ` Kai Großjohann
2001-09-02 23:58 ` Paul Jarc
2001-09-03 3:35 ` Dan Christensen
2001-09-03 10:16 ` Kai Großjohann
2001-09-03 15:07 ` Dan Christensen
2001-09-03 16:31 ` Kai Großjohann
2001-09-04 1:22 ` Dan Christensen
2001-09-03 23:51 ` Paul Jarc
2001-09-04 1:38 ` Dan Christensen
2001-09-04 6:58 ` Paul Jarc
2001-09-04 14:45 ` Dan Christensen
2001-09-02 23:54 ` Paul Jarc
2001-09-03 3:49 ` Dan Christensen
2001-09-03 15:12 ` Dan Christensen
2001-09-03 23:36 ` Paul Jarc
2001-09-03 10:18 ` Kai Großjohann
2001-09-03 15:01 ` Dan Christensen
2001-09-03 15:22 ` Dan Christensen
2001-09-03 16:34 ` Kai Großjohann
2001-09-03 17:00 ` Amos Gouaux
2001-09-03 21:31 ` Kai Großjohann
2001-09-03 23:17 ` Paul Jarc
2001-09-04 0:43 ` Amos Gouaux
2001-09-04 13:41 ` Kai Großjohann
2001-09-04 14:10 ` Amos Gouaux
2001-09-03 23:23 ` Paul Jarc
2001-09-04 1:14 ` Dan Christensen
2001-09-04 1:33 ` Dan Christensen
2001-09-04 13:42 ` Kai Großjohann
2001-09-02 9:53 ` Simon Josefsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3k7zinmua.fsf@multivac.cwru.edu \
--to=prj@po.cwru.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).