From: Andrew Cohen <cohen@andy.bu.edu>
To: ding@gnus.org
Subject: nnir summary line formatting
Date: Thu, 02 Dec 2010 10:14:41 -0500 [thread overview]
Message-ID: <87ipzc1a1q.fsf@andy.bu.edu> (raw)
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?
next reply other threads:[~2010-12-02 15:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-02 15:14 Andrew Cohen [this message]
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
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=87ipzc1a1q.fsf@andy.bu.edu \
--to=cohen@andy.bu.edu \
--cc=ding@gnus.org \
/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).