From: Harry Putnam <reader@newsguy.com>
Subject: Once again on extra headers
Date: 21 Mar 2001 20:00:47 -0800 [thread overview]
Message-ID: <m3bsqucvgy.fsf@gnus.cvs.983032537> (raw)
I've used the cool extra header code for sometime to generate NOV and
display a "Keywords: " header like this:
(setq gnus-extra-headers
'(To Newsgroups Keywords))
(setq nnmail-extra-headers gnus-extra-headers)
Now I want to use this same technique to generate NOV and display a
custom header `X-HP-Keywords: '.
Using the same code:
(setq gnus-extra-headers
'(To Newsgroups X-HP-Keywords))
(setq nnmail-extra-headers gnus-extra-headers)
And regenerating NOV in that group isn't doing what I expected. No
X-HP-Keyword header is displayed. It isn't clear in the manual
section that covers this if this only works with certain headers or if
one can make it work on a custom header too.
There is language there that says:
2. The value of these extra headers can be accessed via the
`gnus-extra-header' function. Here's a format line spec that will
access the `X-Newsreader' header:
"%~(form (gnus-extra-header 'X-Newsreader))@"
But I haven't had to do that for the `Keywords' to work. Is it my
non-regulation header causing the problem or something else.
next reply other threads:[~2001-03-22 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-22 4:00 Harry Putnam [this message]
2001-03-22 9:11 ` Kai Großjohann
2001-03-22 14:55 ` Harry Putnam
2001-03-22 12:28 ` Karl Kleinpaste
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=m3bsqucvgy.fsf@gnus.cvs.983032537 \
--to=reader@newsguy.com \
/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).