Gnus development mailing list
 help / color / mirror / Atom feed
From: Eze Ogwuma <typhoon@dircon.co.uk>
Cc: ding@gnus.org
Subject: Re: Splitting mail
Date: 23 Jun 1998 17:28:09 +0100	[thread overview]
Message-ID: <m3vhpsm6au.fsf@localhost.localdomain> (raw)
In-Reply-To: Justin Sheehy's message of "23 Jun 1998 11:16:41 -0400"

Justin Sheehy <justin@linus.mitre.org> writes:

> Eze Ogwuma <typhoon@dircon.co.uk> 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


  reply	other threads:[~1998-06-23 16:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-23  2:19 Eze Ogwuma
1998-06-23 15:16 ` Justin Sheehy
1998-06-23 16:28   ` Eze Ogwuma [this message]
1998-06-23 17:08     ` Simon Josefsson
1998-06-24  0:11       ` Eze Ogwuma
1999-01-28 13:30 splitting mail Randal L. Schwartz
1999-01-28 19:54 ` Lars Magne Ingebrigtsen
1999-01-28 22:58   ` Justin Sheehy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3vhpsm6au.fsf@localhost.localdomain \
    --to=typhoon@dircon.co.uk \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).