From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60901 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Piping an article, imap numbering Date: Mon, 05 Sep 2005 15:43:23 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <878xyb8zxg.fsf@myxomop.com> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1125930153 18347 80.91.229.2 (5 Sep 2005 14:22:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Sep 2005 14:22:33 +0000 (UTC) Original-X-From: ding-owner+m9433=ding+2daccount=gmane.org@lists.math.uh.edu Mon Sep 05 16:22:23 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ECHpD-0003tD-HS for ding-account@gmane.org; Mon, 05 Sep 2005 16:19:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1ECHpC-0004XV-02 for ding-account@gmane.org; Mon, 05 Sep 2005 09:19:54 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1ECHmJ-0004W5-00 for ding@lists.math.uh.edu; Mon, 05 Sep 2005 09:16:55 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1ECHmG-0007dd-5e for ding@lists.math.uh.edu; Mon, 05 Sep 2005 09:16:54 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ECHmE-0003G3-00 for ; Mon, 05 Sep 2005 16:16:50 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ECHl1-0002cY-7i for ding@gnus.org; Mon, 05 Sep 2005 16:15:35 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Sep 2005 16:15:35 +0200 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Sep 2005 16:15:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 21 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.;yo.b yq4$p;ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Copies-To: nobody User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:7GpkJ9AHMUNCaD3jvi2siLc5NeU= X-Spam-Score: -1.8 (-) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60901 Archived-At: On Mon, Sep 05 2005, Alexander Kotelnikov wrote: > So once a certain period I want all this mail to be piped to > "sa-learn --spam", marked as read and moved to a spam mailbox (I do > not delete them in case of mistake). I wrote a function that helps > me but I believe it is not completely elegant: > > (defun my-gnus-sa-learn-and-move(&optional n) [...] I don't quite understand why people prefer to use their own functions instead of using the Gnus builtin features, see (info "(gnus)SpamAssassin back end") and more general (info "(gnus)Filtering Spam Using The Spam ELisp Package"). If there are problems with the code or the documentation, I'm quite sure the Ted is willing to improve it. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/