From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54527 Path: main.gmane.org!not-for-mail From: Jake Colman Newsgroups: gmane.emacs.gnus.general Subject: Re: Simplifying split-fancy rules Date: Wed, 29 Oct 2003 14:59:47 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: <76vfq7erws.fsf@newjersey.ppllc.com> References: <76brs0j8o9.fsf@newjersey.ppllc.com> <874qxromrq.fsf@everett.mit.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067457601 29965 80.91.224.253 (29 Oct 2003 20:00:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Oct 2003 20:00:01 +0000 (UTC) Original-X-From: ding-owner+M3068@lists.math.uh.edu Wed Oct 29 20:59:59 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEwU3-0000AA-00 for ; Wed, 29 Oct 2003 20:59:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AEwTw-0004MT-00; Wed, 29 Oct 2003 13:59:52 -0600 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AEwTs-0004MO-00 for ding@lists.math.uh.edu; Wed, 29 Oct 2003 13:59:48 -0600 Original-Received: from newjersey.ppllc.com (unknown [65.206.49.195]) by justine.libertine.org (Postfix) with ESMTP id 8AF263A004D for ; Wed, 29 Oct 2003 13:59:47 -0600 (CST) Original-Received: (from colman@localhost) by newjersey.ppllc.com (8.9.3/8.9.3) id OAA19539; Wed, 29 Oct 2003 14:59:47 -0500 (EST) X-Authentication-Warning: newjersey.ppllc.com: colman set sender to colman@ppllc.com using -f Original-To: ding@gnus.org In-Reply-To: <874qxromrq.fsf@everett.mit.edu> (David Z. Maze's message of "Wed, 29 Oct 2003 14:40:41 -0500") User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54527 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54527 >>>>> "DZM" == David Z Maze writes: DZM> Jake Colman writes: >> Can the following split-fancy expressions be combined in someway since they >> all end up in the same place? >> >> (any "ding@gnus.org" "INBOX/Emacs/ding") >> (any "ding@gnus.com" "INBOX/Emacs/ding") >> (any "ding@hpc.uh.edu" "INBOX/Emacs/ding") >> (any "ding@ifi.uio.no" "INBOX/Emacs/ding") DZM> You could use (regexp-opt '("ding@gnus.org" "ding@gnus.com" "ding@etc.")) DZM> to get a single regexp that matched all of those strings. That is pretty cool!. I guess I can run that once in *scratch* to examine the results and hard-code the answer in nnimap-split-fancy directly. Thanks! -- Jake Colman Principia Partners LLC Phone: (201) 209-2467 Harborside Financial Center Fax: (201) 946-0320 902 Plaza Two E-mail: colman@ppllc.com Jersey City, NJ 07311 www.principiapartners.com