From: Andreas Seltenreich <andreas+ding@gate450.dyndns.org>
Cc: Kevin Greiner <kevin.greiner@compsol.cc>
Subject: The Agent vs. gnus-find-method-for-group (was: backporting bugfixes to the v5-10 branch)
Date: Wed, 23 Aug 2006 09:20:55 +0200 [thread overview]
Message-ID: <873bbnnciw.fsf@gate450.dyndns.org> (raw)
In-Reply-To: <87wta86vzr.fsf@gate450.dyndns.org>
Andreas Seltenreich writes:
> Btw, testing with the agent enabled revealed two places where
> g-f-m-f-g is called on groups after their prefix has been stripped,
> causing the native method to be returned. I don't think this is
> intentional, is it?
I didn't dig very deep into this, and am far from understanding how
the agent does its magic, but nevertheless some updates:
> Debugger entered: ("g-f-m-f-g called on unknown group")
> [...]
> gnus-find-method-for-group("mailings.pgsql.general")
> gnus-agent-get-local("mailings.pgsql.general")
> gnus-agent-possibly-alter-active("mailings.pgsql.general" (1 . 6325))
> gnus-agent-regenerate-group("nnpg+lists:mailings.pgsql.general" nil)
> gnus-agent-regenerate(nil)
> call-interactively(gnus-agent-regenerate)
> execute-extended-command(nil)
> call-interactively(execute-extended-command)
ISTM this causes the agent to look for the group's data in the native
method's directory (via gnus-agent-load-local).
There seems to be provision for passing the method as separate
argument to gnus-agent-get-local to avoid a call to g-f-m-f-g on
prefix-stripped groups in both, v5-10 and trunk:
--8<---------------cut here---------------start------------->8---
2004-10-18 Kevin Greiner
* gnus-agent.el [...]
[...]
(gnus-agent-get-local): Add optional parameters to avoid calling
gnus-group-real-name and gnus-find-method-for-group.
--8<---------------cut here---------------end--------------->8---
Maybe gnus-command-method should be passed as a third argument in
gnus-agent-possibly-alter-active?
Curiously, I'm unable to observe any adverse effects when regenerating
groups or moving/copying articles, so maybe I'm missing something...
Thanks,
andreas
next prev parent reply other threads:[~2006-08-23 7:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-11 22:24 backporting bugfixes to the v5-10 branch Andreas Seltenreich
2006-07-17 17:52 ` Reiner Steib
2006-07-20 17:12 ` Andreas Seltenreich
2006-08-22 7:24 ` Andreas Seltenreich
2006-08-22 13:59 ` Reiner Steib
2006-08-23 4:20 ` Andreas Seltenreich
2006-08-23 7:20 ` Andreas Seltenreich [this message]
2006-08-25 12:36 ` hook to insert sign command and forwarded messages gdt
2006-08-28 0:49 ` Katsumi Yamaoka
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=873bbnnciw.fsf@gate450.dyndns.org \
--to=andreas+ding@gate450.dyndns.org \
--cc=kevin.greiner@compsol.cc \
/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).