Gnus development mailing list
 help / color / mirror / Atom feed
From: dsg@mitre.org (David S. Goldberg)
Subject: Re: sensible posting-styles
Date: 03 May 2000 15:00:34 -0400	[thread overview]
Message-ID: <m1baei7mpbh.fsf@blackbird.mitre.org> (raw)
In-Reply-To: Arcady Genkin's message of "03 May 2000 14:33:57 -0400"

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



  reply	other threads:[~2000-05-03 19:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-03 18:33 Arcady Genkin
2000-05-03 19:00 ` David S. Goldberg [this message]
2000-05-03 19:12 ` Holger Sparr
2000-05-03 19:41   ` Arcady Genkin
2000-05-04  8:23     ` Holger Sparr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1baei7mpbh.fsf@blackbird.mitre.org \
    --to=dsg@mitre.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).