[Noffle-users] Re: reflecting X-NOFFLE-Status in gnus *Summary* buffer
Brought to you by:
bears
From: Dan J. <ji...@ji...> - 2004-09-09 22:37:18
|
The following message is a courtesy copy of an article that has been posted to gnu.emacs.gnus as well. Y> Y==Yair Friedman (ya...@Ma...) Y> If I understood you you want to change the summary according to the Y> presence/absence of X-NOFFLE-Status header. I did something similar for Y> Importance MS headers my boss uses :) Y> The basic steps for doing it are: Y> * adding X-NOFFLE-Status to nnmail-extra-headers Y> * defining gnus-user-format function that will search this header using Y> mail-header-extra and return mark needed. Y> * adding %u spec in gnus-summary-line-format. From what I could piece together from the Gnus manual, (setq gnus-extra-headers '(To Newsgroups X-NOFFLE-Status)) (setq gnus-summary-line-format (concat "%U%R%z%I%(%t|%~(cut-left 3)d%~(max-right 2)d%4L|%-20,20f%):%s" "%~(form(gnus-extra-header 'X-NOFFLE-Status))@\n")) (setq nnmail-extra-headers gnus-extra-headers) should have appended X-NOFFLE-Status to each summary line. But it doesn't. Yes X-NOFFLE-Status is in the articles. |