From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58044 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Foreign server info? Date: Fri, 02 Jul 2004 08:38:36 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088725137 4625 80.91.224.253 (1 Jul 2004 23:38:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2004 23:38:57 +0000 (UTC) Original-X-From: ding-owner+M6585=ding+2Daccount=gmane.org@lists.math.uh.edu Fri Jul 02 01:38:51 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BgB8k-0006s9-00 for ; Fri, 02 Jul 2004 01:38:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BgB8j-0006kh-04 for ding-account@gmane.org; Thu, 01 Jul 2004 18:38:49 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BgB8c-0006kZ-00 for ding@lists.math.uh.edu; Thu, 01 Jul 2004 18:38:42 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BgB8b-0005LB-6f for ding@lists.math.uh.edu; Thu, 01 Jul 2004 18:38:41 -0500 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id 8F9463A004B for ; Thu, 1 Jul 2004 18:38:40 -0500 (CDT) Original-Received: from yamaoka by washington.hostforweb.net with local (Exim 4.34) id 1BgB8e-0001Il-Cq for ding@gnus.org; Thu, 01 Jul 2004 19:38:44 -0400 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:LDMH/Gomw8brVUF6zoORcL5rzys= X-Hashcash: 0:040701:ding@gnus.org:2b047a04e73e7692 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [32041 32041] / [47 12] X-AntiAbuse: Sender Address Domain - washington.hostforweb.net X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58044 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58044 >>>>> In >>>>> Mark Plaksin wrote: > Katsumi Yamaoka 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