From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58185 Path: main.gmane.org!not-for-mail From: David S Goldberg Newsgroups: gmane.emacs.gnus.general Subject: Re: Always copying a mailing list Date: Mon, 02 Aug 2004 09:29:10 -0400 Organization: I Yam What I Yam Sender: ding-owner@lists.math.uh.edu Message-ID: References: <86n01diut3.fsf@ketchup.de.uu.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1091454230 30517 80.91.224.253 (2 Aug 2004 13:43:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Aug 2004 13:43:50 +0000 (UTC) Original-X-From: ding-owner+M6726@lists.math.uh.edu Mon Aug 02 15:43:35 2004 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 1Brd6F-0003xm-00 for ; Mon, 02 Aug 2004 15:43:35 +0200 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 1Brd5L-0002Zz-00; Mon, 02 Aug 2004 08:42:39 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Brd5C-0002Zq-00 for ding@lists.math.uh.edu; Mon, 02 Aug 2004 08:42:30 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Brd5C-0001IY-71 for ding@lists.math.uh.edu; Mon, 02 Aug 2004 08:42:30 -0500 Original-Received: from smtp-mclean.mitre.org (smtp-mclean-x.mitre.org [192.80.55.71]) by justine.libertine.org (Postfix) with ESMTP id 3FD763A01FF for ; Mon, 2 Aug 2004 08:42:24 -0500 (CDT) Original-Received: from smtp-mclean.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-mclean.mitre.org (8.11.6/8.11.6) with ESMTP id i72DU0e02627 for ; Mon, 2 Aug 2004 09:30:00 -0400 Original-Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) by smtp-mclean.mitre.org (8.11.6/8.11.6) with ESMTP id i72DTQC01371 for ; Mon, 2 Aug 2004 09:29:26 -0400 Original-Received: from blackbird.mitre.org (129.83.3.57) by mailhub1.mitre.org with SMTP id 8671427; Mon, 02 Aug 2004 09:29:10 -0400 Original-To: The Gnus Mailing List X-Face: GUaHTH@nS>[7,ME@-gYZ4#Wl{z"99k@[[Y8AcP0x1paqu.,z9,XSV1WI>{q3f6^e5(zrit <4fV&VHhmE`uidRqtmG27;si9&r;#KSF~E#$%W8w(xdp)H4tW=\2XOk~3=@oGqqpj;m4xf Ow;y26396&,34@9#~4;@*S;E0cq"LM9N(us4P%F(Nxis'Vvfm9?KufH;:Q$dMa-QWGLR&K d0`LJZE8xb*>^yN>b]_NcU:E=Zn\1=#/(OS2 In-Reply-To: <86n01diut3.fsf@ketchup.de.uu.net> (Kai Grossjohann's message of "Mon, 02 Aug 2004 14:33:12 +0200") User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Portable Code, cygwin32) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58185 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58185 >>>>> On Mon, 02 Aug 2004 14:33:12 +0200, Kai Grossjohann said: > I can set mail-self-blind to get "Bcc: kais.address" in outgoing > messages. But I have a special group where I'd rather like to have > "Cc: some.mailinglist". > I've tried to frob the posting style for the group, saying (("Gcc" . > nil) ("Cc" . "some.mailinglist")). But this does not work as I like, > because it also removes other recipients that I would like to keep. > The behavior I'm looking for is: After I've hit R or F (or S W or S > V), add the following address to the list of recipients if not yet > present. > How to do that? I don't have a complete answer, but this might help. I have had difficulty getting mml-secure-message-encrypt-smime to work with multiple addresses. However mml-secure-encrypt-smime works because it prompts for each address and certificate file. Going through the prompts is tiresome and occasionally error prone. However the function that does the prompting is akin to a hook and so can be replaced. I did so with one that parses the headers into a list of bare addresses (I use the address with .pem tagged as the name of the certificate file). The piece that creates this list could, I think, be used in a posting style that tests the value of gnus-article-reply and if t, creates the list, searches for the mailing-list address and adds it if it isn't already there. To build the list of addresses I did the following: (mapcar 'cadr (mail-extract-address-components (concat (message-fetch-field "to") "," (message-fetch-field "cc")) t)) I hope that is helpful. -- Dave Goldberg david.goldberg6@verizon.net