From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40165 Path: main.gmane.org!not-for-mail From: "Matt Armstrong" Newsgroups: gmane.emacs.gnus.general Subject: Re: Mailing list and Gcc header in nnimap groups Date: Fri, 09 Nov 2001 12:16:48 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <878zdf69gf.fsf@squeaker.lickey.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175756 31801 80.91.224.250 (21 Oct 2002 04:49:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:49:16 +0000 (UTC) Return-Path: Original-Received: (qmail 14528 invoked from network); 9 Nov 2001 19:17:42 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 9 Nov 2001 19:17:42 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 162H9O-0004Fq-00; Fri, 09 Nov 2001 13:17:14 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 09 Nov 2001 13:16:56 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA05860 for ; Fri, 9 Nov 2001 13:16:42 -0600 (CST) Original-Received: (qmail 14502 invoked by alias); 9 Nov 2001 19:16:52 -0000 Original-Received: (qmail 14497 invoked from network); 9 Nov 2001 19:16:52 -0000 Original-Received: from hank.lickey.com (foobar@64.81.100.235) by gnus.org with SMTP; 9 Nov 2001 19:16:52 -0000 Original-Received: from squeaker.lickey.com (squeaker.lickey.com [192.168.100.10]) by hank.lickey.com (Postfix) with ESMTP id 52837EDA7 for ; Fri, 9 Nov 2001 12:16:51 -0700 (MST) Original-Received: from localhost (localhost [127.0.0.1]) by squeaker.lickey.com (Postfix) with ESMTP id EE24CBD38 for ; Fri, 9 Nov 2001 12:16:50 -0700 (MST) Original-Received: by squeaker.lickey.com (Postfix, from userid 1000) id 3A5C0BD28; Fri, 9 Nov 2001 12:16:50 -0700 (MST) Mail-Copies-To: never Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org In-Reply-To: (prj@po.cwru.edu's message of "Fri, 09 Nov 2001 12:52:25 -0500") Original-Lines: 40 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu) X-Delivery-Agent: TMDA v0.41/Python 1.5.2 (linux2) X-Virus-Scanned: by AMaViS snapshot-20010714 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40165 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40165 prj@po.cwru.edu (Paul Jarc) writes: > Ted Zlatanov wrote: >> What about comparing Message-ID headers of incoming messages to >> existing messages, similar to the way nnmail-split-fancy-with-parent >> works? > > Do you mean duplicate suppression? (See the manual node of that > name.) > >> I don't mind duplicate messages so much if they end up in the >> same folder, but I don't want to have to set up mailing lists for >> everything. Especially since I don't necessarily group messages by >> mailing list. For instance, my "ding" folder contains messages >> forwarded from the newsgroup, mailing list messages, and personal >> discussions about bugs. So for me, the "mailing list == folder" >> assumption doesn't work too well. > > Well, Kai's previous suggestion of using the MFT stuff should work > then. Have a hook function called during sending that checks for > subscribed list addresses in To+Cc, and set Gcc accordingly. Is there > any send-time hook that gets called before Gcc is processed? > > Maybe the checking of addresses could be done only once, and then a > buffer-local variable could be set to record the result. > > For Gcc, it'd be nice to also check Bcc for subscribed addresses. > But MFT should not look at Bcc. So maybe they shouldn't be combined > much after all. I know from tracing through it that the Gcc: header is gone by the time message.el sees it -- which makes some sense since message.el wouldn't know what to do with it. The MFT code could be re-factored such that it is easier for Gnus to use it for this purpose though. -- matt