From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57143 Path: main.gmane.org!not-for-mail From: Didier Verna Newsgroups: gmane.emacs.gnus.general Subject: spam.el simplified but wrong logic Date: Tue, 27 Apr 2004 12:39:48 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1083081920 19161 80.91.224.253 (27 Apr 2004 16:05:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2004 16:05:20 +0000 (UTC) Original-X-From: ding-owner+M5683@lists.math.uh.edu Tue Apr 27 18:05:08 2004 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 1BIV52-0001eY-00 for ; Tue, 27 Apr 2004 18:05:08 +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 1BIV4G-0005et-00; Tue, 27 Apr 2004 11:04:20 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BIV47-0005el-00 for ding@lists.math.uh.edu; Tue, 27 Apr 2004 11:04:11 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BIV46-0001pO-Dq for ding@lists.math.uh.edu; Tue, 27 Apr 2004 11:04:10 -0500 Original-Received: from deliver.epitech.net (deliver.epitech.net [163.5.0.25]) by justine.libertine.org (Postfix) with SMTP id 398793A003F for ; Tue, 27 Apr 2004 11:04:06 -0500 (CDT) Original-Received: from epita.fr ([10.42.1.60]) by deliver.epitech.net (SAVSMTP 3.1.2.35) with SMTP id M2004042717491007165 for ; Tue, 27 Apr 2004 17:49:10 +0200 Original-Received: from kualalumpur.lrde.epita.fr (kualalumpur.lrde.epita.fr [10.223.13.1]) by epita.fr id i3RAe4523349 for EPITA Paris France Tue, 27 Apr 2004 12:40:04 +0200 (CEST) Original-Received: from debian.lrde.epita.fr ([10.223.13.53] helo=uzeb.lrde.epita.fr ident=mail) by kualalumpur.lrde.epita.fr with esmtp (Exim 3.36 #1 (Debian)) id 1BIQ0U-0005aP-00 for ; Tue, 27 Apr 2004 12:40:06 +0200 Original-Received: from didier by uzeb.lrde.epita.fr with local (Exim 3.36 #1 (Debian)) id 1BIQ0C-0002aq-00 for ; Tue, 27 Apr 2004 12:39:48 +0200 Original-To: Gnus Beta Testers X-Attribution: dvl X-Url: http://www.lrde.epita.fr/~didier X-Web: http://www.lrde.epita.fr/~didier X-Home-Page: http://www.lrde.epita.fr/~didier Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEWwh27v2MlyUDgqFwjw 8u/htpump+mYAAACGElEQVR4nE2Uy47jIBBFy6TZhwjv6WK8t7BmH0ZkX3Q3//8rcwuDO0hRbA51 qafJl1LudIy14a1k/Bzpg/AE6aOcKytYr/1hokuB6A5jRfz/vIEv1SAsA7K5C7gbztvWlODEcgH/ fYTWmqgNTIK/wEPPn4gvk375ua9i0DqCm8D8AtXa2wCZFFTXtaI66E/wCgqcWxV0rZ8TPBVUBUMr 1AlaW9/BPsCdIATgLoufN9DXGXwaIN9tBwWg377TBKRXe1daT+QR5FdqVYvVMGuGrXyMOEiV8hoD DISibcsMUEE1wXbA1D5nSnBFvTNFSAHY9ncARO6cyPYgOE68yQAveG7raoJY28FjSh0xhbY207MM cPszm2FnqprbXhPmY7hbnruhZQXSogCkWagXK2ggmi5OE6C2rEDjbx1MqSJBFle1jE2EE39ewIrV MlktO8A2wUPskkebUEzRTPAksa6tFsAiMZH9ABnAI3SCFwqSzycoRKGKDoJKIZA6LMqXYdFdrQgm JdkJnnjZ4JE1aGsYWj9ADoZxGrcb7hbe0xgTTECvhokJWQzVDfCPtaRNDFyiGJOdIMeAslqdwhQY bbEMUL6RerKCZmeTogZ07vtXwvVWvwTBpCQXyDkiCORc59rshpMOZ/FZ6Kb76PVg6IZsHeSzz9ng 7mR6qxMe44FIkS8n6kfk0+DYAkIXQnfeQzhIEIAawAdGt7b/oUTI2TlpiCsAAAAASUVORK5CYII= X-Face: $WqW3Talo|d7.X=,s09Mc/!A7!Af|.N>c}`0=YwX?8"Q RJ72a;cibzeuo%HU9OH^nWI\7y#Q9Hke;j8ym4oCjM'DcM{;WZ]QQMfR1^&K )]n-*\N`MZ:L2~{j0WGD_%tt':hVZR:YM^$V8 Mail-Copies-To: never User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Security Through Obscurity, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57143 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57143 Hi ! I think there's a bug introduced by: 2004-04-16 Teodor Zlatanov * spam.el (spam-summary-prepare-exit): simplified logic on the following part of the code: ,---- | (unless (and spam-move-spam-nonspam-groups-only | (not (spam-group-spam-contents-p gnus-newsgroup-name))) | (gnus-message 5 "Marking spam as expired and moving it to %s" | gnus-newsgroup-name) | (spam-mark-spam-as-expired-and-move-routine | (gnus-parameter-spam-process-destination gnus-newsgroup-name))) `----- The "logic" should rather be:=20 (unless (and spam-move-spam-nonspam-groups-only (spam-group-spam-contents-p gnus-newsgroup-name)) ... right ? I can apply a patch if you whish. --=20 Didier Verna, didier@lrde.epita.fr, http://www.lrde.epita.fr/~didier EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 44 08 01 85 94276 Le Kremlin-Bic=EAtre, France Fax.+33 (1) 53 14 59 22 didier@xemac= s.org