From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47559 Path: main.gmane.org!not-for-mail From: Henrik Enberg Newsgroups: gmane.emacs.gnus.general Subject: Re: [alt.religion.emacs] Re: lets get to the bottom of this once and for all Date: Tue, 05 Nov 2002 19:04:06 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <87wunruc4p.fsf@enberg.org> References: <15815.52590.55704.137648@gargle.gargle.HOWL> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036519707 15369 80.91.224.249 (5 Nov 2002 18:08:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2002 18:08:27 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18987k-0003zP-00 for ; Tue, 05 Nov 2002 19:08:24 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18984m-0006uP-00; Tue, 05 Nov 2002 12:05:20 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 05 Nov 2002 12:06:02 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA06654 for ; Tue, 5 Nov 2002 12:05:39 -0600 (CST) Original-Received: (qmail 21888 invoked by alias); 5 Nov 2002 18:04:49 -0000 Original-Received: (qmail 21883 invoked from network); 5 Nov 2002 18:04:48 -0000 Original-Received: from mailb.telia.com (194.22.194.6) by gnus.org with SMTP; 5 Nov 2002 18:04:48 -0000 Original-Received: from d1o1112.telia.com (d1o1112.telia.com [213.67.192.241]) by mailb.telia.com (8.12.5/8.12.5) with ESMTP id gA5I4b63027985; Tue, 5 Nov 2002 19:04:42 +0100 (CET) X-Original-Recipient: ding@gnus.org Original-Received: from rocksteady (h92n2fls32o1112.telia.com [213.65.65.92]) by d1o1112.telia.com (8.10.2/8.10.1) with ESMTP id gA5I4bg24690; Tue, 5 Nov 2002 19:04:37 +0100 (CET) Original-Received: by rocksteady (Postfix, from userid 1000) id B097737B70; Tue, 5 Nov 2002 19:04:26 +0100 (CET) Original-To: Benjamin Lewis In-Reply-To: (Benjamin Lewis's message of "Tue, 05 Nov 2002 09:16:42 -0800") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47559 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47559 Benjamin Lewis writes: > Unfortunately, my "plonk" is currently `C-u 1000 M-i a L a s p ' which > is a bit more unwieldy... and I don't do it often enough to have bothered > to simplify it yet. I have the following in .gnus.el. It saves lusers in ~/News/all.BLACKLIST (defun gnus-summary-blacklist-poster () "Put sender on current line in blacklist." (interactive) (let ((spammer (mail-header-from (gnus-summary-article-header))) (current-score-file gnus-current-score-file)) (when (gnus-news-group-p gnus-newsgroup-name) (gnus-score-change-score-file "all.BLACKLIST") (gnus-summary-score-entry "From" spammer 'S' -1001 nil) (gnus-score-change-score-file current-score-file) (gnus-score-save)))) (eval-after-load "gnus-sum" '(define-key gnus-summary-backend-map (kbd "x") 'gnus-summary-blacklist-poster)) You'll need to add (files "all.BLACKLIST") to all.SCORE. -- Booting... /vmemacs.el