From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12482 Path: main.gmane.org!not-for-mail From: Norman Walsh Newsgroups: gmane.emacs.gnus.general Subject: (make-regexp...) in an alist Date: Fri, 3 Oct 1997 17:15:54 -0400 Message-ID: <2655-Fri03Oct1997171554-0400-norm@berkshire.net> Reply-To: norm@berkshire.net NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by SEMI MIME-Edit 0.88 "Tsurugi") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035152010 4012 80.91.224.250 (20 Oct 2002 22:13:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:13:30 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.7/8.8.7) with ESMTP id PAA12326 for ; Fri, 3 Oct 1997 15:22:39 -0700 Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with SMTP id RAA11250 for ; Fri, 3 Oct 1997 17:15:45 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Fri, 3 Oct 1997 23:16:05 +0200 Original-Received: (qmail 30686 invoked by uid 504); 3 Oct 1997 21:16:04 -0000 Original-Received: (qmail 30683 invoked from network); 3 Oct 1997 21:16:03 -0000 Original-Received: from loomis.berkshire.net (root@206.72.196.14) by claymore.vcinet.com with SMTP; 3 Oct 1997 21:16:02 -0000 Original-Received: from mergalang.berkshire.net (norm2.berkshire.net [206.72.196.74]) by loomis.berkshire.net (8.8.5/8.7.1) with SMTP id RAA02140 for ; Fri, 3 Oct 1997 17:18:24 -0400 (EDT) Original-To: ding@gnus.org X-Emacs: 19.34 Original-Lines: 31 X-Mailer: Gnus v5.4.66/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:12482 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12482 Hello World, I'm converting over to nnmail-split-methods from my old home-grown perl+procmail splitting system. (Hey, gnus does everything else, why deprive it of this one pleasure ;-) So I started building the nnmail-split-methods alist and discovered that there are some parts I just don't want to build by hand. Then I found (make-regexp) and was happy again. But now the question is, how do I build the nnmail-split-methods alist with the _value_ of (make-regexp) in it? I'm looking for something to replace this sort of thing (which is clearly wrong): (setq nnmail-split-methods '(("letterpress" "Sender:.*letpress@") ("minolta" "To:.*minolta-l") ("emacs.ding" "To:.*ding@") ("spam" (make-regexp '("From:.*@savetrees.com" "From:.*@ispam.net" "From:.*@earthlink.net" ...etc. add nauseum here "Subject:.*are you being investigated"))) ("dssslist" "To:.*dssslist"))) Sorry this is only a quasi-gnus question, I'm just hoping for the kindness of elisp wizards ;-) --norm