From: Michael Shields <shields@msrl.com>
Subject: [PATCH] Do less processing before feeding to bogofilter
Date: Tue, 31 Dec 2002 06:39:37 +0000 [thread overview]
Message-ID: <87u1guhety.fsf@mulligatwani.msrl.com> (raw)
I sent this patch a few days ago, but mail.gnus.org ate it.
Currently spam-bogofilter-articles uses gnus-summary-select-article to
fetch each article; this runs all sorts of washing hooks to verify PGP
signatures and the like. It is much faster and less interactive to
not do that.
2002-12-19 Michael Shields <shields@msrl.com>
* spam.el (spam-bogofilter-articles): Select the article
body using gnus-summary-show-article t instead of
gnus-summary-select-article; this presents the raw text
without running any hooks.
--- /home/shields/gnus-CURRENT-20021216/lisp/spam.el.orig 2002-12-31 06:38:50.000000000 +0000
+++ /home/shields/gnus-CURRENT-20021216/lisp/spam.el 2002-12-31 06:38:50.000000000 +0000
@@ -525,7 +525,7 @@
(message "%s %d" prefix counter))
(setq article (pop articles))
(gnus-summary-goto-subject article)
- (gnus-summary-select-article)
+ (gnus-summary-show-article t)
(gnus-eval-in-buffer-window article-copy
(insert-buffer-substring gnus-original-article-buffer)
;; Remove spam classification redundant headers: they may induce
--
Shields.
next reply other threads:[~2002-12-31 6:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-31 6:39 Michael Shields [this message]
2002-12-31 12:26 ` 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=87u1guhety.fsf@mulligatwani.msrl.com \
--to=shields@msrl.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).