From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54069 Path: main.gmane.org!not-for-mail From: Ted Stern Newsgroups: gmane.emacs.gnus.general Subject: Re: How to load spam.el just for gmane reporting? Date: Thu, 25 Sep 2003 13:27:10 -0700 Organization: Cray Inc. Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87d6do7kd4.fsf@doohan.bang.priv.no> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064521678 2349 80.91.224.253 (25 Sep 2003 20:27:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2003 20:27:58 +0000 (UTC) Original-X-From: ding-owner+M2610@lists.math.uh.edu Thu Sep 25 22:27:56 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A2ciS-0004YP-00 for ; Thu, 25 Sep 2003 22:27:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1A2chu-0002Nc-00; Thu, 25 Sep 2003 15:27:22 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1A2chm-0002NC-00 for ding@lists.math.uh.edu; Thu, 25 Sep 2003 15:27:14 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id BB1513A0093 for ; Thu, 25 Sep 2003 15:27:12 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A2chD-00087e-00 for ; Thu, 25 Sep 2003 22:26:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A2chC-00087W-00 for ; Thu, 25 Sep 2003 22:26:38 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A2chj-0000ab-00 for ; Thu, 25 Sep 2003 22:27:11 +0200 Original-Lines: 45 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (usg-unix-v) Cancel-Lock: sha1:yOZg8BbAxRZsKPtSpcujEr3oqY4= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54069 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54069 On 25 Sep 2003, Steinar Bang wrote: > The manual says the following about loading the spam.el package: > > ...So you should load `spam.el' after you set one of the > `spam-use-*' variables: > > (setq spam-use-bogofilter t) > (require 'spam) > > But what if I just wish to load this package for use with the gmane > groups? There is no spam-use-gmane variable. At least none that I > could find? > > Thanx! > > > - Steinar Here's what I do: In .gnus: ;; Set up spam reporting (require 'spam) (require 'spam-report) I put all my Gmane groups in a single Topic. Then I customize group parameters for the Topic ("G p" on the "Gmane" topic line in the *Group* buffer): ((spam-process (gnus-group-spam-exit-processor-report-gmane))) If there is any extra overhead for having all the other spam stuff in there, I don't notice it. Ted -- Ted Stern Applications Group Cray Inc. office: 206-701-2182 411 First Avenue South, Suite 600 cell: 206-383-1049 Seattle, WA 98104-2860 FAX: 206-701-2500 Frango ut patefaciam -- I break that I may reveal (The Paleontological Society motto, equally apropos for debugging)