Gnus development mailing list
 help / color / mirror / Atom feed
From: jidanni@jidanni.org
To: ding@gnus.org
Subject: gnus-summary-sort-by-X-Spam-Status
Date: Wed, 05 Sep 2007 08:01:01 +0800	[thread overview]
Message-ID: <87fy1ux9oi.fsf@jidanni.org> (raw)

Gentlemen, I see there is no gnus-summary-sort-by-my-favorite-header
capability. I want to sort by "X-Spam-Status: Yes, score=23.3" lines.
Indeed, I need to also be sure that it does a numeric sort, so I don't
have to rewrite 2.0 to 002.0.

Looking at gnus-sum.el it seems this would be a very big effort, and
I'm better running the messages thru a filter that would put their
score (int(score*10)) into a faked existing field, so e.g.,
     Sort by lines (`gnus-summary-sort-by-lines') or
     Sort by article number (`gnus-summary-sort-by-number').
can sort by it.
I.e., score=23.3 becomes Lines: 233, etc.

I shan't tamper with gnus-summary-sort-by-score though, as that is a
whole different ball game.



             reply	other threads:[~2007-09-05  0:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-05  0:01 jidanni [this message]
2007-09-05 10:43 ` gnus-summary-sort-by-X-Spam-Status Adam Sjøgren

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=87fy1ux9oi.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --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).