Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: Foreign server info?
Date: Fri, 02 Jul 2004 08:38:36 +0900	[thread overview]
Message-ID: <b9y7jtnuwlf.fsf@jpl.org> (raw)
In-Reply-To: <m3lli3u71o.fsf@water.tss.usg.edu>

>>>>> In <m3lli3u71o.fsf@water.tss.usg.edu>
>>>>>	Mark Plaksin <happy@mcplaksin.org> wrote:

> Katsumi Yamaoka <yamaoka@jpl.org> writes:

>> If you create a new server by copying of it using the `c'
>> command, you will be able to edit it.  It is stored in the
>> gnus-server-alist variable and saved in the .newsrc.eld file.

> ...

>> The server made using the B command in the Group buffer is
>> stored in gnus-opened-servers, but not in gnus-server-alist.
>> Only gnus-server-alist is stored in the .newsrc.eld file.  Even
>> so, the "nnimap+server:group" entry in gnus-newsrc-alist should
>> have the server information.  However, if you kill the group,
>> the server information will be lost eternally.

> Do you know the reason for this difference?  I've been confused by this
> before and never understood why there were two places/ways to store group
> information.

Although it is no better than a guess, it may have been sufficient
that each group had server information separately, in the ancient
times where using of foreign servers was not common.  Then, it may
have become the present style by adding various features.

> When we changed the service name for our IMAP server, I ended editing
> .newsrc.eld by hand.  The server name was in so many places that was the only
> fast way to make the change.  I expected it to only be in one place.

Oh, I've just done it!  Please see:

http://article.gmane.org/gmane.emacs.gnus.general/57908

It is required that the server is being stored in gnus-server-alist.
When you edited the server in the Server buffer, the changes you
made will be propagated to all the foreign groups which use the
server.

Using gnus-secondary-select-methods is also a good choice.  In
that case, each foreign group entry in the .newsrc.eld file will
have a tag like "nnimap:server" which points to the full-spec of
the server defined in gnus-secondary-select-methods.
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



      reply	other threads:[~2004-07-01 23:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-30 20:18 David S Goldberg
2004-07-01  5:14 ` Katsumi Yamaoka
2004-07-01 13:22   ` David S Goldberg
2004-07-14 14:22     ` David S Goldberg
2004-07-01 14:38   ` Mark Plaksin
2004-07-01 23:38     ` Katsumi Yamaoka [this message]

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=b9y7jtnuwlf.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    /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).