From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56647 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH]: Do not fetch nnrss url when unplugged Date: Tue, 09 Mar 2004 20:50:16 -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 1078887052 2847 80.91.224.253 (10 Mar 2004 02:50:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Mar 2004 02:50:52 +0000 (UTC) Original-X-From: ding-owner+M5186@lists.math.uh.edu Wed Mar 10 03:50:47 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 1B0tnz-0006lm-00 for ; Wed, 10 Mar 2004 03:50:47 +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 1B0tni-0006Xt-00; Tue, 09 Mar 2004 20:50:30 -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 1B0tne-0006Xo-00 for ding@lists.math.uh.edu; Tue, 09 Mar 2004 20:50:26 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 918283A003A for ; Tue, 9 Mar 2004 20:50:25 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1B0tnc-0008VQ-00 for ; Wed, 10 Mar 2004 03:50:24 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 41 Original-NNTP-Posting-Host: dialup-216-12-206-250.ev1.net Original-X-Trace: quimby.gnus.org 1078887024 32699 216.12.206.250 (10 Mar 2004 02:50:24 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 10 Mar 2004 02:50:24 +0000 (UTC) User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:NsiEcQhObOXXNXCX73uhBXROJs4= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56647 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56647 Xavier Maillard writes: > Kevin Greiner xpediantsolutions.com> writes: > >> >> Xavier Maillard gnu-rox.org> writes: >> >> > Hello, >> > >> > As discussed earlier this week, I had to "modify" nnrss.el to allow >> > offline reading of nnrss feeds. >> > >> > The patch consists on checking 'gnus-plugged` value and if 't', let >> > fetch-nnrss function fetch the url. >> >> This patch is inappropriate. The variable gnus-plugged should not be >> visible to the backends. Looking back at your previous thread, I > > Oups. I didn't know about that. What is the appropriate way to achieve this task > then ? I don't see anything about agent in 'nnrss.el'. The agent is part of the gnus internals so a backend shouldn't need to directly reference it. >> don't know why you are unable to agentize your nnrss backend. Can you > > In fact when agentizing (ie adding it to the agent), it works partially. But > whenever you try to deagentize it, it fails with an error telling you this was > not handled by the agent. Right now, I don't know whether the agentize server (J a) failed (in which case the J r should fail) or the remove agentized server (J r) is failing as you indicated. Does 'J a' update the server buffer to display '(agent)' after the nnrss server's name? Would you mind doing some lite debugging? I'd like to know the value of named-server in both gnus-agent-add-server and gnus-agent-remove-server. Kevin