Function: spam-bogofilter-score

spam-bogofilter-score is an interactive and byte-compiled function defined in spam.el.gz.

Signature

(spam-bogofilter-score &optional RECHECK)

Documentation

Get the Bogofilter spamicity score.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/spam.el.gz
;; return something sensible if the score can't be determined
(defun spam-bogofilter-score (&optional recheck)
  "Get the Bogofilter spamicity score."
  (interactive "P" gnus-summary-mode)
  (save-window-excursion
    (gnus-summary-show-article t)
    (set-buffer gnus-article-buffer)
    (let ((score (or (unless recheck
                       (spam-check-bogofilter-headers t))
                     (spam-check-bogofilter t))))
      (gnus-summary-show-article)
      (message "Spamicity score %s" score)
      (or score "0"))))