Gnus development mailing list
 help / color / mirror / Atom feed
From: Mark Plaksin <happy@mcplaksin.org>
Subject: Why is server configuration stored in multiple places?
Date: Wed, 05 Oct 2005 15:00:54 -0400	[thread overview]
Message-ID: <87zmpn6b6h.fsf@stone.tss.usg.edu> (raw)

My IMAP servers, and all their parameters, are defined in
gnus-secondary-select-methods, in each nnimap entry in .newsrc.eld, *and*
in .newsrc.eld's gnus-servers-alist.  It would be better if each server
were only defined once.  As-is, I have trouble changing IMAP servers when I
want to do testing.  I always forget about one of those three places the
first time around and have to go hunting.

Also, at least with nnimap, the server definition in
gnus-secondary-select-methods must exactly match the ones in .newsrc.eld.
If they don't, the IMAP groups are considered foreign and this causes the
new mail check to be slow.  When they match exactly, nnimap uses IMAP's
'STATUS' command to check for new mail.  When they don't match there are no
warnings or errors but it uses a slower method.

I asked this question a while back and Katsumi said it might just be
historical:
http://article.gmane.org/gmane.emacs.gnus.general/58039

Simon recently suggested that it wouldn't be too hard to get rid of
.newsrc.eld:
http://article.gmane.org/gmane.emacs.gnus.general/60983

I don't know enough to know whether getting rid of .newsrc.eld would help
this problem though.

Thanks for any insight!




                 reply	other threads:[~2005-10-05 19:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87zmpn6b6h.fsf@stone.tss.usg.edu \
    --to=happy@mcplaksin.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).