Gnus development mailing list
 help / color / mirror / Atom feed
* nnir summary line formatting
@ 2010-12-02 15:14 Andrew Cohen
  2010-12-02 15:25 ` Tassilo Horn
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Andrew Cohen @ 2010-12-02 15:14 UTC (permalink / raw)
  To: ding

When using nnir for search results there are nnir-specific bits of
information that are of potential interest: the retrieval score (RSV) of the
article (some search engines, such as gmane, report a  match "score";
others, such as imap, just give all results an arbitrary score of
"100"); and the original group the article belongs to. 

Historically (which means "up till now") nnir has done this by mangling
the subject header of each article to incorporate this info; then when
the article subject is displayed in the summary buffer the info shows
up. This is bad for a couple of reasons: some things, notably the
registry, care about the original subject so the mangling has to be
accounted for; and it should really be up to the user what information
is displayed in summary-buffer lines (with a sensible default).

A (mostly) straightforward way to handle this is to use the
gnus-summary-line-format. I would like to add a couple of specs to
gnus-summary-line-format-alist to do this (tentatively %Z for the RSV
and %G for the full group name and %g for the short name). I'd then
introduce nnir-summary-line-format which is used locally in nnir summary
buffers rather than gnus-summary-line-format (set through a hook).

Does this sound OK?






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

end of thread, other threads:[~2010-12-03 14:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-02 15:14 nnir summary line formatting Andrew Cohen
2010-12-02 15:25 ` Tassilo Horn
2010-12-02 15:28 ` Julien Danjou
2010-12-02 20:08 ` Andrew Cohen
2010-12-03  3:54 ` Katsumi Yamaoka
2010-12-03  4:13   ` Andrew Cohen
2010-12-03 13:37   ` Andrew Cohen
2010-12-03 14:06     ` Katsumi Yamaoka
2010-12-03 14:32       ` Andrew Cohen

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