Re: packaging HTML, CGIs, etc.
Jimmy Kaplowitz <jimmy@debian.org> writes:
> There is probably a standard and not-too-difficult way to
> selectively add the Mail-Followup-To: header to such a configurable
> system as any incarnation of Emacs. I wish I could provide a way,
> but I can't.
I mailed this privately to Tollef, but since it might be generally
useful for other Gnusers:
If you've set up your `to-address' group parameter in Gnus for each
mailing list (so 'F' does the right thing), then adding the following
code to one's `gnus-posting-styles' will make it automatically insert
that address as the Mail-Followup-To.
((and (message-mail-p) (stringp gnus-newsgroup-name))
("Mail-Followup-To" (gnus-group-get-parameter gnus-newsgroup-name 'to-address)))
Just as an example, here's my full `gnus-posting-styles':
(setq gnus-posting-styles
'((".*"
("User-Agent" (if (= 0 (random 10))
(format "Microsoft Gnus Express, Build %s (%s)"
(gnus-continuum-version (gnus-version))
gnus-version-number)
(concat (gnus-extended-version) " (" system-configuration ")")))
(organization "The Ohio State University Dept. of Computer and Info. Science"))
((and (message-mail-p) (stringp gnus-newsgroup-name))
("Mail-Followup-To" (gnus-group-get-parameter gnus-newsgroup-name 'to-address)))
((message-news-p)
(address "walters+n@cis.ohio-state.edu")
("Mail-Copies-To" "never"))
("^gnu\\|emacs"
(organization "Church of Emacs, Missionary Dept."))
("gnu\\.emacs\\.bug"
("Mail-Copies-To" nil))))
Posting styles rock :)
Reply to:
- References:
- Re: packaging HTML, CGIs, etc.
- From: Britton <fsblk@aurora.uaf.edu>
- Re: packaging HTML, CGIs, etc.
- From: Tollef Fog Heen <tollef@add.no>
- Re: packaging HTML, CGIs, etc.
- From: Jimmy Kaplowitz <jimmy@debian.org>
- Re: packaging HTML, CGIs, etc.
- From: Tollef Fog Heen <tollef@add.no>
- Re: packaging HTML, CGIs, etc.
- From: Jimmy Kaplowitz <jimmy@debian.org>