From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62843 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.gnus.general Subject: Re: [spam.el] Problem with obtaining the spam score for CRM114 Date: Sun, 16 Apr 2006 08:45:34 +0900 Message-ID: <8764laz9lt.fsf@catnip.gol.com> References: <877j5rvykm.fsf@nabla.local> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1145145021 683 80.91.229.2 (15 Apr 2006 23:50:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Apr 2006 23:50:21 +0000 (UTC) Original-X-From: ding-owner+m11370@lists.math.uh.edu Sun Apr 16 01:50:20 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FUuWx-00012k-92 for ding-account@gmane.org; Sun, 16 Apr 2006 01:50:19 +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 1FUuWr-0002qs-00; Sat, 15 Apr 2006 18:50:13 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FUuWj-0002qn-00 for ding@lists.math.uh.edu; Sat, 15 Apr 2006 18:50:05 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FUuWi-0001lZ-2Y for ding@lists.math.uh.edu; Sat, 15 Apr 2006 18:50:05 -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 1FUuWh-0006AL-00 for ; Sun, 16 Apr 2006 01:50:03 +0200 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FUuWf-000122-Sx for ding@gnus.org; Sun, 16 Apr 2006 01:50:01 +0200 Original-Received: from 203-216-101-205.dsl.gol.ne.jp ([203.216.101.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Apr 2006 01:50:01 +0200 Original-Received: from miles by 203-216-101-205.dsl.gol.ne.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Apr 2006 01:50:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 13 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 203-216-101-205.dsl.gol.ne.jp System-Type: i686-pc-linux-gnu Cancel-Lock: sha1:y+c5Uiz0VYhcE/OHevzaF5U3egQ= X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62843 Archived-At: joao.cachopo@inesc-id.pt (João Cachopo) writes: > + (cond > + ((eq header 'X-Spam-Status) ... > + ;; for CRM checking, it's probably faster to just do the string match > + ((and spam-use-crm114 (string-match "( pR: \\([0-9.-]+\\)" header-content)) Faster to do a string match than eq?!? Seems unlikely... -miles -- `There are more things in heaven and earth, Horatio, Than are dreamt of in your philosophy.'