From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44156 Path: main.gmane.org!not-for-mail From: Josh Huber Newsgroups: gmane.emacs.gnus.general Subject: Re: Handling mailing lists Date: Thu, 04 Apr 2002 10:06:21 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <87hemrjyfm.fsf@alum.wpi.edu> References: <20020404113907.A12214@fr.thalesgroup.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1017932778 20890 127.0.0.1 (4 Apr 2002 15:06:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 4 Apr 2002 15:06:18 +0000 (UTC) Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16t8ob-0005Qp-00 for ; Thu, 04 Apr 2002 17:06:18 +0200 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 16t8o0-0004jH-00; Thu, 04 Apr 2002 09:05:40 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 04 Apr 2002 09:05:48 -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 JAA14406 for ; Thu, 4 Apr 2002 09:05:35 -0600 (CST) Original-Received: (qmail 12275 invoked by alias); 4 Apr 2002 15:05:23 -0000 Original-Received: (qmail 12270 invoked from network); 4 Apr 2002 15:05:23 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 4 Apr 2002 15:05:23 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 16t90L-0002V7-00 for ; Thu, 04 Apr 2002 17:18:25 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 43 Original-NNTP-Posting-Host: 208.51.139.16 Original-X-Trace: quimby.gnus.org 1017933505 9616 208.51.139.16 (4 Apr 2002 15:18:25 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 4 Apr 2002 15:18:25 GMT X-PGP-KeyID: 6B21489A X-Face: C%mBb*K1^od)w'=CH$WEZu/M^aR<,.n|1uAe,;MyNLKoel>F;-j[`L!>m:Y%/R}m&4&xuIM R%7Ez?vbd*Ns>VE;{\(yl|mGByV{D:Dm>'52].@P&t_s^,.d writes: > However I've seen in other MUA more practical ways of implementing > this: a list contains all mailing list addresses you subscribed to > and whenever you reply to a mail, the MUA try to find one of these > addresses within To: or Cc: and if so, it fills the To: field of > your reply with the mailing list address. Well, it's almost there. The code for handling the Mail-Followup-To header builds a list of addresses to check to subscription. There are a few different ways to do this right now. This is how I use the MFT generation code: (setq gnus-parameters '(("^mail\\.lists\\." (subscribed . t)))) (setq message-subscribed-address-functions '(gnus-find-subscribed-addresses)) gnus-find-subscribed-addresses makes a list of to-address and to-list addresses from all groups which are (subscribed . t). There is also message-subscribed-addresses: (setq message-subscribed-addresses '("list1@foo.com" "list2@foo.com" ...)) oh, and don't forget message-subscribe-regexps and message-subscribed-address-file... (phew!) Now, just make some function which consults these variables and call it gnus-list-reply? Of course, there is supposed to be some separation between gnus and message.el, so doing this "properly" might be tricky... ;) ttyl, -- Josh Huber