Gnus development mailing list
 help / color / mirror / Atom feed
From: Kevin Greiner <kgreiner@xpediantsolutions.com>
Subject: Re: [PATCH]: Do not fetch nnrss url when unplugged
Date: Tue, 09 Mar 2004 20:50:16 -0600	[thread overview]
Message-ID: <uvflda00n.fsf@xpediantsolutions.com> (raw)
In-Reply-To: <loom.20040309T163913-702@post.gmane.org>

Xavier Maillard <zedek@gnu-rox.org> writes:

> Kevin Greiner <kgreiner <at> xpediantsolutions.com> writes:
>
>> 
>> Xavier Maillard <zedek <at> 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




  reply	other threads:[~2004-03-10  2:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-05  7:58 Xavier Maillard
2004-03-08 15:31 ` Kevin Greiner
2004-03-09 15:41   ` Xavier Maillard
2004-03-10  2:50     ` Kevin Greiner [this message]
2004-03-10 10:06       ` Xavier Maillard

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=uvflda00n.fsf@xpediantsolutions.com \
    --to=kgreiner@xpediantsolutions.com \
    /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).