From: Ted Zlatanov <tzz@lifelogs.com>
Subject: bug/feature?: gnus-data-list is not ready in gnus-summary-prepare-hook (was: (gnus-data-list nil) does not give valid data sometimes)
Date: Fri, 09 Jan 2004 13:43:42 -0500 [thread overview]
Message-ID: <4nk741otcx.fsf_-_@collins.bwh.harvard.edu> (raw)
In-Reply-To: <4ny8silyz4.fsf@collins.bwh.harvard.edu> (Ted Zlatanov's message of "Thu, 08 Jan 2004 19:58:23 -0500")
On Thu, 08 Jan 2004, tzz@lifelogs.com wrote:
On Thu, 08 Jan 2004, tzz@lifelogs.com wrote:
>
>> When entering a group the first time, lots of errors are generated
>> above because data-header is nil. After C-g, the next time the
>> group is entered everything is fine. BUT the next time (3rd time)
>> the group is entered, the errors happen again - and so on, this can
>> be repeated forever. I don't use the agent - I'm not sure what's
>> wrong.
>>
>> This, by the way, is called by spam-insert-fake-headers which is
>> called by spam-find-spam; spam-find-spam is hooked on
>> gnus-summary-prepare-hook.
>
> I only see this problem on nntp.perl.org. It does not happen on any
> of my other news servers. It may be a NNTP server issue or a Gnus
> bug.
Hmm, now I got the error in other news servers. I think the
gnus-data-list function is not ready to give me valid data in the
gnus-summary-prepare hook. Can anyone tell me how I can circumvent
this?
The goal is to gather overview data for the articles in the group, so
I can detect if they are spam. I used to retrieve the whole article
in a temporary buffer and run spam detection there, but that is
overkill for most spam-check-* functions. So I'm trying (in
spam-find-spam) to get the overview headers for the unseen/unread
articles in the group.
Thanks
Ted
next prev parent reply other threads:[~2004-01-09 18:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-08 22:51 (gnus-data-list nil) does not give valid data sometimes Ted Zlatanov
2004-01-09 0:58 ` Ted Zlatanov
2004-01-09 18:43 ` Ted Zlatanov [this message]
2004-01-09 21:41 ` bug/feature?: gnus-data-list is not ready in Ted Zlatanov
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=4nk741otcx.fsf_-_@collins.bwh.harvard.edu \
--to=tzz@lifelogs.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).