Gnus development mailing list
 help / color / mirror / Atom feed
From: Steven L Baur <steve@xemacs.org>
Subject: Re: X-No-Archive
Date: 18 May 1997 11:19:08 -0700	[thread overview]
Message-ID: <m2afls7ieb.fsf@altair.xemacs.org> (raw)
In-Reply-To: Samuel Tardieu's message of 18 May 1997 18:48:42 +0200

Samuel Tardieu <sam@inf.enst.fr> writes:

> Lars, could it be possible to add a binding to the message mode to
> automatically insert a X-No-Archive: header into a post or a mail[1]?

How about adding it to `message-default-headers'?

(setq message-default-headers "X-No-Archive: yes\n")

Another possibility is adding something to message-header-setup-hook.
With some help from Lars, my hook looks like this: (to put in a
`Mail-Copies-To: never' only when posting to a mailing list or newsgroup)

(defun steves-message-header-setup-hook ()
  (let ((group (or gnus-newsgroup-name "")))
    (when (or (message-fetch-field "newsgroups")
              (gnus-group-find-parameter group 'to-address)
              (gnus-group-find-parameter group 'to-list))
      (insert "Mail-Copies-To: never\n"))))

> This convention is being used by many archiving software to prevent
> automatic archiving.

The only 100% reliable way not to be archived somewhere is to not
post.  This is either a good thing or a bad thing, I haven't decided
yet.
-- 
steve@calag.com baur
Unsolicited commercial e-mail will be billed at $250/message.


  parent reply	other threads:[~1997-05-18 18:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-18 16:48 X-No-Archive Samuel Tardieu
1997-05-18 17:30 ` X-No-Archive Hrvoje Niksic
1997-05-18 18:19 ` Steven L Baur [this message]
1997-05-18 18:24   ` X-No-Archive Samuel Tardieu
1997-05-18 20:44     ` X-No-Archive Steven L Baur
1997-05-18 19:38   ` X-No-Archive Hrvoje Niksic

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=m2afls7ieb.fsf@altair.xemacs.org \
    --to=steve@xemacs.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).