Gnus development mailing list
 help / color / mirror / Atom feed
* Typo in spam-check-bogofilter
@ 2003-12-09  1:44 Lőrentey Károly
  2003-12-09  2:13 ` Bill White
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lőrentey Károly @ 2003-12-09  1:44 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 241 bytes --]


I believe there is a small typo in spam-check-bogofilter which causes
the function to always return nil.  Spam-check-bogofilter-headers
should be called in the temporary buffer that contains the X-Bogosity
line, not in the article buffer:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: spam-check-bogofilter typo --]
[-- Type: text/x-patch, Size: 637 bytes --]

Index: spam.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/spam.el,v
retrieving revision 6.139
diff -u -r6.139 spam.el
--- spam.el	7 Dec 2003 15:39:13 -0000	6.139
+++ spam.el	9 Dec 2003 01:36:28 -0000
@@ -1539,8 +1555,8 @@
 		 (point-min) (point-max) 
 		 spam-bogofilter-path
 		 nil temp-buffer-name nil
-		 (if db `("-d" ,db "-v") `("-v")))
-	  (setq return (spam-check-bogofilter-headers score)))))
+		 (if db `("-d" ,db "-v") `("-v"))))
+	(setq return (spam-check-bogofilter-headers score))))
     return))
 
 (defun spam-bogofilter-register-with-bogofilter (articles 

[-- Attachment #3: Type: text/plain, Size: 15 bytes --]


-- 
Károly

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-12-09 22:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-09  1:44 Typo in spam-check-bogofilter Lőrentey Károly
2003-12-09  2:13 ` Bill White
2003-12-09  6:41 ` Xavier Maillard
2003-12-09 22:52 ` 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).