Gnus development mailing list
 help / color / mirror / Atom feed
* Looking for special headers in gnus-user-format-function-X?
@ 2001-07-09 22:47 Lloyd Zusman
  2001-07-09 23:46 ` Simon Josefsson
  0 siblings, 1 reply; 3+ messages in thread
From: Lloyd Zusman @ 2001-07-09 22:47 UTC (permalink / raw)


I know how to use `gnus-user-format-function-X' to do special
processing when %uX appears in `gnus-summary-line-format'.  But now, I
want to do something that seems to go beyond its capabilities:

I want my summary line to consist of the contents of a special message
header if it exists (for example, "X-Special:"), or simply the "From:"
header if that special header isn't present.  The `header' argument
which is passed to `gnus-user-format-function-X' doesn't contain info
about extra headers, so I'm not sure how I could use that function to
search for an "X-Special:" header.

Any ideas?

Thanks in advance.

-- 
 Lloyd Zusman
 ljz@asfast.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Looking for special headers in gnus-user-format-function-X?
  2001-07-09 22:47 Looking for special headers in gnus-user-format-function-X? Lloyd Zusman
@ 2001-07-09 23:46 ` Simon Josefsson
  2001-07-10  1:37   ` Lloyd Zusman
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Josefsson @ 2001-07-09 23:46 UTC (permalink / raw)
  Cc: ding

Lloyd Zusman <ljz@asfast.com> writes:

> I want my summary line to consist of the contents of a special message
> header if it exists (for example, "X-Special:"), or simply the "From:"
> header if that special header isn't present.  The `header' argument
> which is passed to `gnus-user-format-function-X' doesn't contain info
> about extra headers, so I'm not sure how I could use that function to
> search for an "X-Special:" header.

Maybe you need to add `X-Special' to {gnus,nnmail}-extra-headers.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Looking for special headers in gnus-user-format-function-X?
  2001-07-09 23:46 ` Simon Josefsson
@ 2001-07-10  1:37   ` Lloyd Zusman
  0 siblings, 0 replies; 3+ messages in thread
From: Lloyd Zusman @ 2001-07-10  1:37 UTC (permalink / raw)


Simon Josefsson <jas@extundo.com> writes:

> Lloyd Zusman <ljz@asfast.com> writes:
> 
>> I want my summary line to consist of the contents of a special message
>> header if it exists (for example, "X-Special:"), or simply the "From:"
>> header if that special header isn't present.  [ ... ]
> 
> Maybe you need to add `X-Special' to {gnus,nnmail}-extra-headers.

Yep ... that did it!

Thank you very much.

-- 
 Lloyd Zusman
 ljz@asfast.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-10  1:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-09 22:47 Looking for special headers in gnus-user-format-function-X? Lloyd Zusman
2001-07-09 23:46 ` Simon Josefsson
2001-07-10  1:37   ` Lloyd Zusman

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).