Gnus development mailing list
 help / color / mirror / Atom feed
From: David Engster <deng@randomsample.de>
To: ding@gnus.org
Subject: Re: Usage of gnus mailing list mode
Date: Fri, 22 Aug 2008 13:58:30 +0200	[thread overview]
Message-ID: <kzk5e9mfbt.fsf@kafka.physik3.gwdg.de> (raw)
In-Reply-To: <87tzdduvy8.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Fri, 22 Aug 2008 13:32:15 +0200")

Tassilo Horn <tassilo@member.fsf.org> writes:
>>> AFAIK, that's what 'Mail-Followup-To' and 'Mail-Copies-To' headers
>>> are for (see mine). However, not many mail clients know them...
>>
>> Ah, nice.  I'll figure out how to add these headers to my own
>> messages, so that followups to me won't be duplicated.
>
> For the record, that's what I use now:
>
> (defun th-gnus-insert-special-ml-headers-maybe ()
>   (when (save-excursion
>           (set-buffer (gnus-summary-buffer-name gnus-newsgroup-name))
>           gnus-mailing-list-mode)
>     (message-add-header (concat "Mail-Followup-To: "
>                                 (gnus-group-get-parameter
>                                  gnus-newsgroup-name 'to-list))
>                         "Mail-Copies-To: never")))

That's the complicated version. ;-)

'Mail-Followup-To' can be generated by Gnus. You first must tell Gnus to
which mailing lists your are actually subscribed to, by setting the
"subscribed" group parameter (use 'G c' over the group and check
"Subscribed"). Then put

(setq message-subscribed-address-functions
      '(gnus-find-subscribed-addresses))

in your .gnus. This will set the variable 'message-subscribed-addresses'
(which you can also set directly, without using the group parameter).

Ah well, I'm not sure anymore that's less complicated, but this is what
the manual says. ;-) See:

(info "(message)Mailing Lists")

and the doc to 'subscribed' in

(info "(gnus)Group Parameters")

Regarding 'Mail-Copies-To': You can simply include it in your posting
styles, e.g. by putting

 (posting-style
  (Mail-Copies-To "never"))

in a group or topic. I'm not sure that's even needed when
mail-followup-to is set, but I include it anyway (many mail clients
ignore it, though).

Regards,
David



  reply	other threads:[~2008-08-22 11:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-21 14:55 Tassilo Horn
2008-08-22  9:28 ` David Engster
2008-08-22 10:45   ` Tassilo Horn
2008-08-22 11:32     ` Tassilo Horn
2008-08-22 11:58       ` David Engster [this message]
2008-08-22 13:40         ` Tassilo Horn
2008-08-22 13:59           ` David Engster
2008-08-29  4:52 ` Miles Bader
2008-08-29  7:12   ` Tassilo Horn
2008-08-31  3:32     ` Miles Bader
2008-09-01  7:06       ` Tassilo Horn

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=kzk5e9mfbt.fsf@kafka.physik3.gwdg.de \
    --to=deng@randomsample.de \
    --cc=ding@gnus.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).