From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30635 Path: main.gmane.org!not-for-mail From: dsg@mitre.org (David S. Goldberg) Newsgroups: gmane.emacs.gnus.general Subject: Re: sensible posting-styles Date: 03 May 2000 15:00:34 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87aei7mqju.fsf@tea.thpoon.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035167143 9524 80.91.224.250 (21 Oct 2002 02:25:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:25:43 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 2938FD0523 for ; Wed, 3 May 2000 15:02:54 -0400 (EDT) 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 OAB10392; Wed, 3 May 2000 14:02:52 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 03 May 2000 14:02:04 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA12171 for ; Wed, 3 May 2000 14:01:50 -0500 (CDT) Original-Received: from smtpproxy1.mitre.org (mbunix.mitre.org [129.83.20.100]) by mailhost.sclp.com (Postfix) with ESMTP id ECC0ED0523 for ; Wed, 3 May 2000 15:00:42 -0400 (EDT) Original-Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.9.3/8.9.3) with ESMTP id PAA05232 for ; Wed, 3 May 2000 15:00:36 -0400 (EDT) Original-Received: from linus.mitre.org (linus.mitre.org [129.83.10.1]) by smtpsrv1.mitre.org (8.9.3/8.9.3) with ESMTP id PAA22878 for ; Wed, 3 May 2000 15:00:03 -0400 (EDT) Original-Received: from blackbird.mitre.org (blackbird.mitre.org [129.83.10.221]) by linus.mitre.org (8.9.3/8.9.3) with ESMTP id PAA00431 for ; Wed, 3 May 2000 15:00:35 -0400 (EDT) Original-Received: (from dsg@localhost) by blackbird.mitre.org (8.9.3/8.9.3) id PAA04017; Wed, 3 May 2000 15:00:34 -0400 (EDT) X-Authentication-Warning: blackbird.mitre.org: dsg set sender to dsg@mitre.org using -f Mail-Copies-To: never 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: Arcady Genkin's message of "03 May 2000 14:33:57 -0400" Original-Lines: 25 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Biscayne) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30635 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30635 I have done something like what you want, but I'm not certain it works right 100% of the time. It does seem to work right for most things. It's not done with posting styles but rather message-header-setup-hook. I seem to recall trying with posting styles but not being able to get it to work. I don't recall why. (defun my-message-header-setup-hook () (let ((group (or gnus-newsgroup-name ""))) (when (or (message-news-p) (and (message-mail-p) (string-match "wide reply" (buffer-name)) (or (message-fetch-field "newsgroups") (gnus-group-find-parameter group 'to-address))) (and (message-mail-p) (string-match "mail to" (buffer-name)) (gnus-group-find-parameter group 'to-list))) (message-add-header "Mail-Copies-To: never")))) (add-hook 'message-header-setup-hook 'my-message-header-setup-hook) hth, -- Dave Goldberg Post: The Mitre Corporation\MS K207\202 Burlington Rd.\Bedford, MA 01730 Phone: 781-271-3887 Email: dsg@mitre.org