From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81656 Path: news.gmane.org!not-for-mail From: Russ Allbery Newsgroups: gmane.emacs.gnus.general Subject: Re: sometime splits Date: Tue, 27 Mar 2012 13:16:03 -0700 Organization: The Eyrie Message-ID: <87limlpzp8.fsf@windlord.stanford.edu> References: <87obrhnayk.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1332879434 6443 80.91.229.3 (27 Mar 2012 20:17:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Mar 2012 20:17:14 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29936@lists.math.uh.edu Tue Mar 27 22:17:12 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SCcpG-0001Nm-QH for ding-account@gmane.org; Tue, 27 Mar 2012 22:17:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1SCcoR-0005Qz-KM; Tue, 27 Mar 2012 15:16:15 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SCcoQ-0005Qn-9s for ding@lists.math.uh.edu; Tue, 27 Mar 2012 15:16:14 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SCcoP-0003Mo-1p for ding@lists.math.uh.edu; Tue, 27 Mar 2012 15:16:13 -0500 Original-Received: from smtp5.stanford.edu ([171.67.219.78] helo=smtp.stanford.edu) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SCcoM-0001tn-UI for ding@gnus.org; Tue, 27 Mar 2012 22:16:11 +0200 Original-Received: from smtp.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id D6116180B49 for ; Tue, 27 Mar 2012 13:16:04 -0700 (PDT) Original-Received: from windlord.stanford.edu (windlord.Stanford.EDU [171.67.225.134]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.stanford.edu (Postfix) with ESMTPS id 97EB6180B8D for ; Tue, 27 Mar 2012 13:16:03 -0700 (PDT) Original-Received: by windlord.stanford.edu (Postfix, from userid 1000) id 73F1F2F4DE; Tue, 27 Mar 2012 13:16:03 -0700 (PDT) In-Reply-To: <87obrhnayk.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 27 Mar 2012 19:41:07 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81656 Archived-At: Eric Abrahamsen writes: > I'm having an irritating issue where one type of common email message > gets split incorrectly. I run a website that emails me automatically > with spam notifications, so I can catch false positives before they're > automatically deleted. The top of my `nnmail-split-fancy' looks like > this: > '(| > ("From" "info@paper-republic.org" > (| ("Subject" "\\[Paper Republic\\]" This kept catching me too. You have to be careful about regexes; Gnus adds an implicit word boundary on either end of the regex, but Emacs doesn't consider the transition from a non-alphanumeric to another non-alphanumeric to be a word boundary. So if your regex begins or ends with some non-alphanumeric characters, the regex won't match the way you expect. Short version: change that to ".*\\[Paper Republic\\].*" and I bet it will start working. -- Russ Allbery (rra@stanford.edu)