* How to access headers in article?
@ 2002-12-05 18:04 Jan Egil Hagen
2002-12-05 18:26 ` Reiner Steib
0 siblings, 1 reply; 2+ messages in thread
From: Jan Egil Hagen @ 2002-12-05 18:04 UTC (permalink / raw)
I am writing a hook for gnus-article-mode and am a bit stumped as to
what is The Right Way (TM) to access the headers of the current
article. I could use regular expressions, but it seems so obvious
that there must be a better way. So far I have only found the
variable gnus-newsgroup-name.
--
World works; done by its invalids
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to access headers in article?
2002-12-05 18:04 How to access headers in article? Jan Egil Hagen
@ 2002-12-05 18:26 ` Reiner Steib
0 siblings, 0 replies; 2+ messages in thread
From: Reiner Steib @ 2002-12-05 18:26 UTC (permalink / raw)
On Thu, Dec 05 2002, Jan Egil Hagen wrote:
> I am writing a hook for gnus-article-mode and am a bit stumped as to
> what is The Right Way (TM) to access the headers of the current
> article.
,----[ C-h f gnus-fetch-field RET ]
| gnus-fetch-field is a compiled Lisp function in `gnus-util'.
| (gnus-fetch-field FIELD)
|
| Return the value of the header FIELD of current article.
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-05 18:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-05 18:04 How to access headers in article? Jan Egil Hagen
2002-12-05 18:26 ` Reiner Steib
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).