From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61104 Path: news.gmane.org!not-for-mail From: Mark Plaksin Newsgroups: gmane.emacs.gnus.general Subject: Why is server configuration stored in multiple places? Date: Wed, 05 Oct 2005 15:00:54 -0400 Message-ID: <87zmpn6b6h.fsf@stone.tss.usg.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1128541694 26401 80.91.229.2 (5 Oct 2005 19:48:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2005 19:48:14 +0000 (UTC) Original-X-From: ding-owner+m9636@lists.math.uh.edu Wed Oct 05 21:48:11 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ENFDH-0001s5-6c for ding-account@gmane.org; Wed, 05 Oct 2005 21:46:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1ENFD4-0007De-00; Wed, 05 Oct 2005 14:45:50 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1ENEaS-0007Bo-00 for ding@lists.math.uh.edu; Wed, 05 Oct 2005 14:05:56 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1ENEaL-0004tI-DL for ding@lists.math.uh.edu; Wed, 05 Oct 2005 14:05:56 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ENEaJ-00059H-00 for ; Wed, 05 Oct 2005 21:05:47 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ENEXn-0004pY-V9 for ding@gnus.org; Wed, 05 Oct 2005 21:03:12 +0200 Original-Received: from stone.tss.usg.edu ([168.24.82.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Oct 2005 21:03:11 +0200 Original-Received: from happy by stone.tss.usg.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Oct 2005 21:03:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 26 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: stone.tss.usg.edu User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0 (gnu/linux) Cancel-Lock: sha1:JJ/WVeyp8W8yuCfJ4xpEf3Vxt8U= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61104 Archived-At: 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!