[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: message-default-headers
From: |
Glyn Millington |
Subject: |
Re: message-default-headers |
Date: |
Thu, 29 Sep 2005 03:30:14 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, linux) |
Jerry Sievers <jerry@jerrysievers.com> writes:
> Hello;
>
> I am trying to get a few custom headers into mail message buffers from
> Gnus and thought I could set the message-default-headers variable in
> the group parameters to make it work.
>
> ((total-expire . t)
> (message-default-headers "Test-Header: foo"))
>
> Doesn't work though.
>
> Tried making the message-default-headers variable buffer local and
> also tried setting message-generate-headers-first to 't' to no avail.
NB I am NOT an expert!!
Group parameters are dotted pairs, so should it be
(message-default-headers . "Test-Header: foo") ??
However, in the manual "message-default-headers" is not listed as an
acceptable group parameter. So maybe you could do it via the
posting-style parameter which IS listed
>From manual section 2.10
,----
| posting-style
|
| You can store additional posting style information for this group here
| (see section 5.5 Posting Styles). The format is that of an entry in
| the gnus-posting-styles alist, except that there's no regexp matching
| the group name (of course). Style elements in this group parameter
| will take precedence over the ones found in gnus-posting-styles.
|
| For instance, if you want a funky name and signature in this group
| only, instead of hacking gnus-posting-styles, you could put something
| like this in the group parameters:
|
|
|
| (posting-style
| (name "Funky Name")
| ("X-My-Header" "Funky Value")
| (signature "Funky Signature"))
`----
Funky, eh?
hth
Glyn