Package: spambayes
Version: 1.0.3-1
Severity: minor

The included spambayes.el file in the /usr/share/doc/spambayes/contrib
directory includes directions to set up gnus to work with
spambayes. They use a elisp function gnus-sum-load-hook that do not
seem to exist, and therefore you do not get the expected key bindings
to work as stated in the spambayes.el file.

The solution is to change gnus-sum-load-hook to
gnus-summary-mode-hook.

A diff is supplied:

*** spambayes.el        2005-11-26 15:22:32.000000000 +0100
--- /home/niels/elisp/spambayes.el      2005-11-26 15:03:12.000000000 +0100
***************
*** 25,31 ****
  ;; To install, just drop this file in your load path, and insert the
  ;; following lines in ~/.gnus:
  ;;
! ;; (setq gnus-sum-load-hook
  ;;   (lambda ()
  ;;     (require 'spambayes)
  ;;     (define-key gnus-summary-mode-map [(B) (s)] 
'spambayes-gnus-refile-as-spam)
--- 25,31 ----
  ;; To install, just drop this file in your load path, and insert the
  ;; following lines in ~/.gnus:
  ;;
! ;; (setq gnus-summary-mode-hook
  ;;   (lambda ()
  ;;     (require 'spambayes)
  ;;     (define-key gnus-summary-mode-map [(B) (s)] 
'spambayes-gnus-refile-as-spam)

I am using gnus_5.10.6-0.CVS.20050317-1

regards
Niels

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=da_DK, LC_CTYPE=da_DK (charmap=ISO-8859-1)

Versions of packages spambayes depends on:
ii  python                        2.3.5-2    An interactive high-level object-o

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to