From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15356 Path: main.gmane.org!not-for-mail From: Eze Ogwuma Newsgroups: gmane.emacs.gnus.general Subject: Re: Splitting mail Date: 23 Jun 1998 17:28:09 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035154402 21674 80.91.224.250 (20 Oct 2002 22:53:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:53:22 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from gwyn.tux.org (gwyn.tux.org [207.96.122.8]) by altair.xemacs.org (8.9.0/8.9.0) with ESMTP id JAA27270 for ; Tue, 23 Jun 1998 09:37:49 -0700 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by gwyn.tux.org (8.8.8/8.8.8) with ESMTP id MAA26409 for ; Tue, 23 Jun 1998 12:33:34 -0400 Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id LAS06176; Tue, 23 Jun 1998 11:06:01 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 23 Jun 1998 11:30:27 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id LAA04059 for ; Tue, 23 Jun 1998 11:30:18 -0500 (CDT) Original-Received: (qmail 18564 invoked by uid 504); 23 Jun 1998 16:29:56 -0000 Original-Received: (qmail 18561 invoked from network); 23 Jun 1998 16:29:55 -0000 Original-Received: from th-eng09-192.pool.dircon.co.uk (HELO typhoon.dircon.co.uk) (zcaceog@194.112.56.192) by claymore.vcinet.com with SMTP; 23 Jun 1998 16:29:54 -0000 Original-Received: (from zcaceog@localhost) by typhoon.dircon.co.uk (8.8.7/8.8.7) id RAA19406; Tue, 23 Jun 1998 17:28:10 +0100 Original-To: Justin Sheehy In-Reply-To: Justin Sheehy's message of "23 Jun 1998 11:16:41 -0400" Original-Lines: 38 X-Mailer: Gnus v5.6.10/XEmacs 20.4 - "Emerald" Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:15356 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:15356 Justin Sheehy writes: > Eze Ogwuma writes: > > > However rules of this format are ignored by nnmail-split-methods. Does > > anyone know why? > > I can think of a couple of possibilities. > > > ((concat mail.misc. (format-time-string > > "%Y-%m" (current-time))) "^To:.*typhoon*") > > You probably want double quotes around "mail.misc.", unless you have a > variable by that name and actually want its value. Sorry. I did try it with double quotes before sending the message (and about 100 other permutations of quotes and brackets. Nothing seems to work except for the plain (folder-name regexp) rules. > > (list (format-time-string "mail.misc-%m-%y") "^To:.*zcaceog*") > > This one looks okay on its own, but... > > You don't show exactly how you are setting nnmail-split-methods. The > typical way is by setq'ing it to a quoted list of lists. If that is > what you are doing, the quoting may be preventing the evaluation of > your rules. Below are the start and finish of my normal mail split rules. ;; Split mail into groups (setq nnmail-split-methods '(("redhat.digests.v97.p2" "^From: redhat-digest-request@redhat.com") ... ("spam" ""))) -- Eze Ogwuma