From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5774 Path: news.gmane.org!not-for-mail From: Glyn Millington Newsgroups: gmane.emacs.gnus.user Subject: Re: message-default-headers Date: Thu, 29 Sep 2005 03:30:14 +0100 Organization: Utterly lacking Message-ID: <87k6h04nd5.fsf@nowhere.org> References: Reply-To: wistanswick@linuxmail.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: sea.gmane.org 1138671439 28801 80.91.229.2 (31 Jan 2006 01:37:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:37:19 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:35:48 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-X-Trace: individual.net ysoTkBC6/XXGDKec4X0BEQzlck49914gbq9gevx98Lo6VG5o/p X-Orig-Path: glynthebearded.millingtons.org!news X-Now-Playing: There's a deathly hush in the close tonight! X-Liturgical-Date: Feast: Saints Michael, Gabriel, and Raphael, archangels, A.D. 2005 User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEWJlr7+//r+//0wSZhE XKU0TqEXHD/7/PcxTKE6U6M6lCH8AAACV0lEQVQ4jWWUQaubQBDHF7JVcktyyTVKwauglfQmuMl7 3rOQ3ARl3tXkBaS3QiOYWyHm8fy2nZlVm7SDoMzP/8zO7M4KdzRn7j6YGD4qoZQS1b/AE2lH1tqn ZyDReT90Xdq9nB5BiW6t9YFE9oITMpilnd43zZ5Ja48KT3ZaN01Ta87jnwbFLKX/CTBJKBgDeSf3 Dpfb4dOl/tFx5whWG/q/xTpiIXDZ6mbPHQJnir+TAdktTFkyR+BNKbwKjBFoAwYrElySIMQ4SRBM MT3GQnCmDL8hl3fdSgMS/7gU7hcCCrJP4lFOIPUrVLzSWicQ8pItBm1gz4XHtVkG1HG8obZECFbk aBIoUnq36Z2K/3ipeqAAYoll9x2+ZZX4yuBnBAChEuo+gh+c4yqBLZTdAN4ZYEsM8XmLb8UIml0s E4rHks0Irvem7lSMMsWKvAe1ij+butatBdkTuGxzboD+D0QwZbDtAeY49yDEtz5YUAxghm6FoFBY dWySq4+MW8IACqHEFri7DLx1cwkvW4CHAlX0huAVwXUABdenALvrTfaXsLZAJAB5bFqVgF0J9x0V TSw2rRKSy+7UFioE5XoX4i6Y42ksygisgp0vHk2m8FbhKfEmuyT4a3hQMcV8SUf0u3q2qKgYzAKc GeyHxocS3QDPLgFvsjZ7RSOFWx5hJAZumX/riRFkxx54Vl734IB+FLg8Hwu3jIIBoN8/ugagpIR8 3dR7rX8BZBXNswE4twBUBHXfzDkCh28SObSX7ozFqHDdZUmoEFV/Yzjj7eNg3+zqSJ8Uy/kDBdqA FrNaA9AAAAAASUVORK5CYII= Cancel-Lock: sha1:+17qpBGd1dOjNrvCndLdmpxTnlw= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:5916 Original-Lines: 62 X-Gnus-Article-Number: 5916 Tue Jan 17 17:35:48 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5774 Archived-At: Jerry Sievers 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