From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39725 Path: main.gmane.org!not-for-mail From: "Matt Armstrong" Newsgroups: gmane.emacs.gnus.general Subject: Re: new Mail-Followup-To patch...please take a look... Date: Mon, 29 Oct 2001 14:58:20 -0700 (MST) Sender: owner-ding@hpc.uh.edu Message-ID: <20011029215820.E0123BD4D@squeaker.lickey.com> References: <87wv1m9y6j.fsf@mclinux.com> <87bsixhk7t.fsf@mclinux.com> <877ktj1rq3.fsf@mclinux.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175391 29504 80.91.224.250 (21 Oct 2002 04:43:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:43:11 +0000 (UTC) Return-Path: Original-Received: (qmail 18744 invoked from network); 29 Oct 2001 21:59:39 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 29 Oct 2001 21:59:39 -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 15yKQx-00014L-00; Mon, 29 Oct 2001 15:59:03 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 29 Oct 2001 15:58:41 -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 PAA04311 for ; Mon, 29 Oct 2001 15:58:22 -0600 (CST) Original-Received: (qmail 18728 invoked by alias); 29 Oct 2001 21:58:37 -0000 Original-Received: (qmail 18723 invoked from network); 29 Oct 2001 21:58:37 -0000 Original-Received: from hank.lickey.com (64.81.100.235) by gnus.org with SMTP; 29 Oct 2001 21:58:37 -0000 Original-Received: from squeaker.lickey.com (squeaker.lickey.com [192.168.100.10]) by hank.lickey.com (Postfix) with ESMTP id D03B3EE30 for ; Mon, 29 Oct 2001 14:58:22 -0700 (MST) Original-Received: from localhost (localhost [127.0.0.1]) by squeaker.lickey.com (Postfix) with ESMTP id AA8AABD4F for ; Mon, 29 Oct 2001 14:58:21 -0700 (MST) Original-Received: by squeaker.lickey.com (Postfix, from userid 1000) id E0123BD4D; Mon, 29 Oct 2001 14:58:20 -0700 (MST) Original-To: ding@gnus.org In-Reply-To: <877ktj1rq3.fsf@mclinux.com> (Josh Huber's message of "Thu, 25 Oct 2001 14:48:04 -0400") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu) Mail-Followup-To: ding@gnus.org Original-Lines: 36 X-Delivery-Agent: TMDA v0.39/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:39725 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39725 Josh Huber writes: > Here's my current version. > > > + > +(defun message-make-mft () > + "Return the Mail-Followup-To header." > + (let* ((msg-recipients (message-options-get 'message-recipients)) > + (recipients > + (mapcar 'mail-strip-quoted-names > + (message-tokenize-header msg-recipients))) > Hey Josh, I've applied this patch -- really cool. Assuming this message gets a correct MFT header, I can say it works for me. Anyway, I was reading http://cr.yp.to/proto/replyto.html and in particular, this portion: You may want to warn the user when he views a message where he's not included in Mail-Followup-To. This usually indicates that the user has subscribed to a mailing list shown in Mail-Followup-To, but hasn't told you about that mailing list. Or it may indicate that someone is redirecting the discussion. To implement this, we'd need a function that takes a list of recipients and returns the list of addresses in the default MFT. message-make-mft is almost there. How about a message-calculate-mft function that takes a list of addresses and returns another list. Then message-make-mft simply calls it with the result of (message-options-get 'message-recipients). -- matt