From: lorentey@elte.hu (Lőrentey Károly)
Subject: Typo in spam-check-bogofilter
Date: Tue, 09 Dec 2003 02:44:02 +0100 [thread overview]
Message-ID: <lorentey.l.ding.87he0apxy5.elte@eris.elte.hu> (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
next reply other threads:[~2003-12-09 1:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-09 1:44 Lőrentey Károly [this message]
2003-12-09 2:13 ` Bill White
2003-12-09 6:41 ` Xavier Maillard
2003-12-09 22:52 ` 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=lorentey.l.ding.87he0apxy5.elte@eris.elte.hu \
--to=lorentey@elte.hu \
/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).