From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25015 Path: main.gmane.org!not-for-mail From: Norman Walsh Newsgroups: gmane.emacs.gnus.general Subject: split-fancy problem... Date: Sat, 4 Sep 1999 16:47:53 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <9690-Sat04Sep1999164753-0400-ndw@nwalsh.com> Reply-To: Norman Walsh NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035162478 11802 80.91.224.250 (21 Oct 2002 01:07:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:07:58 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA28513 for ; Sat, 4 Sep 1999 16:50:40 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id PAB05046; Sat, 4 Sep 1999 15:48:58 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 04 Sep 1999 15:48:55 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id PAA00618 for ; Sat, 4 Sep 1999 15:48:44 -0500 (CDT) Original-Received: from nexus.berkshire.net (nexus.berkshire.net [206.72.196.10]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA28448 for ; Sat, 4 Sep 1999 16:47:58 -0400 (EDT) Original-Received: from nwalshpc.berkshire.net (nwalshpc.nwalsh.com [140.186.114.234]) by nexus.berkshire.net (8.9.2/8.9.2) with ESMTP id QAA17267 for ; Sat, 4 Sep 1999 16:47:55 -0400 (EDT) X-Mailer: emacs 20.4.1 (via feedmail 7 I) Original-To: ding@gnus.org X-URL: http://nwalsh.com/ Original-Lines: 132 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25015 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25015 Hello world, I decided to try to get split-fancy working today. Mostly because I'd like to write to both an archive folder and an appropriate subject folder. (But also because every time I learn a new gnus feature, I think the world becomes a brighter place...) I'm not getting the results I expect, and I figure it's a thinko or a typo on my part. Anyone care to inspect the following split-fancy code and tell me what stupid thing I've done wrong? (defun nwalsh-incoming-group () (format-time-string "archive.%Y-%m")) (setq nnmail-split-methods 'nnmail-split-fancy) (setq nnmail-split-fancy '(& (: nwalsh-incoming-group) (| (| ("subject" "Returned mail: User unknown" "spam") ("subject" "adults only" "spam") ("subject" "EARN" "spam") ("subject" "money making" "spam") ("subject" "credit report" "spam")) (any "LETPRESS@" "letterpress") (any "ding@" "emacs.ding") (any "ntemacs-users@" "emacs.ntemacs") (any "twg-tds@" "tds") (any "debian-user" "debian") (any "debian-announce" "debian-announce") (any "www-font" "www-font") (| (any "owner-davenport@" "davenport.admin") (any "davenport-approval@" "davenport.admin")) (any "davenport" "davenport") (any "docbook-eb" "docbook-eb") (any "docbook-tc" "docbook-tc") (| (any "cron" "cron") ("subject" "Output from .*cron.* command" "cron")) ("subject" "comp\.fonts" "fonts") (any "regrep@.*oasis-open.org" "oasis.regrep") (any "tables@.*oasis-open.org" "oasis.tables") (any "w3c-dom-ig@" "w3c-dom-ig") (any "w3c-xsl-wg@" "w3c-xsl-wg") (any "w3c-xsl-fo-sg@" "w3c-xsl-fo-sg") (any "spec-prod@w3.org" "w3c-spec-prod") (any "w3c-format@w3.org" "w3c-format") (any "xsl-list@" "xsl-list") (any "xml-dev@" "xml-dev") (any "dssslist" "dssslist") (| (any "adepters-digest@" "adepters") (any "adepters@" "adepters")) (| ("subject" " Checkins" "arbortext.buildmsgs") ("subject" " Build Log" "arbortext.buildmsgs") ("subject" " Install Log" "arbortext.buildmsgs") ("subject" " Nightly Build Complete" "arbortext.buildmsgs") ("subject" " develbuild log" "arbortext.buildmsgs")) ("subject" "nwalsh timesheet" "arbortext.timesheets") (any "peppermint@arbortext" "arbortext.peppermint") (any "peppermint-arch@arbortext" "arbortext.peppermint-arch") (any "epic-devel@arbortext" "arbortext.epic-devel") (any "epic-lessons@arbortext" "arbortext.epic-lessons") (any "dtd-epic@arbortext" "arbortext.dtd-epic") (any "w3c-team@arbortext" "arbortext.w3c-team") (any "w3c-people@arbortext" "arbortext.w3c-people") (any "groves@arbortext" "arbortext.groves") (any "xml@arbortext" "arbortext.xml") (any "elmtalk@arbortext" "arbortext.elmtalk") (any "ask-ati@arbortext" "arbortext.ask-ati") (any "vantive@arbortext" "arbortext.vantive") (any "appdev-acl@arbortext" "arbortext.appdev-acl") (any "appdev@arbortext" "arbortext.appdev") (any "engin@arbortext" "arbortext.engin") (any "xsl-support@arbortext" "arbortext.xsl-support") (any "schema-support@arbortext" "arbortext.schema-support") (any "htmlhelp@arbortext" "arbortext.htmlhelp") (| (any "askeve@arbortext" "arbortext.thinktank") (any "asknorm@arbortext" "arbortext.thinktank") (any "askpaul@arbortext" "arbortext.thinktank")) (| (any "arbortext" "arbortext") (any "doctools" "arbortext") ("message-id" "doctools" "arbortext")) (any "sgml-tools" "sgml-tools") (any "wordsmith.org" "wordsmith") (any "unicode@" "unicode") (from "majordomo" "list-admin") (any "perl-xml-docs" "perl-xml-docs") (any "perl-xml" "perl-xml") (any "silent-tristero" "silent-tristero") (| (from "@ora\.com" "ora") (from "@oreilly\.com" "ora") (from "@songline\.com" "ora")) (any "bbdb-info" "bbdb-info") (| (any "norm@berkshire\.net") (any "ndw@nwalsh\.com")) "spam"))) With this split, everything goes in archive.1999-09, but no where else. If I take out the initial (& and use simply: (setq nnmail-split-fancy '(| (| ("subject" "Returned mail: User unknown" "spam") ("subject" "adults only" "spam") ("subject" "EARN" "spam") ("subject" "money making" "spam") ("subject" "credit report" "spam")) (any "LETPRESS@" "letterpress") .... Then some things get split properly but others don't. Consider, for example, a message with the headers: From: Bob Richardson Subject: POLK'S BOOK To: LETPRESS@hermes.csd.unb.ca Date: Sat, 4 Sep 1999 08:41:47 EDT X-Sent: 8 hours, 3 minutes, 17 seconds ago Reply-To: Letterpress Discussion List In a message dated 03/09/99 03:33:08 GMT Daylight Time, BSimon999@AOL.COM writes: I would have expected that to go in the letterpress folder, but it wound up in "spam". Anyone see the error(s) of my ways? Cheers, norm -- Norman Walsh | What good is a can of worms if you http://nwalsh.com/ | never open it?--Bob Arning