Function: spam-bsfilter-score

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

Signature

(spam-bsfilter-score &optional RECHECK)

Documentation

Get the Bsfilter 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-bsfilter-score (&optional recheck)
  "Get the Bsfilter 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-bsfilter-headers t))
                     (spam-check-bsfilter t))))
      (gnus-summary-show-article)
      (message "Spamicity score %s" score)
      (or score "0"))))