123456789101112131415161718192021222324252627282930 |
- $OpenBSD: patch-README,v 1.1 2007/09/07 08:13:20 aanriot Exp $
- --- README.orig Fri Sep 7 10:02:26 2007
- +++ README Fri Sep 7 10:03:34 2007
- @@ -92,6 +92,25 @@ These will override these commands:
- <Esc>t = test for spamicity.
- <Esc>u = de-register as spam, register as non-spam, and move to inbox folder.
-
- +Alternatively, if you use gnus you could add the following lines to your
- +.gnus to accomplish a similar result:
- +
- +(defun spam ()
- + (interactive)
- + (pipe-message "/usr/local/bin/bmf -S")
- + (gnus-summary-move-article 1 "nnml:Spam"))
- +
- +(defun notspam ()
- + (interactive)
- + (pipe-message "/usr/local/bin/bmf -N")
- + (gnus-summary-move-article 1 "nnml:inbox"))
- +
- +(add-hook
- + 'gnus-sum-load-hook
- + (lambda nil
- + (define-key gnus-summary-mode-map (read-kbd-macro "C-c C-o") 'spam)
- + (define-key gnus-summary-mode-map (read-kbd-macro "C-c C-p") 'notspam)))
- +
- How to train bmf
- ================
-
|