From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55365 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: Agent add servers twice? Date: Mon, 29 Dec 2003 21:52:07 -0600 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 1072756364 23399 80.91.224.253 (30 Dec 2003 03:52:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2003 03:52:44 +0000 (UTC) Original-X-From: ding-owner+M3905@lists.math.uh.edu Tue Dec 30 04:52:40 2003 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 1AbAvv-0006Ty-00 for ; Tue, 30 Dec 2003 04:52:39 +0100 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 1AbAve-0004lb-00; Mon, 29 Dec 2003 21:52:22 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AbAvZ-0004lW-00 for ding@lists.math.uh.edu; Mon, 29 Dec 2003 21:52:17 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 058923A004E for ; Mon, 29 Dec 2003 21:52:16 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1AbAvX-0007kJ-00 for ; Tue, 30 Dec 2003 04:52:15 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 67 Original-NNTP-Posting-Host: dialup-216-12-206-172.ev1.net Original-X-Trace: quimby.gnus.org 1072756335 29778 216.12.206.172 (30 Dec 2003 03:52:15 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Tue, 30 Dec 2003 03:52:15 +0000 (UTC) User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:UlejxGINxYjE7GTxGjK/fCgQwG8= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55365 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55365 Simon Josefsson writes: > Kevin Greiner writes: > >> Simon Josefsson writes: >> >>> Simon Josefsson writes: >>> >>>> Notice that the server is "news.gmane.org" and not >>>> "nntp:news.gmane.org" which I would expect. I'm replacing all such >>>> occurrences with the fully qualified server name now and checking if >>>> it helps... >> >> This behavior is due to the agent using server names, rather than >> methods, to keep track of the agentized servers. As you noted, your >> configuration provided a server name that was not fully qualified so >> the agent used it. > > Yes. I cannot reproduce this error, so consider it caused by an > earlier problem that corrupted my .newsrc.eld, and now solved. > >>> This helped. To another agent problem: >>> >>> The agent add/remove commands in the server buffer are confused. >>> >>> Starting situation: >>> >>> {nntp:news.nada.kth.se} (opened) >>> >>> That is my native server, i.e.: >>> >>> '(gnus-select-method (quote (nntp "news.nada.kth.se" (nntp-address "localhost") (nntp-port-number 1191)))) >>> >>> I press J a: >>> >>> Entered nntp:news.nada.kth.se into the Agent >>> >>> {nntp:news.nada.kth.se} (opened) >>> >>> Notice no (agent) >>> >>> I press J a again and get >>> >>> Entered nntp:news.nada.kth.se into the Agent >>> >>> {nntp:news.nada.kth.se} (opened) (agent) >>> >>> Now the lib/servers file contain: >>> >>> ("nntp:news.nada.kth.se" "native") >>> >>> Bad... >> >> Interesting, this is further evidence of problems with the method/name >> mapping. I made changes to that code this morning (29 Dec). Have you >> updated to the latest CVS since then? > > Yes, I'm running latest CVS now, and I was able to reproduce it again. > The first J a add "native" and the second add "nntp:news.nada.kth.se". I'm unable to reproduce this here. When I try to reproduce it, the first 'J a' adds "native" to the list, and the second generates a warning message about the server already being agentized. Would you mind tracing the execution of gnus-agent-add-server? Kevin