(defun tfheen-mark-as-spam ()
(interactive)
-; (gnus-summary-pipe-message "sa-learn --spam --single")
- (gnus-summary-pipe-message (expand-file-name "~/bin/sa-learnd"))
- (gnus-summary-move-article nil "nnml:spam"))
+ (let ((gnus-inhibit-treatment t)
+ (mm-text-html-renderer 'lynx))
+ (gnus-summary-pipe-message "sa-learn --spam --single")
+ (gnus-summary-pipe-message (expand-file-name "~/bin/sa-learnd"))
+ (gnus-summary-move-article nil "nnml:spam")
+ (gnus-summary-next-subject 1)))
(cw/for-host "yiwaz"
(define-key gnus-summary-backend-map "s" 'tfheen-mark-as-spam)