* [PATCH] Do less processing before feeding to bogofilter
@ 2002-12-31 6:39 Michael Shields
2002-12-31 12:26 ` Ted Zlatanov
0 siblings, 1 reply; 2+ messages in thread
From: Michael Shields @ 2002-12-31 6:39 UTC (permalink / 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Do less processing before feeding to bogofilter
2002-12-31 6:39 [PATCH] Do less processing before feeding to bogofilter Michael Shields
@ 2002-12-31 12:26 ` Ted Zlatanov
0 siblings, 0 replies; 2+ messages in thread
From: Ted Zlatanov @ 2002-12-31 12:26 UTC (permalink / raw)
Cc: ding
On Tue, 31 Dec 2002, shields@msrl.com wrote:
> 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.
Applied, thanks.
Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-31 12:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-31 6:39 [PATCH] Do less processing before feeding to bogofilter Michael Shields
2002-12-31 12:26 ` Ted Zlatanov
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).