From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/26414 Path: main.gmane.org!not-for-mail From: Arcady Genkin Newsgroups: gmane.emacs.gnus.general Subject: Sensible nnmail-split-fancy filters Date: 08 Nov 1999 14:13:20 -0500 Organization: Wgaf Sender: owner-ding@hpc.uh.edu Message-ID: <871za0vltb.fsf@main.wgaf.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035163628 19274 80.91.224.250 (21 Oct 2002 01:27:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:27:08 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA04940 for ; Mon, 8 Nov 1999 14:13:45 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAB07817; Mon, 8 Nov 1999 13:13:44 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 08 Nov 1999 13:14:03 -0600 (CST) 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 NAA15205 for ; Mon, 8 Nov 1999 13:13:53 -0600 (CST) Original-Received: from mail.rdc3.on.home.com (ha1.rdc3.on.home.com [24.2.9.68]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA04930 for ; Mon, 8 Nov 1999 14:13:22 -0500 (EST) Original-Received: from main.wgaf.net ([24.114.152.71]) by mail.rdc3.on.home.com (InterMail v4.01.01.02 201-229-111-106) with ESMTP id <19991108191128.FDPB12070.mail.rdc3.on.home.com@main.wgaf.net> for ; Mon, 8 Nov 1999 11:11:28 -0800 Original-Received: from antipode by main.wgaf.net with local (Exim 2.05 #1 (Debian)) id 11kuEC-0000SX-00; Mon, 8 Nov 1999 14:13:20 -0500 Original-To: ding@gnus.org Original-Lines: 37 User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) XEmacs/21.1 (Biscayne) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:26414 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:26414 Hi all: A concern with my setup of nnmail-split-fancy stuff. I would like a mail, which is coming as a response from a mailing list, go into the mailing list folder. However, most people use a mailreader with lesser intelligence than gnus, and send follow-ups cc-ed to the author(s) as well. And so it starts in the beginning of a thread, and that "cc" list grows almost indefinitely. The problem, the way I understand it, is that when a person replies within a mailing list with "Reply to all", I get two copies of the message. Then gnus deletes one of them, because they are duplicates, and keeps the first one to arrive. Which in most cases would be the one sent to me directly. To avoid that, I use something like this: ,----- | ("delivered-to\\|cc" "freebsd-questions" "mail.FreeBSD-Questions") | (any "owner-rhua@FootPrints.net" "mail.RHUA") | ;; *lots* of other stuff, and in the end: | (to "\\(genkin\\|agenkin\\)@\\(sympatico\\|utoronto\\|home\\|canada\\)\\.c\\(a\\|om\\)" | "mail.Private") `----- I believe such usage is not awfully efficient, and often I have to wait longer than I would like to for the mail to be sorted. Also, the first kind of setup works only in some cases (i.e. won't work if mailing lists's address would be in To: header. And "any" seems the least efficient. So, are there any tricks you guys use? Just wondering... Also, is there a nice tutorial for emacs's regexp's? -- Arcady Genkin http://wgaf.dyndns.org "'What good is my pity? Is not the pity the cross upon which he who loves man is nailed?..'" (Zarathustra - F. Nietzsche)